incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 20182 - incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache
Date Fri, 21 May 2004 06:32:22 GMT
Author: nickchalko
Date: Thu May 20 23:32:22 2004
New Revision: 20182

Modified:
   incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache/CachedResourceSetExportTask.java
Log:
Added group

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache/CachedResourceSetExportTask.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache/CachedResourceSetExportTask.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache/CachedResourceSetExportTask.java
Thu May 20 23:32:22 2004
@@ -22,7 +22,6 @@
 import java.io.Writer;
 import java.util.Iterator;
 import java.util.List;
-
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Task;
 /**
@@ -95,6 +94,10 @@
 				ResourceElement resource = (ResourceElement) i.next();
 				out.println("    <resource "
 						+ nameValue("name", resource.getName()));
+				out.println("              "
+						+ nameValue("group", resource.getGroup() == null
+								? resource.getName()
+								: resource.getGroup()));
 				out.println("              "
 						+ nameValue("version", resource.getVersion()));
 				out.println("              "

Mime
View raw message