users@jax-rpc.java.net

Re: xrpcc classpaths

From: Simon Horrell <simonh_at_develop.com>
Date: Tue, 28 May 2002 08:11:35 +0100

Either use i) the xrpcc ant task, or ii) the java ant task and execute the
com.sun.xml.rpc.tools.xrpcc.Main class directly. This way you can either a)
use a nested classpath with multiple children or ii) define a seperate
classpath path and refer to it with a classpathref attribute.
Si.

----- Original Message -----
From: "Mischa" <yawningrascal_at_HOTMAIL.COM>
To: <JAXRPC-INTEREST_at_JAVA.SUN.COM>
Sent: Monday, May 27, 2002 9:32 PM
Subject: Re: xrpcc classpaths


> Ok, but I want to use xrpcc in an ant task.
> So what happens in this special case:
>
> <target name="xrpcc-server" depends="compile-server"
> description="Runs the xrpcc tool for the server">
> <echo message="Running xrpcc for the server:"/>
> <exec executable="${xrpcc}">
> <arg line="-classpath ${shareddir}" />
> <arg line="-server" />
> <arg line="-d ${serverdir}" />
> <arg line="config.xml" />
> </exec>
> </target>
>
> Now I can't use quotes anymore - or is there any ant-quotes-escapesequence
?
> Regards, Mischa
>
> On Mon, 27 May 2002 13:11:07 -0700, Doug Kohlert <doug.kohlert_at_SUN.COM>
wrote:
>
> >You can include multiple classpaths on Windows by enclosing the
> >classpath in "s. For example,
> >xrpcc -both -classpath "\path1;path2;jar1.jar" ....
> >