You're not serious, are you?
Cheers, Anjo
Am 15.05.2007 um 15:11 schrieb ul..bjectstyle.org:
> Author: uli
> Date: 2007-05-15 09:10:33 -0400 (Tue, 15 May 2007)
> New Revision: 3995
>
> Modified:
> trunk/woproject/wolips/core/plugins/
> org.objectstyle.wolips.launching/java/org/objectstyle/wolips/
> launching/classpath/WORuntimeClasspathProvider.java
> Log:
> patch from frank to keep jars with the same name but different case.
>
> 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-05-15
> 12:32:51 UTC (rev 3994)
> +++ trunk/woproject/wolips/core/plugins/
> org.objectstyle.wolips.launching/java/org/objectstyle/wolips/
> launching/classpath/WORuntimeClasspathProvider.java 2007-05-15
> 13:10:33 UTC (rev 3995)
>.. -209,9 +209,10 @@
> }
>
> private boolean isProjectJar(String lastSegment, List projects) {
> + String lower = lastSegment.toLowerCase();
> for (int i = 0; i < projects.size(); i++) {
> IProject project = (IProject) projects.get(i);
> - if (lastSegment.startsWith(project.getName())) {
> + if (lower.startsWith((project.getName() + ".jar").toLowerCase
> ())) {
> return true;
> }
> }
>
This archive was generated by hypermail 2.0.0 : Tue May 15 2007 - 09:27:21 EDT