Re: Using third-party jars on OS X
Re: Using third-party jars on OS X
- Subject: Re: Using third-party jars on OS X
- From: Randall Perry <email@hidden>
- Date: Thu, 22 Apr 2004 14:14:05 -0400
I tried just merging the jar file into my current project, selecting it in
all targets. That didn't work.
So I created a WO Framework project, added the jar and selected it in all
targets. Built it. Added the framework to my original project and still got
the missing package error.
Maybe there's something wrong with the jar. Looked inside the jar binary and
found the string com/coolservlets/email.
Can someone suggest another 3rd party jar I can test building frameworks
with?
> For _runtime_, everything in /Library/WebObjects/Extensions is
> automatically added to your CLASSPATH by the WO launch architecture.
> You don't need to add it to the CLASSPATH manually, it'll be added
> for you---at run-time.
>
> But that doesn't neccesarily cover compile-time, I'm not sure if it
> does, perhaps it doesn't. If you need to access the symbols at
> compile time, and putting it in /Library/WebObjects/Extensions isn't
> working, then what I would suggest is making a framework out of it.
> See:
> http://developer.apple.com/documentation/WebObjects/PB_for_WO_Developers/
>
> For instructions on how to add a third party JAR to a project. Make
> a framework project and add your third party JAR. Add that framework
> to your app the same as you would any other framework. You will have
> both compile-time and run-time (assuming the framework is deployed
> properly) access to the classes in the JAR.
>
> --Jonathan
>
>
--
Randall Perry
sysTame
Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales
http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.