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 83249 - Packing of non class files into jar and distribution into class directories
Summary: Packing of non class files into jar and distribution into class directories
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: classclosure (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-23 06:39 UTC by aliebman
Modified: 2009-12-21 07:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
See attached JPEG (33.07 KB, image/jpeg)
2006-08-23 06:40 UTC, aliebman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aliebman 2006-08-23 06:39:36 UTC
Hi,
This may have slipped under the radar as maybe no-one does crazy stuff like
this. We are building an application using netbeans which uses a lot of flat
files and inputs or resources. Netbeans is clever enough when doing a build to
copy the files from the source directories to the appropriate sub-dirs in the
project's classes directory substructure. An interesting thing happens if you
want to leave them out of the jar file (for size purposes) by excluding for
example "*.fpl" as well as *.java and *.form. What happens is that netbeans does
not copy the files into the classes directory structure either.
This may be intentional, but its not obvious to me why

Ariel
Comment 1 aliebman 2006-08-23 06:40:30 UTC
Created attachment 33184 [details]
See attached JPEG
Comment 2 _ alexlamsl 2007-10-29 10:06:18 UTC
If I understand you correctly, the build directory would and should contain files that will appear in the final JAR 
package only.

Otherwise it might arrive to situations where the project runs fine within the IDE, but fail / behave differently in 
the distribution form.

IMO this is not an issue against the IDE at all. If you want to strip out certain files to be packaged, which is a 
special case in itself, override the appropriate Ant target inside build.xml of your NetBeans project, e.g. -pre-jar.

I'd suggest closing this issue as "won't fix".
Comment 3 Quality Engineering 2009-12-21 07:51:08 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team