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=\""
_______________________________________________
seam-commits mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-commits