• 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
SOLVED: Re: Using Cocoa Classes With Java Ant In Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SOLVED: Re: Using Cocoa Classes With Java Ant In Xcode


  • Subject: SOLVED: Re: Using Cocoa Classes With Java Ant In Xcode
  • From: Stephen Morrison <email@hidden>
  • Date: Fri, 26 Aug 2005 15:42:04 +0100


On 23 Aug 2005, at 17:24, Stephen Morrison wrote:

Hi,

I hope somebody can help me with this problem. I'm quite experienced with Java development but am pretty new to doing it on the Mac platform in Xcode, and am a total novice using Ant.

My problem is that I'm writing an ant-based java program in Xcode and wish to use some cocoa classes. However the directory storing these classes is not included in the standard Java classpath. I can compile and run the program from the command like by specifying the location of the cocoa classes as follows:

javac -classpath /System/Library/Java:. MyProgram.java

java -classpath /System/Library/Java:. MyProgram

However I can't do the same within Xcode. I've tried following the Ant documentation to add this directory to the classpath but had no success. I don't know whether I did this wrong, or the problem is with Xcode. I know additions to the classpath can be set in Xcode, but the feature isn't there with an Ant project.

If anybody has done this beffore and knows a solution it would be much appreciated.

Thanks,
Steve.

This problem has now been fixed. It was a problem with my Ant script and not Xcode.
 _______________________________________________
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: 
 >Using Cocoa Classes With Java Ant In Xcode (From: Stephen Morrison <email@hidden>)

  • Prev by Date: Re: Adding Resource Bundles
  • Next by Date: Opening iChat .nib files with InterfaceBuilder fails
  • Previous by thread: Using Cocoa Classes With Java Ant In Xcode
  • Next by thread: nib resources
  • Index(es):
    • Date
    • Thread