Re: osx: pbxbuild crash when $NEXT_ROOT is defined to /System

From: Kaj Hejer (kaj.heje..sit.uio.no)
Date: Thu Sep 05 2002 - 13:47:53 EDT

  • Next message: uli: "Re: osx: pbxbuild crash when $NEXT_ROOT is defined to /System"

    At 16:55 +0000 05-09-02, Andrus Adamchik wrote:
    >Quick look at the file shows that in some places you use "next_root" and in
    >other "next.root". You should consistently use one or the other.

    Nice! That was it!

    Now I can compile, but get an error when running the app:

    ...

    :/usr/local/javalib/jcert.jar:/usr/local/javalib/jnet.jar:/usr/local/javalib/jsse.jar:/usr/local/javalib/mail.jar:/usr/local/javalib/providerutil.jar:/usr/local/javalib/soap.jar:/usr/local/javalib/xercesImpl.jar:/usr/local/javalib/xsltc.jar"
    Application
    Exception in thread "main" java.lang.NoClassDefFoundError:
    com/webobjects/appserver/WOApplication
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
            at
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:51)

    I guess this i because alot of frameworks are missing from my
    dist/WebObjects/Applications/faq.woa/Contents/MacOS/MacOSClassPath.txt:

    bash-2.05a$ more MacOSClassPath.txt
    # JVM == java
    # JVMOptions ==
    # JDB == jdb
    # JDBOptions ==
    # ApplicationClass == Application
    APPROOT/Resources/Java/faq.jar

    /Library/Frameworks/directoryfw.framework/Resources/Java/directoryfw.jar
    /Library/Frameworks/securityfw.framework/Resources/Java/securityfw.jar
    /Library/Frameworks/uiofw.framework/Resources/Java/uiofw.jar
    WOROOT/Library/Frameworks/JavaBusinessLogic.framework/Resources/Java/JavaBusines
    sLogic.jar

    bash-2.05a$

    When setting $NEXT_ROOT to /System I got all the framework I should in this
    file and the app almost startet, but then the app complained about
    TransactionManagerConfiguration.xml missing, see an eralier posting about
    this.

    -Kaj :)

    -Kaj :)



    This archive was generated by hypermail 2.0.0 : Thu Sep 05 2002 - 13:48:13 EDT