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 36344 - Jar Recipe keeps breaking
Summary: Jar Recipe keeps breaking
Status: RESOLVED DUPLICATE of bug 21326
Alias: None
Product: obsolete
Classification: Unclassified
Component: jarpackager (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-30 07:41 UTC by Russell Thamm
Modified: 2003-11-28 09:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Thamm 2003-09-30 07:41:39 UTC
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.
Comment 1 Ondrej Rypacek 2003-11-28 09:24:05 UTC
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 ***