my dog learned polymorphism*
The moose likes Ant, Maven and Other Build Tools and the fly likes deployment issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "deployment issue" Watch "deployment issue" New topic
Author

deployment issue

krillian konstatos
Ranch Hand

Joined: Jan 03, 2011
Posts: 49

hello, ranchers!

i have a question about the deployment of java applications from ant. i use Netbeans and i have added the derby database to my
library. i have read so far that you only need to deploy the folder dist in the main folder for you project. My dist folder contains
the following structure

lib
README.txt
myproject.jar

Now i am a little concerned about the size of the folder in it there is two copies of the derby.jar file first the one that is located
in the lib directory and then there is the one bundled together in the jarfile with the project name. Ok so 5 megs arent such a
heavy app anyway but do i have to distribute that derby jar file in the lib directory as well as the one found in the project jar?
this may sound like a noobish question i know but i have no experience in the distriubuting of applications with ant and netbeans but i
want to learn how to i am still learning to use ant "manually" so i probably have missed something out. which of the folders
in my netbeans project should i ship after completion? i will do this using an exe tool. any tip or links about deployment issues
are greatly appreciated here. thanks for your time.

regards,
krillian.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deployment issue
 
Similar Threads
NoClassDefFoundError - where to put Javamail JAR file?
Application not running from jar
ant folders
Maven or Ant + Ivy
database problematics