|Re: Clean & Build in eclipse [message #1273414 is a reply to message #1272909]
||Thu, 20 March 2014 01:43
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 03/19/2014 07:00 AM, Alex G wrote:|
> Hello, I've finally swapped over to eclipse seriously but am confused on
> how to get a neat distribution directory. In Netbeans, I jumped a couple
> of hoops in order to get my distribution folder to include a README and
> resources folder. I'd like to simulate this exact behavior in eclipse.
> Why not include them as a resource in the jar file? The hassle of extra
> code for making the resources writable during testing.
> Currently my project contains the folders:
> bin, src, resources along with the other necessities
> I'd like to make a jar file that will export to a folder containing the
> files as such:
> projectName\lib <--- this includes javax.mail.jar from
> C:\Program Files\JavaMail
> If someone could please explain this (with a fair amount of detail) that
> would be greatly appreciated.
> Thank you for your time.
Typically this sort of thing is written using ant, Maven, etc. That's
why it's not completely obvious from the workbench user interface. You
can probably also pull it off using File -> Export -> Java -> JAR File
or Runnable JAR File.
Walk one of those paths and come back with more specific questions.
We'll be glad to help.
Powered by FUDForum
. Page generated in 0.02471 seconds