[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Jars from source



On Fri, Feb 08, 2002 at 12:46:28PM +0100, Lars Bahner wrote:

> There is a file ``build.xml'' which seems to be the equivalent of a
> makefile, but, alas, I have no idea how to invoke this.

It's a build file for Ant, just install the ant package and type ant.
This should at least compile the sources and might even create the JAR.
If not, you must call Ant with another target, in some cases "ant jar"
or "ant jars".

> I suppose i could make a script that creates a .jar file copying the
> manifests in source tree to the appropriate place and use fastjar or
> something, but that is hardly The Right Way.

You can take a look e.g. at the libpgjava or tomcat package to see how
you can create a Debian package with ant.

-- 
Stefan Gybas



Reply to: