I'm doing the build automation for a java app with ant. This is a client-server app which has many projects in eclipse. I would like to create a jar file for the client and one for the server, but since the class dependencies are all over the projects (in eclipse)... I had the idea to use a tool to automate the search for dependencies. I've been looking at GenJar witch is almost all I need but it's not been updated in a while. So I would like to know if there are any other tools like this one, maybe Maven?
Sorry, forgot to mention this is not a web-app
Alonso
2009-02-18 05:21:15
doesn't necessarily matter. A WAR is a JAR is a ZIP file; the metadata just let's you describes several places and different kinds of content.
Charlie Martin
2009-02-18 05:52:37
A:
Personally I would go with Ant + Apache Ivy. Each project has its own build.xml file and publishes to a central Ivy repository. Other projects will simply download these dependencies as needed.
The advantage of having an Ant based build process is that you can very easily automate it and use a continuous server to build the entire product after each check-in.
Vladimir
2009-02-23 21:44:47