[jboss-user] [JBossWS] - Re: Problem with wsconsume ant task

tpawankumar do-not-reply at jboss.com
Wed Nov 7 04:25:39 EST 2007


Hi Richard,

When i set fork="true" i am getting the below exception

BUILD FAILED: java.lang.NoSuchMethodError: org.apache.tools.ant.taskdefs.ExecuteJava.fork(Lorg/apache/tools/ant/ProjectComponent;)I

Following is the target

 	<target name="generateStub1" description="Generates classes">					
  | 			<taskdef name="wsconsume" classname="org.jboss.wsf.spi.tools.ant.WSConsumeTask">
  | 				<classpath refid="wscon.classpath"/>						
  | 			</taskdef>			
  | 			<wsconsume
  | 			  fork="true"	
  | 			  verbose="true"
  | 			  destdir="output1"
  | 			  sourcedestdir="gen-src1"
  | 			  keep="true"
  | 			  wsdl="http://testdrive.mcafeeasap.com/ws/mop/mop.asmx?wsdl">
  | 			</wsconsume>	
  | 		<jar destfile="./lib/mcafeeClient.jar" basedir="./output1">
  | 		</jar> 
  | 	</target>  

Do i need to keep any jar  wscon.classpath?

Please help me.

Thanks
Pavan

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102438#4102438

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102438



More information about the jboss-user mailing list