• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Java projects and RMI stubs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Java projects and RMI stubs? (From: David Nedrow <email@hidden>)

  • Prev by Date: Forget it [wrong list] Re: Property name clashes with a method implemented by NSManagesObject or NSObject
  • Next by Date: my Shark is sick, need a vet
  • Previous by thread: Java projects and RMI stubs?
  • Next by thread: Debugger questions
  • Index(es):
    • Date
    • Thread