Re: Java projects and RMI stubs?
Re: Java projects and RMI stubs?
- Subject: Re: Java projects and RMI stubs?
- From: David Nedrow <email@hidden>
- Date: Fri, 3 Feb 2006 07:44:40 -0500
- Z-usanet-msgid: XID154kBcmQD0241X39
On Feb 2, 2006, at 22:31, David Nedrow wrote:
When building an RMI client, I need to specify the location of the
RMI "server" stub files or include them with my project and jar file.
How does one do this in Xcode?
Well, I never found a way to do this via any type of project
property, but I did get the build working by making a simple change
to the Ant build file.
In the "compile" <target/>, I added the <classpath/> directive, e.g.
<target name="compile" description="Compile code">
<mkdir dir="${bin}"/>
<mkdir dir="${lib}"/>
<javac srcdir="${src}" destdir="${bin}" includeAntRuntime="no"
classpathref="lib.path" debug="${compile.debug}">
<classpath>
<pathelement path="/dev/jars/TwoThread.jar"/>
</classpath>
</javac>
</target>
-David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden