notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1868 - trunk/main/depot/tools/src/main/dpml/tools/tasks
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1868 - trunk/main/depot/tools/src/main/dpml/tools/tasks
- Date: Sun, 11 Feb 2007 03:44:59 +0100
Author: mcconnell
Date: 2007-02-11 03:44:57 +0100 (Sun, 11 Feb 2007)
New Revision: 1868
Modified:
trunk/main/depot/tools/src/main/dpml/tools/tasks/PackageTask.java
Log:
resolve issue with duplicate entries in generated part classpath definitions
Modified: trunk/main/depot/tools/src/main/dpml/tools/tasks/PackageTask.java
===================================================================
--- trunk/main/depot/tools/src/main/dpml/tools/tasks/PackageTask.java
2007-02-10 03:02:33 UTC (rev 1867)
+++ trunk/main/depot/tools/src/main/dpml/tools/tasks/PackageTask.java
2007-02-11 02:44:57 UTC (rev 1868)
@@ -367,7 +367,10 @@
Type type = resource.getType( "jar" );
Artifact artifact = getArtifact( type, resolve );
URI uri = artifact.toURI();
- list.add( uri );
+ if( !list.contains( uri ) )
+ {
+ list.add( uri );
+ }
}
}
- r1868 - trunk/main/depot/tools/src/main/dpml/tools/tasks, mcconnell at BerliOS, 02/10/2007
Archive powered by MHonArc 2.6.24.