• 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
Eclipse - Cocoa/Java Hint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Eclipse - Cocoa/Java Hint


  • Subject: Eclipse - Cocoa/Java Hint
  • From: Steve Franks <email@hidden>
  • Date: Thu, 3 Jun 2004 14:04:24 +1000

Hi,

I wanted to use Eclipse to write Cocoa-Java programs, and discovered its really quite simple to develop Cocoa-Java programs in Eclipse.

In /System/Library/Java/com/apple/.... directory tree are all the Java "stubs" for Cocoa-Java bindings.

I simply did a jar cvf Cocoa.jar /System/Library/Java/com
and added Cocoa.jar as an external JAR into Eclipse (3.0M9 but I doubt it matters).

I could then do refactoring, organizing imports, code completion, all the other perks of Eclipse.

The eclipse "build" will find all the Java errors, but as of now I still need to make a XCode project to create an actual application.
I vaguely remember some people were working on a Ant task to create Java apps, not sure about Cocoa-Java apps though.


Anyway, thought this may be of some use to people even as is, using Eclipse as an smart editor and building with XCode.

Anybody know of information regarding Cocoa-Java Ant build tasks (besides calling an xcode project build from command line)?


Steve Franks
adenzo software - http://www.adenzo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Eclipse - Cocoa/Java Hint
      • From: "Brad O'Hearne" <email@hidden>
  • Prev by Date: Trying to use ICNS icon for application
  • Next by Date: Re: NSXMLParser
  • Previous by thread: Re: Trying to use ICNS icon for application
  • Next by thread: Re: Eclipse - Cocoa/Java Hint
  • Index(es):
    • Date
    • Thread