avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oberh...@apache.org
Subject cvs commit: avalon-sandbox/ide/org.apache.avalon.ide.eclipse.core/src/org/apache/avalon/ide/eclipse/core/tools EclipseDirectoryHelper.java
Date Sat, 08 May 2004 04:05:49 GMT
oberhack    2004/05/07 21:05:49

  Modified:    ide/org.apache.avalon.ide.eclipse.core/src/org/apache/avalon/ide/eclipse/core/tools
                        EclipseDirectoryHelper.java
  Log:
  meta generation added
  
  Revision  Changes    Path
  1.3       +4 -4      avalon-sandbox/ide/org.apache.avalon.ide.eclipse.core/src/org/apache/avalon/ide/eclipse/core/tools/EclipseDirectoryHelper.java
  
  Index: EclipseDirectoryHelper.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/ide/org.apache.avalon.ide.eclipse.core/src/org/apache/avalon/ide/eclipse/core/tools/EclipseDirectoryHelper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EclipseDirectoryHelper.java	2 Mar 2004 12:07:44 -0000	1.2
  +++ EclipseDirectoryHelper.java	8 May 2004 04:05:49 -0000	1.3
  @@ -216,19 +216,19 @@
               libraries = pluginPath.toFile().list();
               for (int i = 0; i < libraries.length; i++)
               {
  -                if (libraries[i].equalsIgnoreCase("avalon-framework-api-4.1.5.jar"))
  +                if (libraries[i].toLowerCase().startsWith("avalon-framework-api"))
                   { //$NON-NLS-1$
                       classpathEntries.add(
                           JavaCore.newLibraryEntry(
  -                            pluginPath.append("avalon-framework-api-4.1.5.jar"),
  +                            pluginPath.append(libraries[i]),
                               null,
                               null));
                   }
  -                if (libraries[i].equalsIgnoreCase("avalon-framework-impl-4.1.5.jar"))
  +                if (libraries[i].toLowerCase().startsWith("avalon-framework-impl"))
                   { //$NON-NLS-1$
                       classpathEntries.add(
                           JavaCore.newLibraryEntry(
  -                            pluginPath.append("avalon-framework-impl-4.1.5.jar"),
  +                            pluginPath.append(libraries[i]),
                               null,
                               null));
                   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message