This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 36915 - FileSets methods createFolderFileSet and toRootedEntry generate URLs and paths with %24
Summary: FileSets methods createFolderFileSet and toRootedEntry generate URLs and path...
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@projects
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-10-29 19:18 UTC by Nam Nguyen
Modified: 2004-04-19 16:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test case with inner class files. (1.09 KB, application/octet-stream)
2003-10-29 19:22 UTC, Nam Nguyen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nam Nguyen 2003-10-29 19:18:09 UTC
For inner class files having name with '$'
characters, the URLs and paths generated got them
turned into "%24".  I think that FileSet
functionality would dictate the default
preservation of '$' in the paths.
BTW, I use the default resolver and also notice
that  createFolderFileSet got NPE if resolver
paratemer is  null.  The javadoc says resolver
parameter could be null to signify the use of
default ReferenceResolver.
Comment 1 Nam Nguyen 2003-10-29 19:22:09 UTC
Created attachment 12008 [details]
Test case with inner class files.
Comment 2 Nam Nguyen 2003-10-29 19:44:16 UTC
To use the attachement test case, unzip it to directory "foo", mount
"foo", hilite TestFileSet.java, set executor property 'current
directory' to "foo".  Execute TestFileSet would generate output like
following:

nbfs://nbhost/C%3A%2Fapitests/fileset/Test.class:[Test.class]
nbfs://nbhost/C%3A%2Fapitests/fileset/Test.java:[Test.java]
nbfs://nbhost/C%3A%2Fapitests/fileset/TestFileSet%24Test1%24Test2.class:[TestFileSet%24Test1%24Test2.class]
nbfs://nbhost/C%3A%2Fapitests/fileset/TestFileSet%24Test1.class:[TestFileSet%24Test1.class]
nbfs://nbhost/C%3A%2Fapitests/fileset/TestFileSet.class:[TestFileSet.class]
nbfs://nbhost/C%3A%2Fapitests/fileset/TestFileSet.java:[TestFileSet.java]

Comment 3 Vitezslav Stejskal 2003-11-24 14:00:19 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 4 Jan Becicka 2003-11-25 13:46:51 UTC
Marking issue as VERIFIED --->
Comment 5 Jan Becicka 2003-11-25 13:51:24 UTC
---> CLOSED