ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deacon, Garrett (DST-CLT)" <garrett_dea...@dstinteractive.com>
Subject ejbjar issue
Date Fri, 20 Dec 2002 13:30:36 GMT
I am having a devel of a time with the ejbjar task with weblogic.  I get the
following error for ant 1.5.1 that I did not get with 1.4.x ...

Unable to load dependency analyzer:
org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer

Here is the task

  <target name="dist" depends="compile"
        description="generate the distribution" >
    <!-- Create the distribution directory -->
    <mkdir dir="${dist}/lib"/>

    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file
-->
    <echo message ="Ejb Jar source=${theBuild.classes.dir}" />
	<echo message ="Ejb discriptor dir=${theBuild.ejbConfig.dir}" />
	<ejbjar descriptordir="${theBuild.ejbConfig.dir}"
	   basejarname="${projectName}"
	   srcdir="${theBuild.classes.dir}" 	
	   destdir="${dist}/lib}" >
	   <classpath>
            <pathelement path="${theBuild.classes.dir}"/>
            <pathelement location="${weblogic.lib.dir}/weblogic.jar"/>
			<pathelement location="${common.j2ee.dist}"/>
        </classpath>
        <weblogic destdir="${dist}/lib}" newCMP="true">
            <wlclasspath>
               <pathelement location="${weblogic.lib.dir}/weblogic.jar"/>
            </wlclasspath>
        </weblogic>
	 </ejbjar>	...

Am I misusing this target?

Thanx in advance for any help
Garrett Deacon
DST Iinteractive
9401 Arrowpoint Blvd.
Charlotte NC 28273
--------------------------------------
voice: 704-559-4916
fax: 704-559-4949
mobile: 704-779-5229




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message