users@jax-ws.java.net

Re: Problems with ant wsgen

From: Thierry Rietsch <thierry.rietsch_at_students.fhnw.ch>
Date: Mon, 21 Aug 2006 21:54:10 +0200

Well, I couldn't tell you why, but now it works. I've added another
classpath (which contains the sources (.java) files) to the ant task.
Wohoo :-)

So then,

Thierry Rietsch wrote:
> Hi
>
> I try to run the wsgen from a build.xml:
>
> <target name="wsgen" depends="compile" description="Build the webservice
> artifacts">
> <wsgen
> classpath="${build.classes}"
> sei="test.webservice.server.Hello"
> destdir="${build.generated}"
> genwsdl="true"
> debug="true"
> />
> </target>
>
> [wsgen] error: Could not find class file for test.webservice.server.Hello
> [wsgen] 1 error
> {wsgen] error: compilation failed, errors should have been reported
> [wsgen] Command invoked: wsgen /opt/java/jre/bin/java -classpath
> /home/thierry/development/eclipse/test/build/web/WEB-INF/classes -d
> /home/thierry/development/eclipse/test/build/web/WEB-INF/generated -g
> -wsdl test.webservice.server.Hello
>
> But when I run the command over the wsgen.sh from jaxws-ri/bin, it works:
>
> ./wsgen.sh -classpath /home/thierry/development/eclips
> e/test/build/web/WEB-INF/classes -d
> /home/thierry/development/eclipse/test/build /web/WEB-INF/generated -g
> -wsdl test.webservice.server.Hello
>
> Is this a bug or did I missconfigured something?
>
> Thanks for your help,
>
> Thierry
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>