Third party jar dependencies

John Pollard <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Hi,

Within a WO app managed with Eclipse/WOLips I am attempting to add  
third party jars into a local directory.

The jars are currently in /Library/Java/Extensions and while in  
there, everything works fine.

I created a lib directory as a top level sub-directory under my  
project directory and placed the jars in there and added them to the  
build path.

I also updated build.xml to ensure they are bundled in the release,  
but that is not important to this question.

The application fails to find symbols in jars in my lib directory  
that are on the build path. When the jars are in /Library/Java/ 
Extensions they work ok.

For example, the following line:
import org.apache.commons.digester.*;
Gives: The import org.apache.commons cannot be resolved.
despite the digester jar being in my lib directory.

One thing appears odd that may be a clue, my lib folder under the  
project is displayed with a ? next to it and the jars are not shown  
under it where they actually live on the file system, they are shown  
at the top level (looking messy).

Any help appreciated, scratching my head.

John

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.