ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lauren Commons <lhcomm...@yahoo.com>
Subject XML Parsers... was display java command line
Date Mon, 02 Jul 2001 20:36:13 GMT
I sort of answered my previous question, by running
ant with the -debug option.
Seperately, My problem with finding one library when
running from the command line and another from Ant was
that I am using Xerces in the app, but Ant was already
loading jaxp.jar and parser.jar....
So as I started to type the previous sentence, I
suddenly sawy a flash (from last nights thunder
storm?), and thought "fork='yes'", and sure enough,
that solved my problem....

--- Lauren Commons <lhcommons@yahoo.com> wrote:
> I apologize if this is a basic question;  I've
> looked
> for the answer, but can't find it....
> I have an Ant script which compiles a project and
> runs
> a test class.   Or not.  
> I currently have a classpath problem that I'm having
> trouble trouble-shooting.  If I run Java at the
> command line (or actually from a bat file) the test
> class runs fine;  If I run it in Ant, it fails
> because
> the wrong instance of a library class is getting
> loaded.  (Specifically, 
> com.sun.xml.parser.SAXParserImpl is loaded when run
> from Ant, but  org.apache.xerces.jaxp.SAXParserImpl
> is
> loaded when run from the bat file.)
> 
> ANYWAY, my actual question is: how can I get Ant to
> display the Java command line that it runs
> (including
> the classpath)?
> 
> TIA
> 
> =====
> -------------------------
> Mr Lauren Commons
> A person of moderate zeal
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/


=====
-------------------------
Mr Lauren Commons
A person of moderate zeal

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message