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: Howto add jars to the classpath/application bundle using XCode?



on 4/2/04 5:05 AM, Jens v.P. <email@hidden> went on and on saying, in
part:

> How do I add a Java jar-library to the classpath with XCode - for the
> compiler and for the application bundle. I know where to place the jar
> file in the application bundle, but how do I tell XCode to to this?
> Where do I have to add the JAR in the "Groups and Files"? Do I have to
> define something in the target settings? I tried to add the jar to the
> "Java Resources", but this has no effect...

CMD-OPT-E -- Edit target
Frameworks & jar files
[X] merge

Now the .jar will be merged into the app, into the Content directory.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Howto add jars to the classpath/application bundle using XCode? (From: "Jens v.P." <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.