[seam-commits] Seam SVN: r14297 - branches/enterprise/JBPAPP_5_0/src/gen/org/jboss/seam/tool.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Feb 3 06:56:12 EST 2012


Author: manaRH
Date: 2012-02-03 06:56:12 -0500 (Fri, 03 Feb 2012)
New Revision: 14297

Modified:
   branches/enterprise/JBPAPP_5_0/src/gen/org/jboss/seam/tool/EclipseClasspathTask.java
Log:
JBPAPP-8041 fixed EclipseClasspathTask to exclude *.pom dependencies from copied set of dependencies

Modified: branches/enterprise/JBPAPP_5_0/src/gen/org/jboss/seam/tool/EclipseClasspathTask.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/gen/org/jboss/seam/tool/EclipseClasspathTask.java	2012-02-03 11:38:23 UTC (rev 14296)
+++ branches/enterprise/JBPAPP_5_0/src/gen/org/jboss/seam/tool/EclipseClasspathTask.java	2012-02-03 11:56:12 UTC (rev 14297)
@@ -37,9 +37,10 @@
       
       for (String path : uberPath.list())
       {
-         // avoid placing modules on classpath
-         if (!path.contains("jboss-seam"))
+         // avoid placing modules on classpath and pom files
+         if (!path.contains("jboss-seam") && !path.contains(".pom"))
          {
+            System.out.println("PATH " + path);
             String sourcePath = path.substring(0, path.lastIndexOf(".jar")) + "-sources.jar";
             String javadocPath = path.substring(0, path.lastIndexOf(".jar")) + "-javadoc.jar";
             String eclipsepath = "\t<classpathentry kind=\"lib\" path=\""



More information about the seam-commits mailing list