You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Jeff Turner <je...@socialchange.net.au> on 2002/03/31 15:43:14 UTC

junit.jar needs declaring? and upcoming dep checking system

Hi,

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?

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..


--Jeff


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: junit.jar needs declaring? and upcoming dep checking system

Posted by Paul Hammant <Pa...@yahoo.com>.
Jeff,

>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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: junit.jar needs declaring? and upcoming dep checking system

Posted by Peter Donald <pe...@apache.org>.
On Sun, 31 Mar 2002 23:43, Jeff Turner wrote:
> If we require junit.jar in Ant's lib/ directory, why do we need users to
> declare it in ant.properties files? 

guess they dont ;)

> Won't junit.jar be picked up from
> the system classpath?

yep!

> 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..

yea!

-- 
Cheers,

Pete

--------------------------------
 These aren't the droids you're 
 looking for. Move along. 
--------------------------------

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>