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 34227 - folder fileset includes contents of JAR recursively
Summary: folder fileset includes contents of JAR recursively
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on: 34251
Blocks: 36365
  Show dependency tree
 
Reported: 2003-06-06 14:12 UTC by Pavel Buzek
Modified: 2004-04-19 16:17 UTC (History)
1 user (show)

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 Pavel Buzek 2003-06-06 14:12:49 UTC
if there is a jar file in folder that represents
folder fileset then the fileset contains files
-from- the jarfile instead of just containing the
jar file itself
Comment 1 Vitezslav Stejskal 2003-06-09 10:26:04 UTC
Sure, the FileObject(*.jar).isFolder() == true. I think we can fix
this, but is it ok to not be able to use *.jar files as a base of
FolderFileSet?
Comment 2 Pavel Buzek 2003-06-09 10:37:51 UTC
right, it should be fixed at a more general level

as for the jar being a base: I do not see any requirement for this but
I am reluctant to say explicitly that it is not needed ;-) I think
that you should make it clear in documentation whether a non-folder
can be used as a base. If the FileObject(*.jar).isFolder() == true
does not get fixed(!!) you need to specify that explicitly in your docs
Comment 3 Pavel Buzek 2003-09-01 12:09:37 UTC
It can this be fixed at least for jar files that are not base folders.
If you create a folder fs with jar as base you probably know what you
are doing so this is ok for me (I was not asking for fixing that).
Comment 4 Petr Jiricka 2003-09-17 15:51:26 UTC
As a consequence of this bug, web modules which contain a jar file in
WEB-INF/lib, can not be built. That is a showstopper for us.
Therefore, I think issue 34251 should be addressed promptly.

As for the jar being a base: I think it should be possible to use a
jar as a base of a fileset, and I don't think having
FileObject(*.jar).isFolder() == false would prevent that. The same
mechanism as in NB 3.5 code base should be used, i.e. I use the root
fileobject of the corresponding JarFileSystem as the root of the
fileset. I will write a more concrete suggestion to report 34251.
Comment 5 Vitezslav Stejskal 2003-11-24 14:00:11 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 6 Jan Becicka 2003-11-25 13:46:33 UTC
Marking issue as VERIFIED --->
Comment 7 Jan Becicka 2003-11-25 13:51:12 UTC
---> CLOSED