Various little problems

From: Pascal Robert (prober..s.ca)
Date: Thu Dec 27 2007 - 16:45:39 EST

  • Next message: Grischa Steffin: "WOLips creates incorrect launch classpath under windows (: instead of ;)"

    I migrated 78 projects today, and I got some problems :-/ Eclipse
    3.3.1.1, WOLips 3.3.4570, Tiger/WO 5.3.

    1) In Xcode, most of our images and other "static" Web resources were
    in sub-folders of WebServerResources. Those sub-folders were not
    real folders (ie, they were the "yellow" type, not the blue one).
    Now, I'm trying to replicate the same thing in Eclipse by creating
    real folders, moving the images to the folders and selecting "WOLips
    Tools -> Exclude as WebServerResource" on the folder.

    This tip works fine for the automatic build (the folders are not part
    of the .woa/.framework in the build/ folder inside Eclipse), but when
    I "install" the binary (WOLips Ant Tools -> Install), the images are
    inside the sub-folders instead of being at the top-level folder. Why
    does the behavior is different ?

    2) If I try to link a application with a framework source AND the
    installed framework, I'm getting this:

    Caused by: java.lang.IllegalStateException:
    <com.webobjects.foundation.NSBundle> warning: There is already a
    unique instance for Bundle named 'OSUtilitaires'. Use
    NSBundle.bundleForName(OSUtilitaires) to access it:
    <com.webobjects.foundation.NSBundle name:'OSUtilitaires' bundlePath:'/
    Library/Frameworks/OSUtilitaires.framework'
    packages:'("org.apache.commons.codec.language",
    "org.apache.commons.httpclient",
    "org.apache.commons.httpclient.protocol", "org.json",
    "org.apache.commons.httpclient.util", "ca.os.utilitaires",
    "org.apache.commons.logging.impl",
    "org.apache.commons.httpclient.params",
    "org.apache.commons.codec.net",
    "org.apache.commons.httpclient.cookie",
    "org.apache.commons.httpclient.methods", "com.metaparadigm.jsonrpc",
    "org.apache.commons.codec", "org.apache.commons.httpclient.auth",
    "net.jrochkind", "org.apache.commons.httpclient.methods.multipart",
    "org.apache.commons.logging", "org.apache.commons.codec.binary",
    "org.apache.commons.codec.digest")' 290 classes >
            at com.webobjects.foundation.NSBundle.CreateBundleWithPath
    (NSBundle.java:825)
            at
    com.webobjects.foundation.NSBundle._bundleWithPathShouldCreateIsJar
    (NSBundle.java:487)
            at com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath
    (NSBundle.java:742)
            at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:365)

    AFAIK, it was working in previous builds of WOLips or maybe I did
    something wrong ?



    This archive was generated by hypermail 2.0.0 : Thu Dec 27 2007 - 16:48:09 EST