avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject Re: junit.jar needs declaring? and upcoming dep checking system
Date Sun, 31 Mar 2002 14:00:13 GMT

>If we require junit.jar in Ant's lib/ directory, why do we need users to
>declare it in ant.properties files? Won't junit.jar be picked up from
>the system classpath?
That is easy to test with

   <available classname="junit.framework.TestCase" property="junit.present"/>

Rather than testing for the presence of the jar in a relative place.

>I'm halfway through a really cool dependency checking system. Type 'ant'
>anywhere, and it will recursively build required components (if they
>need building), or print a message stating what needs to be declared (or
>do a HTTP GET to retrieve the jar). Works from CVS components and for
>isolated components. Will finish it tomorrow..
This sounds like it is exactly what I think we should have.  Respect.

- Paul H

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

View raw message