This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes netbeans project building Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "netbeans project building" Watch "netbeans project building" New topic

netbeans project building

Dave Brown
Ranch Hand

Joined: Mar 08, 2005
Posts: 301
Hi All,

I'm stuck trying to build additional resources along with my jar file..

When adding any resource be it xml/images whatever to my project they always get compiled in with the jar.. Anyone know how to configure it so when I build my project certain other files will also end up in the dist folder along with the main jar. ?


Regards, Dave Brown
SCJP 6 - [url][/url] - Check out Grails Forum
Dave Tuttle
Ranch Hand

Joined: Jan 18, 2006
Posts: 34
What I do is keep a 'bin' directory next to the 'src' directory.
I my own ant script for building (separete from netbeans scripts), but you can override a task in nbproject/build-impl.xml in build.xml to extend netbeans build.
For example, override '<target name="-post-compile">' to copy whatever you want. Let me know if you need more details...
I agree. Here's the link:
subject: netbeans project building
It's not a secret anymore!