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.
Summary: | folder fileset includes contents of JAR recursively | ||
---|---|---|---|
Product: | projects | Reporter: | Pavel Buzek <pbuzek> |
Component: | Generic Infrastructure | Assignee: | issues@projects <issues> |
Status: | CLOSED WONTFIX | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 34251 | ||
Bug Blocks: | 36365 |
Description
Pavel Buzek
2003-06-06 14:12:49 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? 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 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). 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. As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as VERIFIED ---> ---> CLOSED |