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.
Description: Build Pilsen RC3: When add an extra jar file from mounted jar(using Mount Jar...) to web module's war file, the jar file is extracted into all its content files and these files are added into war file. I was told by Chikkala that it was because the mounted jar was mounted as filesystem and it is no long a single jar file. I think it would be nice that when user selects the mounted jar file, the jar file alone is added into the war file. Work Around: If user wants to add extra jar file, user should mount directory that contains the jar file then select far file from the mounted directory. Suggested Fix: Add the jar file as a single dataobject when the root of the jar file system is selected. If user selects individual files in the jar filesystem, add them as individual dataobject ( by extracting them from the jar filesystem. this is done by the jar fs automatically ) Evaluation: Since Jar file when mounted acts as a filesystem, the DataObjectListEditor in the JarPackager Module ( extra files editor is extended from this ) assumes the root of the jar file as the root of the file system and adds all the available dataobjects from the root as a separate dataobjects to the extra files. With this, users think that they are adding a single jar file, but the system takes the jar file system and extrats individual files Suggested Solution: Add the jar file as a single dataobject when the root of the jar file system is selected. If user selects individual files in the jar filesystem, add them as individual dataobject ( by extracting them from the jar filesystem. this is done by the jar fs automatically ) schikkala 2001-10-15 A comment.
Transferred from BugTraq 4491489.
Extra JAR files are added through Properties in NetBeans 4.1.