ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Chang <FCh...@ware2.com>
Subject RE: ejbjar in 1.3b2 and newCMP
Date Fri, 16 Feb 2001 18:05:25 GMT
Michael,

My ant classpath is:

ant.jar,optinal.jar,tools.jar,bsf.jar,xalan.jar,xerces.jar and junit.jar (in
this order).

However, I have set fork='yes' in the ejbjar task. Here is the
Ant -v output:

     [ejbc] Forking java -classpath P:\Projects\wfs\ext\jars\jconn2.ja
r;P:\Projects\wfs\ext\jars\junit.jar;P:\Projects\wfs\ext\jars\rt-1_3.j
ar;P:\Projects\wfs\ext\jars\weblogic.jar;P:\Projects\wfs\ext\jars\webl
ogic_sp.jar;P:\Projects\wfs\pkg\classes\idgenerator weblogic.ejbc -com
piler jikes -noexit P:\Projects\wfs\pkg\libs\idgenerator\IdGen2-generi
c.jar P:\Projects\wfs\pkg\libs\idgenerator\IdGen2_wl.jar

If I take this and invoke it in my command line, it'll work. But not
inside ant. And this is not working for CMP entity bean only.

-----Original Message-----
From: Shamberger, Michael [mailto:Michael.Shamberger@msdw.com]
Sent: February 16, 2001 12:49 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: ejbjar in 1.3b2 and newCMP


Frank,

What is the order of your classpath?  I think I was seeing a problem similar
to this before I changed the classpath order.  The first entries in my
classpath are now ant.jar, parser.jar, jaxp.jar, optional.jar.  

Mike

Mime
View raw message