Yes.  Our product is fairly obscene.  I'm trying some of the suggestions
mentioned to see what happens.

And due to the many questions about what other targets look like, I've attached
the whole build.xml file for anyone who's curious.  Also, my ${src} dir looks
like this:

src/com/comp/pack1
                         /pack2
                         /pack3 <--- most of the files live in one dir

-Tara

Dominique Devienne wrote:

> And you're old GNU make stuff, did it also include that many third party
> JARs?

--
"I was gratified to be able to answer promptly, and I did.  I said I didn't
know"

        -Mark Twain

<project name="Analytics" default="dist" basedir=".">
<description> Ant project file for Analytics module </description>
<!-- set global properties for this build -->
<property name="src" location="java"/>
<property name="build" location="classes"/>

<path id="classpath">
	<fileset dir="${build}"> 
		<include name="**/*"/>
		<include name="*.jar"/>
		</fileset> 
	</path>

<property name="cp" refid="classpath"/>

<target name="test">
	<!--echo message="Classpath is: ${cp}"-->
	<echo message="build is: ${build}"/>
</target>

<target name="init">
	<!-- Create the time stamp -->
	<tstamp/>
	<!-- Create the build directory structure used by compile -->
	<mkdir dir="${build}"/>
</target>

<target name="compile" depends="init"
        description="compiling java source" >
	<javac srcdir="${src}" destdir="${build}">
	<classpath refid="classpath"/>
	</javac>
</target>

<target name="dist" depends="compile"
        description="generate the distribution" >

	<!-- Put everything in ${build} into the mining.jar file -->
	<jar jarfile="${build}/mining.jar" basedir="${build}" includes="**/*.class" excludes="tax*class" update="yes"/>
</target>

<target name="clean"
        description="clean up" >
	<!-- Delete the ${build} directory trees -->
	<delete dir="${build}"/>
</target>

</project>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to