If you search the forums, I've posted a message about this problem:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57446
My solution was to just write the task into the ant build file without using
the tag. My ant task looks as the following:
(Ignore the mkdirs)
|
| <target name="wscompile" description="Generates WSDL and JAXRPC mapping
file" depends="compile">
|
| <mkdir dir="${build.web.service.home}"/>
| <mkdir dir="${build.web.service.generated.home}"/>
| <mkdir dir="${build.web.service.wsdl.home}"/>
|
| <java classname="com.sun.xml.rpc.tools.wscompile.Main" fork="yes"
dir=".">
| <classpath refid="compile.classpath"/>
| <arg line='-d "${build.web.service.wsdl.home}"' />
| <arg line="-define" />
| <arg line="-features:documentliteral" />
| <arg line='-mapping
"${build.web.service.wsdl.home}/${jaxrpc.mapping.file}"'/>
| <arg line="-verbose" />
| <arg line='-classpath "${build.classes.home}"' />
| <arg line='"${config.home}/${config.file}"' />
| </java>
| </target>
|
|
This circumvents the problems you're seeing from using the wscompile ant task.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864901#3864901
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864901
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user