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.
How to reproduce: 1) Invoke New From Template wizard 2) Select JAR Archives|JAR Recipe and press Next 3) Select some 2. level directory (for example: sampledir/examples/imageviewer directory), press Add button (one with right arrow) 4) Press Finish 5) See value of "Target Directory" and "Target Name" property for added "imageviewer" item 6) ERROR - There is "<root>" resp. "imageviewer" instead of "examples/imageviewer" resp. "" This problem occurs for items that are added using Contents Editor (in both cases: NewWizard and Property editor). This problem does not occur for items that are added using Copy&Paste actions.
Raising priority because of T9Y keyword
fixed. Changed org/netbeans/modules/jarpackager/ContentMemberListEditor.java
Reopening issue Problem: 1) Try to create JAR Recipe and add some subdirectories of directories in root of FS. Use older builds for this step (tested on #200301130100). 2) Start build #200301290100. Open Contents editor for created JAR Recipe. 3) ERROR - See table: there is "<root>" string in the second column of the table 4) Press OK and try to compile - ERROR - Probably compiling error occurs because of duplicated entries
fixed. Checked in org/netbeans/modules/jarpackager/ContentMember.java
Verified In one case there is still problem - new bug has been filled so setting this issue as verified.