Deploy java (command line) app using Netbeans / ant

Posted by Haes on Stack Overflow See other posts from Stack Overflow or by Haes
Published on 2009-03-13T10:05:19Z Indexed on 2010/03/20 2:41 UTC
Read the original article Hit count: 229

Filed under:
|
|
|

I've finally managed to create a Netbeans project out of an old standalone (not Web-) Java application which consisted only out of single .java sources. Now I have basically two questions regarding Netbeans Subversion interaction and application deployment:

  1. Do you check in all the Netbeans project files into the repository, normally?

  2. If I build the project using Netbeans (or ant) I get a .jar file and some additional jar libraries. In order for the app to run properly on the server, some additional config files and directories (log/ for example) are needed. The application itself is a J2SE application (no frameworks) which runs from the command line on a Linux platform. How would you deploy and install such an application? It would also be nice if I could see what version of app is currently installed (maybe by appending the version number to the installed app path).

Thanks for any tips.

© Stack Overflow or respective owner

Related posts about java

Related posts about netbeans