ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dave.alvar...@remanresource.com>
Subject NoSuchMethodError when building a task
Date Mon, 01 Dec 2008 15:19:37 GMT
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message