Re: WOLips build question

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Sat Aug 07 2004 - 03:37:50 EDT

  • Next message: Ulrich Köster: "Re: What flexible and what's not?"

    Hi Michael,

    the problem with the classpath is a bug in beta 1. You'll have to wait
    for beta 2 or launch your app from within Eclipse.

    Ulrich

    Am 02.08.2004 um 19:31 schrieb Michael Engelhart:

    > Hi -
    > I tried searching for an answer to this but couldn't find any that
    > deal with Eclipse 3.0.
    > Anyway, just tried using WOLIps to manage a project I'm working on.
    > So far my only problem is that I can't find out how to get the build
    > process to create a working classpath. I use 2 frameworks,
    > ERExtenions.framework and PostgresqlPlugIn.framework and have added
    > them in using the Eclipse tools and my project builds fine but when I
    > launch the app by double-clicking it (so I can view the errors in the
    > Console.app) I get this error which tells me it's not finding the
    > frameworks that the application needs. I'm assuming that these would
    > be automatically added to the build process but maybe that's not the
    > case. I'm using Eclipse 3.0 on Mac OS X 10.3 and WOLips v 1.1.0.70
    > beta 1
    >
    > Any help would be appreciated.
    >
    > Thanks
    > Mike
    >
    > Console.log
    > *********************************
    > Launching Manta.woa ...
    > java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
    > -DWOLocalRootDirectory="" -DWOUserDirectory="/" -DWOEnvClassPath=""
    > -DWOApplicationClass=Application -DWOPlatform=MacOS
    > -Dcom.webobjects.pid=1123 -classpath WOBootstrap.jar
    > com.webobjects._bootstrap.WOBootstrap
    > appRoot is /Library/WebObjects/Applications/Manta.woa/Contents
    > Loading
    > /Library/WebObjects/Applications/Manta.woa/Contents/MacOS/
    > MacOSClassPath.txt
    > Generated classpath:
    > /Library/WebObjects/Applications/Manta.woa/Contents/Resources/Java/
    >
    > /Library/WebObjects/Applications/Manta.woa/Contents/Resources/Java/
    > manta.jar
    >
    > /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
    > javaeoaccess.jar
    >
    > /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/
    > javaeocontrol.jar
    >
    > /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/
    > javafoundation.jar
    >
    > /System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
    > JavaWOExtensions.jar
    >
    > /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/
    > javawebobjects.jar
    >
    > /System/Library/Frameworks/JavaXML.framework/Resources/Java/
    > javaxml.jar
    > /Library/WebObjects/Extensions/activation.jar
    > /Library/WebObjects/Extensions/avalon-framework-4.1.2.jar
    > /Library/WebObjects/Extensions/axis-ant.jar
    > /Library/WebObjects/Extensions/axis.jar
    > /Library/WebObjects/Extensions/commons-collections-3.1.jar
    > /Library/WebObjects/Extensions/commons-discovery.jar
    > /Library/WebObjects/Extensions/commons-logging.jar
    > /Library/WebObjects/Extensions/ejb-1.0.jar
    > /Library/WebObjects/Extensions/jaxrpc.jar
    > /Library/WebObjects/Extensions/jsapi.jar
    > /Library/WebObjects/Extensions/log4j-1.2.8.jar
    > /Library/WebObjects/Extensions/logkit-1.0.1.jar
    > /Library/WebObjects/Extensions/mail.jar
    > /Library/WebObjects/Extensions/saaj.jar
    > /Library/WebObjects/Extensions/wsdl4j.jar
    > /Library/WebObjects/Extensions/
    > java.lang.NoClassDefFoundError: er/extensions/ERXApplication
    > at java.lang.ClassLoader.defineClass0(Native Method)
    > at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    > at
    > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
    > 123)
    > at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    > at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    > at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    > at java.security.AccessController.doPrivileged(Native Method)
    > at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    > at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:68)



    This archive was generated by hypermail 2.0.0 : Sat Aug 07 2004 - 03:34:58 EDT