ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Requiring jar files in classpath (or $ANT_HOME/lib) fortaskde fs
Date Mon, 15 Mar 2004 10:15:56 GMT
We canĀ“t solve that quickly I think. But we are thinking about
modularization of Ant.
Then we want to create a couple of AntLibs - and maybe the "Ant-JUnit"
AntLib then
is bundled with junit.jar or does an autodownload ...

But AFAIK there is nothing finally spoken.


Jan


> -----Original Message-----
> From: Keith Hatton [mailto:khatton@axiomsystems.com]
> Sent: Monday, March 15, 2004 11:12 AM
> To: Ant Users List
> Subject: RE: Requiring jar files in classpath (or $ANT_HOME/lib)
> fortaskdefs
> 
> 
> With respect, I think that misses the point.
> 
> The problem is, for JUnit and other Ant-optional tasks (i.e. 
> those defined in some sense in ANT_HOME/lib), they won't 
> "just work" without fiddling with either distro (i.e. move 
> JUnit files -> Ant, or move Ant files -> JUnit).
> 
> This makes it a pain, particularly for those attempting to 
> herd cats into a standard build environment.
> 
> I understand the issues and I have no solution to offer 
> (other than, perhaps, removing ant-*.jar from the standard 
> Ant distribution so that these problems don't arise - but 
> then you would open the door to a set of different problems), 
> but please recognise that it *is* a problem in many 
> environments. There are people who would (consciously or 
> unconsciously) take every opportunity to rubbish free 
> software, and this is an example of giving them an easy way 
> of doing this.
> 
> Keith
> 
> 
> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: 15 March 2004 09:03
> To: user@ant.apache.org
> Subject: Re: Requiring jar files in classpath (or $ANT_HOME/lib)
> fortaskdefs
> 
> 
> On Sun, 14 Mar 2004, Jacob Kjome <hoju@visi.com> wrote:
> 
> > Keep in mind that this is only true in the case of optional tasks
> > that ship with Ant.
> 
> And then again only if you keep the corresponding .jar in
> ANT_HOME/lib.
> 
> If you want <junit> to become independent from CLASSPATH and
> ANT_HOME/lib, move ant-junit.jar out of ANT_HOME/lib and <taskdef>
> junit using a <classpath> that points to the new location of
> ant-junit.jar and junit.jar, for example.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message