ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Everitt, Andrew" <Andrew.Ever...@gbr.xerox.com>
Subject RE: Dependancy problem?
Date Thu, 29 Jun 2000 09:31:11 GMT
I'm not really the most expert person on ANT, however here are my thoughts
...

The behaviou doesn't seem right to me, I have similar dependency stuff which
seems to work fine. Can you send some more details please? JDK version, OS
and perhaps more of your build.xml.

Hope we can help,
Cheers,
Andi.
____________________
Andrew Everitt
Xerox Mobile Solutions, Cambridge. UK 

> -----Original Message-----
> From: Russell Gold [mailto:russgold@acm.org]
> Sent: 28 June 2000 19:52
> To: ant-dev@jakarta.apache.org
> Subject: Dependancy problem?
> 
> 
> I posted this yesterday and received no responses. I cannot 
> tell whether 
> that is because nobody knows the answer, everyone things that 
> the answer is 
> too obvious to bother with, or the subject I chose was 
> somehow filtered 
> out, so I am trying again with a different subject...
> 
> I have a "test" target in my build.xml file which runs my 
> test program 
> after ensuring that it is compiled. Unfortunately, every time 
> I run it, it 
> also recompiles the test code, even after it was previously 
> compiled. Here 
> is the relevant section of the build file:
> <!-- 
> ==============================================================
> ===== -->
> <!-- Compiles the test code -->
> <!-- 
> ==============================================================
> ===== -->
> <target name="testcompile" depends="compile">
> <javac srcdir="${src.dir}/test" destdir="${build.classes}" 
> classpath="${classpath}"
> debug="on" deprecation="off" optimize="on">
> </javac>
> </target>
> 
> <!-- 
> ==============================================================
> ===== -->
> <!-- Runs the test code -->
> <!-- Note: the classpath variable must be set on the command line -->
> <!-- 
> ==============================================================
> ===== -->
> <target name="test" depends="testcompile">
> <java classname="com.meterware.httpunit.HttpUnitSuite"
> fork="yes" classpath="${build.classes};${classpath}" >
> </java>
> </target>
> Can anyone tell me what I am doing wrong? The full program 
> can be found at 
> <http://httpunit.sourceforge.net/>
> 
> Is this behavior intended?
> 

Mime
View raw message