ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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, <> 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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message