Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Including JAR Files with Project Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including JAR Files with Project Builder



on 5/28/01 7:01 AM, Alasdair Dougall at email@hidden wrote:

> Hi,
>
> Can someone help with an easy one (well, so easy it has me stumped.). I
> want to include a couple of archives within a application, but can't figure
> out how to do it.
>
> Help will lead to my undying gratitude and a nice warm feeling inside
> knowing you have helped a lame brain!

Add the .jars to your project, they should automatically be added to the
Frameworks & Libraries build phase of the active target. You can either
(with the WWDC release of PB) merge the .jars by checking the little
checkbox, or add a new Copy Files build phase to copy the .jars to the
Resources/Java subdirectory of your app. If you do the Copy Files thing,
you'll also have to add the .jars to the runtime classpath by editing the
MRJApp.properties file in your project.

For a more detailed description of all of this, you can search the list
archives.

Dave


References: 
 >Including JAR Files with Project Builder (From: Alasdair Dougall <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.