• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [NOOB-QUESTION] where should a jar file ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [NOOB-QUESTION] where should a jar file ?
      • From: Philippe Lafoucrière <email@hidden>
References: 
 >[NOOB-QUESTION] where should a jar file ? (From: Philippe Lafoucrière <email@hidden>)
 >Re: [NOOB-QUESTION] where should a jar file ? (From: Paul Lynch <email@hidden>)
 >Re: [NOOB-QUESTION] where should a jar file ? (From: Philippe Lafoucrière <email@hidden>)

  • Prev by Date: Re: Switch Component question...
  • Next by Date: Re: CUSTOM ORDERING IDEA
  • Previous by thread: Re: [NOOB-QUESTION] where should a jar file ?
  • Next by thread: Re: [NOOB-QUESTION] where should a jar file ?
  • Index(es):
    • Date
    • Thread