Eclipse - Cocoa/Java Hint
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.