Re: [NOOB-QUESTION] where should a jar file ?
Re: [NOOB-QUESTION] where should a jar file ?
- Subject: Re: [NOOB-QUESTION] where should a jar file ?
- From: Robert Walker <email@hidden>
- Date: Thu, 27 Apr 2006 09:57:55 -0400
Philippe,
Also if you double-click your "Application Server" target, click on
"Expert View," you will find the "OTHER_JAVA_CLASS_PATH" setting. If
you add your path there Xcode will append it to the generated class
path. That is if you are using Xcode for development.
If you want a .jar file to be available to all WebObjects
applications, but not necessarily all Java programs you can put
the .jar inside /Library/WebObjects/Extensions. This is/was
documented somewhere in the Apple Documentation in a discussion of
"Third-party jars."
And, of course, if you want a jar to be shared by all Java
applications on the system then add your .jar to /Library/Java/
Extensions.
By the way, you can see the generated class path at the very top of
the run log when you execute your application.
On Apr 27, 2006, at 9:34 AM, Philippe Lafoucrière wrote:
On 27 avr. 06, at 15:28, Paul Lynch wrote:
On 27 Apr 2006, at 14:20, Philippe Lafoucrière wrote:
I can't find in the documentation (and google btw) how to solve
this simple problem :
I have to add an external library to my wo project, and I can't
find in the doc where I should put the jar file.
Well, anywhere that's in the class path. /Library/Java/Extensions
is usually a good spot for random individual jars, but you can
find a txt file inside your woa which sets the class path if you
want to be more adventurous.
Paul,
thank you for your response, but I was looking for a folder "ala"
WEB-INF/lib, in order to deploy only the library in one instance.
I assume now we can create a new Resources/lib directory with the
jar file in it, and modify the classpath.
I just wonder why there's no such directory in a project template,
it seems obvious to me :(
Philippe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
--
Robert Walker
email@hidden
_______________________________________________
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