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: | packaing ignores project resources | ||
---|---|---|---|
Product: | java | Reporter: | Pavel Buzek <pbuzek> |
Component: | Unsupported | Assignee: | issues@obsolete <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 33971 |
Description
Pavel Buzek
2003-06-02 15:57:14 UTC
Looks like the resource's content descriptor does not give any contents. Debugging messages indicate, that it is queried, but no URLs from it are processed. try the resource "Java Library for Web Module" that is implemented is web module project. It does return contents but it is not packaged anyway. The code on JP side is very simple and it is the same as for all other kinds of inputs , which work, thus the problem was most likely outside of JP. Anyway, I just tried it on the current version and it works fine. It packed the jar. I'm closing the bug as works-for-me. Please verify or reopen. Thanks. no, it still does not work for me, but I agree that the problem is more likely in Java module's implementation of resources since it works for the web module implementation of java resources. The exact sequence is: - create a new project "Web Application" - create a resource "Java Classes", select a jar file (now the resource is displayed under resources node and you can browse its contents) - go to Output/Deployable Directory Structure and select Customize action - go to second tab (Contents of build), find the resource and select true in the second column (include in jar) (BTW: you cannot expand the resource here) - rebuild Deployable Directory Structure target (the jar file is -not- included in the result) Already fixed. 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 |