Re: r3740 - trunk/woproject/wolips/core/plugins/org.objectstyle.wolips.launching/java/org/objectstyle/wolips/launching/classpath

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Fri Jan 12 2007 - 07:10:45 EST

  • Next message: Kieran Kelleher: "Re: WOLips Site Edit?"

    Okay I'll change it to move the apple supplied frameworks to the end
    of list.

    Uli
    Am 12.01.2007 um 10:24 schrieb Anjo Krank:

    > Please don't. It doesn't need to be at the top, only before the
    > system frameworks. In fact, *any* frameworks should come before the
    > system frameworks...
    >
    > Cheers, Anjo
    >
    > Am 12.01.2007 um 10:27 schrieb ul..bjectstyle.org:
    >
    >> Author: uli
    >> Date: 2007-01-12 04:27:28 -0500 (Fri, 12 Jan 2007)
    >> New Revision: 3740
    >>
    >> Modified:
    >> trunk/woproject/wolips/core/plugins/
    >> org.objectstyle.wolips.launching/java/org/objectstyle/wolips/
    >> launching/classpath/WORuntimeClasspathProvider.java
    >> Log:
    >> move ERExtensions to top of classpath
    >>
    >> Modified: trunk/woproject/wolips/core/plugins/
    >> org.objectstyle.wolips.launching/java/org/objectstyle/wolips/
    >> launching/classpath/WORuntimeClasspathProvider.java
    >> ===================================================================
    >> --- trunk/woproject/wolips/core/plugins/
    >> org.objectstyle.wolips.launching/java/org/objectstyle/wolips/
    >> launching/classpath/WORuntimeClasspathProvider.java 2007-01-12
    >> 09:19:37 UTC (rev 3739)
    >> +++ trunk/woproject/wolips/core/plugins/
    >> org.objectstyle.wolips.launching/java/org/objectstyle/wolips/
    >> launching/classpath/WORuntimeClasspathProvider.java 2007-01-12
    >> 09:27:28 UTC (rev 3740)
    >>.. -151,6 +151,18 @@
    >> }
    >> }
    >> result = (IRuntimeClasspathEntry[]) resolved.toArray(new
    >> IRuntimeClasspathEntry[resolved.size()]);
    >> +
    >> + //move ERExtensions to top of classpath
    >> + int offset = 0;
    >> + for (int i = 1; i < result.length; ++i) {
    >> + IRuntimeClasspathEntry runtimeClasspathEntry = result[i];
    >> + if(runtimeClasspathEntry.getLocation().indexOf("ERExtensions")
    >> >= 0) {
    >> + result[i] = result[offset];
    >> + result[offset] = runtimeClasspathEntry;
    >> + offset++;
    >> + }
    >> + }
    >> +
    >> return result;
    >> }
    >>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Fri Jan 12 2007 - 07:10:51 EST