ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dave.alvar...@remanresource.com>
Subject RE: NoSuchMethodError when building a task
Date Mon, 01 Dec 2008 16:50:27 GMT
Actually I had been mistaken earlier when I said Ant 1.6.  I do have 1.7.  This is the folder
in my C:\eclipse\plugins directory

org.apache.ant_1.7.0.v200706080842

Thanks, - Dave



>  -------Original Message-------
>  From: Ammar Khalid <Ammar.Khalid@kbr.com>
>  Subject: RE: NoSuchMethodError when building a task
>  Sent: Dec 01 '08 15:34
>  
>  Upgrade to Ant 1.7.1, as Ant 1.6 is the root of a lot of Evil! You will
>  need to update the ANT plugin of your eclipse for the newer version.
>  
>  Ammar
>  
>  -----Original Message-----
>  From: dave.alvarado@remanresource.com
>  [mailto:dave.alvarado@remanresource.com]
>  Sent: 01 December 2008 15:20
>  To: user@ant.apache.org
>  Subject: NoSuchMethodError when building a task
>  
>  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/Annotatio
>  nDesc$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
>  
>  This e-mail, including any attached files, may contain confidential and privileged information
for the sole use of the intended recipient.  Any review, use, distribution, or disclosure
by others is strictly prohibited.  If you are not the intended recipient (or authorized
to receive information for the intended recipient), please contact the sender by reply e-mail
and delete all copies of this message.
>  

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


Mime
View raw message