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: | can't build a jar without copying libraries | ||
---|---|---|---|
Product: | java | Reporter: | jerome_bouat <jerome_bouat> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
jerome_bouat
2008-02-19 10:54:36 UTC
The only trick I had to use is put the following tasks in my build.xml file: --- <target name="-post-jar" depends="javadoc"> <!-- cleanup for avoiding to copy useless files on the share --> <delete dir="${dist.dir}/lib" /> <delete dir="${dist.dir}/README.TXT" /> <delete dir="${build.dir}" /> </target> --- Reassigning to "projects". You can use the workaround above, but I agree that there there should an option or at least a property disabling libraries copy. I will put the property there for now. |