ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ippi <heynumber...@yahoo.com>
Subject Re: ignoring CLASSPATH inside a junit task
Date Fri, 21 Jan 2005 13:10:14 GMT
Stefan, you're a Legend - the following works 
perfectly (with ant 1.6.2):

<junit printsummary="yes"
       haltonfailure="no"
       fork="yes"
       newenvironment="yes"
       includeantruntime="no>
...
</junit>

I was missing the includeantruntime="no". 

Thanks again.


--- Stefan Bodewig <bodewig@apache.org> wrote:

> On Fri, 21 Jan 2005, ippi <heynumbertwo@yahoo.com>
> wrote:
> 
> > Thanks for the reply. I had actually tried setting
> > the build.sysclasspath but I quickly gave up on it
> > when it failed to work for me. When I got your 
> > message I did some more extensive testing and now
> > I realise that the build.sysclasspath property
> only 
> > effects the <junit> tasks that don't fork a new
> JVM.
> 
> I don't think this is true.  Which version of Ant
> are you using?
> At least if you set newenvironment at the same time,
> your initial
> CLASSPATH setting shouldn't be there.  Make sure
> includeantruntime is
> false as well.
> 
> Stefan
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page  Try My Yahoo!
http://my.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message