Or, like WOnder ERJars, maybe you could make a framework just for necessary 
jars and include that framework on the build path of those projects? 

Tim Worman
UCLA GSE&IS



On Jan 25, 2010, at 2:57 PM, Joe Moreno wrote:

> Chuck,
> 
>       Thanks for the quick reply. What you're saying makes sense - so I'll 
> try removing the jar from /Library/Java/Extensions and add it to each project.
> 
> Many thanks,
> Joe
> 
> On Jan 24, 2010, at 20:15:50, Chuck Hill wrote:
> 
>> 
>> On Jan 24, 2010, at 6:29 PM, Joe Moreno wrote:
>> 
>>> Eclipse 3.3.2
>>> WOLips 3.3.5047
>>> WO 5.3
>>> Deployed on OS X Server 10.4.11
>>> 
>>>     How can I get a WO app to use the jar that's inside the WOA 
>>> (app.woa/Contents/Resources/Java) instead of the jar under 
>>> /Library/Java/Extensions?
>> 
>> AFAIK, you can't.  Jars in /Library/Java/Extensions are loaded first by JVM 
>> design.
>> 
>> Chuck
>> 
>>> 
>>>     The build.xml seems to be configured correctly:
>>> 
>>> <lib dir="Libraries">
>>>     <include name="*.jar"/>
>>>     <exclude name="**/*.framework/**"/>
>>> </lib>
>>> 
>>>     Also, I see the correct jar inside the WOA, but, for some reason, 
>>> during deployment, the app is picking up the jar under 
>>> /Library/Java/Extensions instead of the one inside the WOA. (In other 
>>> words, it runs fine in Eclipse but not when it's deployed.)
>>> 
>>>     Did I miss an Eclipse or ant setting?
>>> 
>>> Thanks,
>>> Joe
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>> 
>>> This email sent to ch...@global-village.net
>> 
>> -- 
>> Chuck Hill             Senior Consultant / VP Development
>> 
>> Practical WebObjects - for developers who want to increase their overall 
>> knowledge of WebObjects or who are trying to solve specific problems.
>> http://www.global-village.net/products/practical_webobjects
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to