Not sure what you are looking for but the process looks something like this:
First you neet to download the And software from the Apache Jakarta
http://jakarta.apache.org/ant/index.html
Then you need to create a build.xml file. This file looks something like this:
<project name="MyProject" default="myjar" basedir=".">
<!-- set global properties to be used by ant -->
<property name="my.build.dir" value="classes"/>
<property name="my.src.dir" value="source"/>
<!-- PREPARE -->
<!-- prepare build area -->
<target name="prepare" init="init">
<mkdir dir="${my.build.dir}"/>
</target>
<!-- compile java src -->
<target name="JavaCompile" depends="prepare" init="init">
<mkdir dir="${my.build.dir}"/>
<javac srcdir="${my.src.dir}" destdir="${my.build.dir}"
debug="off" optimize="off" deprecation="off"
excludes="**/test/**"/>
</target>
</project>
All that is left is to execute the build script. This can be done like this:
java org.apache.tools.ant.Main JavaCompile
This will compile all of the java classes in my.src.dir and move them to
my.build.dir
Regards
C.
[EMAIL PROTECTED] on 04/27/2001 09:07:25 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Clarance Howatt/Net)
Subject: RE: URL for the Struts mailing list
but how
can you clarify more please
-----Message d'origine-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoye: vendredi 27 avril 2001 16:37
A: [EMAIL PROTECTED]
Objet: RE: URL for the Struts mailing list
I have resently converted all of my makefile scripts to Ant build scripts.
I
use it to build all of my Java/C/C++/etc. It works great.
Regards
Clarance
[EMAIL PROTECTED] on 04/26/2001 07:57:05 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Clarance Howatt/Net)
Subject: RE: URL for the Struts mailing list
hello
how can we compile automatically .java classes ???