Greetings,
I am using the ejbjar task to generate the ejbs for weblogic. I
am getting the following error.
/ebppvobstore/vobs/ATLSVCS/build/ANTBUILD.xml:55: A valid destination directory must
be specified using the "destdir" attribute.
at
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.validateConfigured(GenericDeploymentTool.java)
at
org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.validateConfigured(WeblogicDeploymentTool.java)
at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java)
at org.apache.tools.ant.Task.perform(Task.java)
at org.apache.tools.ant.Target.execute(Target.java)
at org.apache.tools.ant.Target.performTasks(Target.java)
at org.apache.tools.ant.Project.executeTarget(Project.java)
at org.apache.tools.ant.Project.executeTargets(Project.java)
at org.apache.tools.ant.Main.runBuild(Main.java)
at org.apache.tools.ant.Main.start(Main.java)
at org.apache.tools.ant.Main.main(Main.java)
The snippet of the code is,
<ejbjar srcdir="${SRC_DIR}"
naming="ejb-name"
descriptordir="${SRC_DIR}"
destdir="/tmp/ejbs" >
<weblogic destdir="${SRC_DIR}/src/com/alltel/service/serviceproxy/ejb" />
<classpath refid="EJBclass.path" />
<exclude name="**/weblogic-ejb-jar.xml"/>
<include name="**/ejb-jar.xml"/>
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN"
location="/ebppvobstore/vobadm_work/ejb-jar_2_0.dtd"/>
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
location="/ebppvobstore/vobadm_work/ejb-jar_2_0.dtd"/>
<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
location="/ebppvobstore/vobadm_work/weblogic-ejb-jar.dtd"/>
</ejbjar>
I am not able to figure out what exactly the problem is. The "destdir" is
a valid one and I tried using different valid "destdir"
attribute. The classpath is
CLASSPATH=:/opt/devlib/jaf1.0.1/activation.jar:$ANT_HOME/lib/optional.jar:$ANT_HOME/lib/ant.jar:$ANT_HOME/lib/xml-apis.jar:$ANT_HOME
/lib/NetComponents.jar:
I checked the files in classpath also. The java compilation works fine. I
am using "Ant version 1.5Beta2".
Any help would be greatly appreciated. I am stuck here.
Thx in advance.
Kailash
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>