Re: Classpath .... what is the new process?

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Mon Nov 19 2007 - 09:35:29 EST

  • Next message: Anjo Krank: "Re: Classpath .... what is the new process?"

    Mike,

    IPath[] libraryPaths = framework.getLibraryPaths();
                            for (int i = 0; i < libraryPaths.length; i++) {
                                    IClasspathEntry entry = JavaCore.newLibraryEntry(libraryPaths[i],
    framework.getSourcePath(), this.javaDocPath, this.exported);
                                    this.entries.add(entry);
                            }

    from ContainerEntry looks like the source of the problem.......

    Uli

    Am 19.11.2007 um 15:21 schrieb Mike Schrag:

    > I think I have this fixed ... give me a couple more minutes .
    >
    > On Nov 19, 2007, at 8:54 AM, Kieran Kelleher wrote:
    >
    >> OK, beloe is my BEFORE (always working fine) and then below that is
    >> the AFTER wolips update. Got the new CP container. Is it only
    >> people who link to workspace projects will see this problem?
    >>
    >> BEFORE:
    >> ========
    >> <?xml version="1.0" encoding="UTF-8"?>
    >> <classpath>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> ERJars"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> ERExtensions"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> ERJavaMail"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WOOgnl"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKFoundation"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKEOFExtensions"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKWebObjects"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/Ajax"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> ExcelGenerator"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> JavaWOExtensions"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKDemography"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKEmailData"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKPrototypes"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKRemoteClient"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKRemoteMailingServices"/>
    >> <classpathentry kind="src" path="Sources"/>
    >> <classpathentry kind="con"
    >> path="org.objectstyle.wolips.WO_CLASSPATH/Ajax/ERExtensions/ERJars/
    >> ERJavaMail/ExcelGenerator/JavaWOExtensions/WKDemography/WKEmailData/
    >> WKEOFExtensions/WKFoundation/WKPrototypes/WKRemoteMailingServices/
    >> WKWebObjects/WOOgnl/JavaEOAccess/JavaEOControl/JavaFoundation/
    >> JavaJDBCAdaptor/JavaWebObjects/JavaXML"/>
    >> <classpathentry kind="con"
    >> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    >> <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/
    >> TestNG"/>
    >> <classpathentry kind="output" path="bin"/>
    >> </classpath>
    >>
    >>
    >>
    >> AFTER:
    >> ========
    >> <?xml version="1.0" encoding="UTF-8"?>
    >> <classpath>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> ERJars"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> ERExtensions"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> ERJavaMail"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WOOgnl"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKFoundation"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKEOFExtensions"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKWebObjects"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/Ajax"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> ExcelGenerator"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> JavaWOExtensions"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKDemography"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKEmailData"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKPrototypes"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKRemoteClient"/>
    >> <classpathentry combineaccessrules="false" kind="src" path="/
    >> WKRemoteMailingServices"/>
    >> <classpathentry kind="src" path="Sources"/>
    >> <classpathentry kind="con"
    >> path="org.objectstyle.wolips.ContainerInitializer/10/1/Ajax/1/nil/1/
    >> nil/1/0/1/false/10/1/ERExtensions/1/nil/1/nil/1/0/1/false/10/1/
    >> ERJars/1/nil/1/nil/1/0/1/false/10/1/ERJavaMail/1/nil/1/nil/1/0/1/
    >> false/10/1/ExcelGenerator/1/nil/1/nil/1/0/1/false/10/1/
    >> JavaWOExtensions/1/nil/1/nil/1/0/1/false/10/1/WKDemography/1/nil/1/
    >> nil/1/0/1/false/10/1/WKEmailData/1/nil/1/nil/1/0/1/false/10/1/
    >> WKEOFExtensions/1/nil/1/nil/1/0/1/false/10/1/WKFoundation/1/nil/1/
    >> nil/1/0/1/false/10/1/WKPrototypes/1/nil/1/nil/1/0/1/false/10/1/
    >> WKRemoteMailingServices/1/nil/1/nil/1/0/1/false/10/1/WKWebObjects/1/
    >> nil/1/nil/1/0/1/false/10/1/WOOgnl/1/nil/1/nil/1/0/1/false/10/1/
    >> JavaEOAccess/1/nil/1/nil/1/0/1/false/10/1/JavaEOControl/1/nil/1/nil/
    >> 1/0/1/false/10/1/JavaFoundation/1/nil/1/nil/1/0/1/false/10/1/
    >> JavaJDBCAdaptor/1/nil/1/nil/1/0/1/false/10/1/JavaWebObjects/1/nil/1/
    >> nil/1/0/1/false/10/1/JavaXML/1/nil/1/nil/1/0/1/false"/>
    >> <classpathentry kind="con"
    >> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    >> <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/
    >> TestNG"/>
    >> <classpathentry kind="output" path="bin"/>
    >> </classpath>
    >>
    >>
    >>
    >> On Nov 19, 2007, at 8:45 AM, Mike Schrag wrote:
    >>
    >>>> OK, just upgraded to latest WOLips .... now getting the
    >>>> following..... What is the "new" way to have a framework added to
    >>>> the project so that I am using the workspace version and so that
    >>>> the /Library/Frameworks version is used in deployment later?
    >>> There is no new way right now -- It's a bug in the new classpath
    >>> stuff, but I'm not sure what actually changed between the two, so
    >>> I'm not exactly sure how to fix it ... I happen to have already
    >>> had a hacked NSBundle, so mine prevents this exception --
    >>> admittedly a pretty lame fix. I think Ulrich has been busy with
    >>> other things recently.
    >>>
    >>> ms
    >>>
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Nov 19 2007 - 09:37:10 EST