You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by amit malhotra <am...@onebox.com> on 2001/11/18 08:30:09 UTC

beginners question

hello everyone,
 i am a newbie to ant and read about the same at a couple of places.could
you please tell me some thing more about ant,and the resources available
online.


-- 
amit malhotra
amit_malhotra@onebox.com - email
(630) 536-2700 x1416 - voicemail/fax



---- Jeff Turner <je...@socialchange.net.au> wrote:
> On Sun, Nov 18, 2001 at 05:25:40PM +1100, Peter Donald wrote:
> > On Sun, 18 Nov 2001 17:15, Jeff Turner wrote:
> > > Hi,
> > >
> > > I'm trying to use <taskdef> to define the <junit> task, so I don't
> have
> > > to require all users to copy junit.jar to the $ANT_HOME/lib.
> [..]
> > 
> > Unfortunately it isn't possible. The reason is that Ant will go looking
> for 
> > the junit task. It will first call the loadClass() in the ClassLoader
> created 
> > by taskdef. However this ClassLoader will first check the parent
> classloader 
> > for the junit class. It will find the junit class (because it is
> in 
> > ${ant.home}/lib/optional.jar). However unless junit.jar is also in
> the parent 
> > classloader, the JVM will be unable to locate the required junit
> classes and 
> > thus will report that it fails to load the junit task.
> 
> Ah of course.. the joys of delegating classloaders..
> 
> thanks,
> 
> --Jeff
> 
> > -- 
> > Cheers,
> > 
> > Pete
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 

__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com


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


Re: beginners question

Posted by Nico Seessle <ni...@apache.org>.
----- Original Message -----
From: "amit malhotra" <am...@onebox.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Sunday, November 18, 2001 8:30 AM
Subject: beginners question


> hello everyone,
>  i am a newbie to ant and read about the same at a couple of places.could
> you please tell me some thing more about ant,and the resources available
> online.
>

What's bad with the project-homepage http://jakarta.apache.org/ant/ and the
"Resources"-link?

Nico



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