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.
Reproducing error: 1) Create Jar Recipe 2) Add and entry from class directory (classes only) eg \MyProjects\classes\hil\deploy 3) Add the same entry (ie same package) from source directory (\.gif$) eg \MyProjects\java\hil\deploy At some time in future, Jar Packager will start ignoring source path entry (no gif files added to jar). If I just delete and re-add source file entry, then Jar Packager will start ignoring class entry (no classes added to archive). Both entries need to be deleted and recreated to fix the problem. This fault has been around for several versions of NetBeans. I suspect that NetBeans only stores the package for each content entry and then gets mixed up about the actual directory location.
This is a long standing architectural issue. JarContent is represented by a list of DataObjects which get messed up when the mounted filesystems change substantially, the files change outside of the IDE ,etc. *** This issue has been marked as a duplicate of 21326 ***