Re: Third Party Jar Project
Re: Third Party Jar Project
- Subject: Re: Third Party Jar Project
- From: Lachlan Deck <email@hidden>
- Date: Thu, 31 Jul 2008 06:44:04 +1000
On 30/07/2008, at 9:11 PM, John Pollard wrote:
I hope to create a framework that contains just third party jars
needed by my application. Up to now we've used /Library/Java/
Extensions for such jars or /Library/WebObjects/Extensions.
(pain will persist this way)
I have found this guidance:
http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Jar
+Dependency
When creating an Eclipse project for jars, what is the best option
of project type? Two candidates seem to stand out within the WOLips
section:
Jar Project (is this documented? google didn't seem to turn much up)
No not documented, but I just created one to see what it has. It quite
simply is a cut down version of a Framework project (it's build file
only builds your java classes as a jar).
Not what you're looking for I'd suggest.
WebObjects Framework (possibly adds other bells and whistles that
aren't needed?
Yep - create one of these, add your jars to the Library folder. In
eclipse select them and right click > Build Path > Add to build path.
Then go to project > Properties > Build Path > Order and Export tick
the checkbox next to each of them to export them to other projects.
Then go to project properties for your app and in its build path >
Projects choose add... and choose your framework.
Normal rules apply for ant building for your framework when wanting to
deploy your app (i.e., install your framework then build your app
setting the option to embed frameworks)
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden