Re: Newbie Q: Building .class instead of .jar
Re: Newbie Q: Building .class instead of .jar
- Subject: Re: Newbie Q: Building .class instead of .jar
- From: Prachi Gauriar <email@hidden>
- Date: Fri, 30 Jul 2004 09:54:44 -0500
On Jul 30, 2004, at 9:23 AM, Eric Azarcon wrote:
I don't see a New Project option for a .class Java tool. What do I
need to
change in my configuration to create a .class tool instead of .jar?
(Apologies, but I'm using a beta of Xcode, so I'm going to have to be
vague for fear of breaking the NDA). Double-click on the target in
Xcode. A window should come up with a lot of settings in it. Look for
Java Archive Settings or something like that. There you will find
something to let you switch from a JAR to a .class (sometimes called
Class Hierarchy).
Once you do this, you also have to modify the arguments that the java
executable gets when launched. Go the Java executable and
double-click. Find the Arguments list, and disable the -jar
"TargetName.jar" argument. Add a new argument for the main class you
want to use. You might also need to change the executable's working
directory so that it points to the appropriate location.
-Prachi
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.