ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r abiram <abir...@yahoo.com>
Subject ANT 1.4 With Websphere 4.0
Date Fri, 23 Aug 2002 08:45:48 GMT
Hi I have written the build file for EJB Task as
follows This is the small portion of the my buildfile
where I get the Error



<target name="EJBjar"  depends="compile"
description="To jar the Compiled Source" >
<ejbjar naming="descriptor"
descriptordir="${descriptordir}" srcdir="${buildDir}"
destdir="${srcDir}">
<!--<dtd location="${dd}"/>-->
<include name="Hello-Deploy.xml"/>
<include name="*.dtd"/>
<websphere dbvendor="DB2UDBWIN_V71" ejbdeploy="false"
oldCMP="false" tempdir="/tmp" destdir="${srcDir}"
dbVendor="DB2UDBWIN_V71">   
<wasclasspath>
          <pathelement
location="${was4.home}/deploytool/itp/plugins/org.eclipse.core.boot/boot.jar"/>
          <pathelement
location="${was4.home}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/batch.jar"/>
          <pathelement
location="${was4.home}/lib/xerces.jar"/>
          <pathelement
location="${was4.home}/lib/ivjejb35.jar"/>
          <pathelement
location="${was4.home}/lib/j2ee.jar"/>
          <pathelement
location="${was4.home}/lib/vaprt.jar"/>
</wasclasspath> 
</websphere>
</ejbjar>
</target>

The Error information I get is 

*********************************
EJBjar.xml:31: The <ejbjar> task doesn't support the
nested "websphere" element.
*******************************

I have followed the same steps as in the doccument and
Iam not using nested <websphere> element as stated
only one <websphere> element that to same as given in
the doccument of EJB Task I donot undersatnd where it
goes wrong

R.Abiram

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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


Mime
View raw message