Hi,
I'm using Eclipse 3.4 on Windows XP to run my Ant build script (Ant 1.6). When
running my build.xml file, I get the error ...
Buildfile: C:\Temp\CedarPoint_Service\build.xml
check-weblogic:
check-javadoc:
check-ejbgen:
generate-query-ejb:
[delete] Deleting directory C:\Temp\CedarPoint_Service\deployment\META-INF
[mkdir] Created dir: C:\Temp\CedarPoint_Service\deployment\META-INF
BUILD FAILED
C:\Temp\CedarPoint_Service\build.xml:290: java.lang.NoSuchMethodError:
com.sun.javadoc.AnnotationDesc.memberValues()[Lcom/sun/javadoc/AnnotationDesc$MemberValuePair;
The task in question is below. I'm using a 1.5 JDK compiler
(http://screencast.com/t/opdLhP5a). Any insights are appreciated, - Dave
<target name="generate-query-ejb" depends="check-ejbgen">
<delete dir="${deployment}/META-INF"/>
<mkdir dir="${deployment}/META-INF"/>
<ejbgen
source="2.18"
outputDir="${src}"
sourcepath="${src}"
descriptorDir="${deployment}/META-INF"
exitOnError="true"
>
<classpath refid="project.class.path"/>
<fileset dir="${src}" includes="**/*QueryBean.java" />
</ejbgen>
<replace dir="${src}" token="$" value="." >
<include name="**/*Query.java"/>
</replace>
<!--
<java classname="com.bea.wls.ejbgen.EJBGen" fork="true"
failonerror="true" dir="${src}">
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement location="${ejbgen-jar-path}"/>
</classpath>
<arg
value="${src}/com/comcast/safariview/cedarpoint/ejb/sb/CPQueryBean.java"/>
<arg value="-exitOnError"/>
<arg value="-verbose"/>
<arg value="-wls81"/>
</java>
-->
<move todir="${deployment}/META-INF">
<fileset dir="${src}" includes="*ejb-jar.xml"/>
</move>
<delete>
<fileset dir="${src}" includes="*.xml"/>
</delete>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]