Thierry Rietsch wrote:
> Hi all
>
> I like to run the com.sun.tools.ws.WsGen tool from the build.xml. For
> that I defined a taskdef in my build.xml:
>
> <taskdef name="wsgen" classname="com.sun.tools.ws.WsGen">
>       <classpath path="wsgen.classpath" />
> </taskdef>
>
> and the related classpath:
>
> <path id="wsgen.classpath">
>       <pathelement location="${java.home}/lib/tools.jar" />
>       <pathelement location="${java.jaxws.home}/lib/jaxws-tools.jar" />
> </path>
>
>   
Hi Thierry
if you use in the classpath element the attribute refid instead of path
you will have more success.

<taskdef name="wsgen" classname="com.sun.tools.ws.WsGen">
        <classpath *refid*="wsgen.classpath"/>
</taskdef>


regards Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to