View Full Version : Packaging Java source code
dismal_denizen
November 11th, 2007, 10:22 PM
What is the best way to package my Java source code to make it easy for others to build? Is there a Java version of make?
Ramses de Norre
November 11th, 2007, 10:24 PM
Is there a Java version of make?
Absolutely, Apache's Ant (http://ant.apache.org/).
rekahsoft
November 11th, 2007, 10:31 PM
Absolutely, Apache's Ant (http://ant.apache.org/).
Could not agree more :D :D :P
kknd
November 12th, 2007, 02:21 AM
Absolutely, Apache's Ant (http://ant.apache.org/).
+1
Ants are cool.
egibby
November 12th, 2007, 05:14 AM
Depending on what your needs are, it might be simpler to just bundle all the compiled byte code (since it is portable) into a jar file and distribute that. Others can then include your jar file when building their projected and be able to call the classes in your code.
-- egibby
dismal_denizen
November 12th, 2007, 05:33 AM
Thanks guys, I'll take a look at Ant. I will create bytecode versions of each project, but I want to be open source friendly so that other Java programmers can get ideas from what I do.
geirha
November 12th, 2007, 08:54 AM
There's also maven http://maven.apache.org/
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.