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 24309 - Jar recipe can't be recompiled after copying to another filesystem
Summary: Jar recipe can't be recompiled after copying to another filesystem
Status: CLOSED DUPLICATE of bug 21326
Alias: None
Product: obsolete
Classification: Unclassified
Component: jarpackager (show other bugs)
Version: -FFJ-
Hardware: Sun Windows ME/2000
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-01 07:44 UTC by John Baker
Modified: 2003-07-01 10:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
jar content file before copying -should be valid (1.35 KB, application/octet-stream)
2002-06-01 07:46 UTC, John Baker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Baker 2002-06-01 07:44:28 UTC
This seems to occur for a Jar recipe which
contains multiple files with the same name and
same import statement.  See attached Jar recipe.
If necessary, source can also be provided.

To reproduce:

1) Create a jar recipe
2) Add some directories which contain source files
3) Compile the Jar recipe
4) Move the Jar recipe by copy/paste from one
mounted filesystem to another
5) Recompile the Jar recipe

Result:

Some compile errors appear in the compiler tab of
the Output window:

index$jsp.java [13:1] duplicate class:
org.apache.jsp.index$jsp

...

I tried to fix this jar Content file by 
removing all contents, re-adding them then
recompiling the jar recipe.

Result: the same compile error.

If I create a new jar recipe then add the
same contents, recompile then compilation
succeeds.

(Note this also affects a Jar recipe that is
transferred to another computer, which also
makes this Jar recipe unportable)
Comment 1 John Baker 2002-06-01 07:46:16 UTC
Created attachment 6034 [details]
jar content file before copying -should be valid
Comment 2 Milos Kleint 2002-06-03 15:45:57 UTC
yes, jar content files are non-transferable. Not only between
computers but also 2 projects in the IDE for details see issue s
#21326 and #18916. The bugs are inherent to the current design and
should be fixed by the intruduction of new projects in Netbeans 4.0.
I'll check the copying between various filesystems. BTW: does it work
correctly for you when you copy the recipe within one filesystem?
Comment 3 Milos Kleint 2002-06-03 16:14:40 UTC
the copying of jarrecipe according to your repro steps works for me in
the development build 200206030100 and the FFj4.0 EA build 020507. I
believe the bug is a dublicate of the above mentioned bugs. It happens
anytime you chnage the enviroment of the jar recipe (eg. remove a
filesystem, change filesystem's root, change projects or anything else
that will break the link between the jar content file and the IDE
enviroment)

I'll mark the issue as duplicate of #21326.
Please reopen the bug if you disagree and are sure you're not changing
any filesystem , but only copy the file. In that case please provide
me with more detailed information on how to reproduce the problem and
any error messages you receive. Thanks.


*** This issue has been marked as a duplicate of 21326 ***
Comment 4 Quality Engineering 2003-07-01 09:58:04 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-07-01 09:59:09 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.
Comment 6 Quality Engineering 2003-07-01 10:00:21 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.