ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: classpath refid in Junit task does not work with Ant 1.5?
Date Mon, 15 Jul 2002 06:28:13 GMT
On Fri, 12 Jul 2002, <otisg@ureach.com> wrote:

>         <junit printsummary="yes" ....more
> attributess...>
> 	    <classpath refid="test.classpath"/>

> This 'test.classpath' is set as:
>     <path id="test.classpath"
> path="${test.classpath}"/>

Before you run the <junit> task?

> 'test.classpath' is a property set in a
> properties file that IS being read.

Before you define the <path>?

> However, when I run ant with -verbose, I see
> the invocation of JUnitTestRunner class, but
> the classpath does not contain the value
> specified in test.classpath.

Maybe your path definition points to things that are not there (case
sensitivity issue, wrong root for relative path calculations ...)?
Look for "dropping foo from path as it doesn't exist" messages in
verbose mode.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message