Hi,
I'm using Eclipse 3.2rc5 and WOLips 2.0.0.131 on OS X 10.4 and am
having a frustrating classpath problem.
I have an app that I have added some external jars to in the Java
Build Path / Libraries panel in the project preferences. The app
works fine when run from within Eclipse but when I deploy it, it
can't find the classes in question.
I'm no WO classpath guru but my assumption was that the jars I added
need to show up in the MacOSClassPath.txt file within the
built .woa. However they aren't showing up there, no matter what I do.
I can't put these files in /Library/WebObjects/Extensions because two
of them allready exist there (older versions of commons-discovery.jar
and commons-logging.jar) so I just created a /Library/Java/MyExtras
directory and added the files from there. The correct paths show up
in the .classpath file in Eclipse:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry kind="con" path="org.objectstyle.wolips.WO_CLASSPATH/
JavaWebObjects/JavaFoundation/JavaXML/JavaWOExtensions/JavaEOAccess/
JavaEOControl/JavaJDBCAdaptor"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="/Library/Frameworks/
FrontBasePlugIn.framework/Versions/A/Resources/Java/
frontbaseplugin.jar"/>
<classpathentry kind="lib" path="/Library/Frameworks/
SoloWeb28.framework/Resources/Java/soloweb28.jar"/>
<classpathentry kind="lib" path="/Library/Java/LausnExtras/commons-
httpclient-2.0.jar"/>
<classpathentry kind="lib" path="/Library/Java/LausnExtras/commons-
logging-api.jar"/>
<classpathentry kind="lib" path="/Library/Java/LausnExtras/commons-
logging.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
And they also show up in ant.classpaths.wo.wolocalroot and
ant.frameworks.wo.wolocalroot (the app uses a framework to which I
also added the jars in question but to no avail).
Can anyone tell me why these jars don't show up in the installed
app ? My framework shows up correctly.
Thanks in advance !
Hörđur Ţ.
Lausn hugbúnađur ehf
Tel. +354-534-5005 / +354-699-1068
Web: http://www.lausn.is
This archive was generated by hypermail 2.0.0 : Wed May 24 2006 - 12:52:49 EDT