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 30766 - incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache
Date Tue, 27 Jul 2004 07:44:36 GMT
Author: nickchalko
Date: Tue Jul 27 00:44:35 2004
New Revision: 30766

Modified:
   incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache/CachedArtifactSetExportTask.java
Log:
Resource --> Artifact.

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache/CachedArtifactSetExportTask.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache/CachedArtifactSetExportTask.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/ant/cache/CachedArtifactSetExportTask.java
Tue Jul 27 00:44:35 2004
@@ -89,12 +89,12 @@
 			List resourceList = cachedArtifactSet.getArtifactList();
 			out.println("<?xml " + nameValue("version", "1.0") + "?>");
 			out
-					.println("<!DOCTYPE cachedresourceset PUBLIC \"-//APACHE//DTD CachedResource V0.1//EN\"
\"http://incubator.apache.org/depot/dtd/cachedresource-v01.dtd\">");
-			out.println("<cachedresourceset " + nameValue("id", getRefid())
+					.println("<!DOCTYPE cachedartifactset PUBLIC \"-//APACHE//DTD CachedArtifact V0.1//EN\"
\"http://incubator.apache.org/depot/dtd/cachedartifact-v01.dtd\">");
+			out.println("<cachedartifactset " + nameValue("id", getRefid())
 					+ ">");
 			for (Iterator i = resourceList.iterator(); i.hasNext();) {
 				ArtifactElement resource = (ArtifactElement) i.next();
-				out.println("    <resource "
+				out.println("    <artifact "
 						+ nameValue("name", resource.getName()));
 				out.println("              "
 						+ nameValue("group", resource.getGroup() == null
@@ -112,7 +112,7 @@
 				out.println("     />");
 				log(resource + "  from  " + resource.getDownloadedFrom());
 			}
-			out.println("</cachedresourceset>");
+			out.println("</cachedartifactset>");
 			out.close();
 			writer.close();
 		} catch (Exception e) {

Mime
View raw message