ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Environment Problem
Date Tue, 15 Apr 2003 01:23:34 GMT
On Tue, 15 Apr 2003 10:17 am, Joseph Davidson wrote:
> I am an ant newbie.  This is my first build file.
>

Cool.

> I have some code that includes the sax parser.  It runs well from the
> command line
>

When you use the <java> task you are rtunning within Ant's VM and you will see 
somethings that are managed by Ant - particularly the system classpath which 
included Ant's XML parser. 

What you need to do is to add a fork="yes" attribute to your <java> task so 
that it has its own VM.

Conor

-- 
Conor MacNeill
Blog: http://codefeed.com/blog/


Mime
View raw message