Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a guide to use Java in xcode?



you should check the xcode documentation (user guide) : project creation -> choosing a project template, then there's a short description of all the templates including the java related ones.

basically you choose java tool to create a command line look which is packaged in a jar archive, and awt or swing to create a GUI application that appears as a regular .app bundle in the finder.

then starting from the template, you can configure the java compiler and the runtime settings in the target window : settings -> simple view -> java compiler settings (e.g. source and target versions) , and info.plist entries -> simple view to specify some finder info items (version string, icons etc.) and java vm options (e.g. using screen menu bar). down on the bottom left of the target window you can modifiy the settings for resources to be put in the java .jar file among others.

if you are using ant i can't help you. there's an ant template as well but i have never used it.

if you need to add libraries you go to the project browser, right- click on the project name (root node in the tree view) and choose add -> existing files, let it point to the library jars and hit ok, then you can choose to copy or not copy them into the project folder. in the target window you may additionally choose to merge the jars with your projects jar. otherwise you'll need to add entries for the classpaths.

ciao, -sciss-

Am 25.09.2006 um 19:31 schrieb Todd Patrick:

I've been searching for a good guide to use Java in xcode to build
Java Swing and web applications.

I'd appreciate any references or help.

Thanks,
--
--Todd

email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Is there a guide to use Java in xcode? (From: "Todd Patrick" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.