incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 9845 - in incubator/depot/trunk/update/src: java/org/apache/depot/update java/org/apache/depot/update/impl java/org/apache/depot/update/protocols java/org/apache/depot/update/util java/org/apache/depot/update/util/reference java/org/apache/depot/update/util/regexp java/org/apache/depot/update/util/text test/org/apache/depot/update/ant/task test/org/apache/depot/update/util/security
Date Fri, 02 Apr 2004 13:45:50 GMT
Author: ajack
Date: Fri Apr  2 05:45:49 2004
New Revision: 9845

Modified:
   incubator/depot/trunk/update/src/java/org/apache/depot/update/ClasspathUpdater.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/ResourceUpdater.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ResourceUpdaterContextIdentifier.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ResourceUpdaterIdentifier.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/protocols/DefaultProtocolOperationsManager.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/util/RuperConstants.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/util/reference/ReferenceProxy.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/util/regexp/RegularExpressionSelector.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/util/text/Messages.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/AntTasksTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/RepositoryToolTaskTests.java
   incubator/depot/trunk/update/src/test/org/apache/depot/update/util/security/HashCodeManagerTest.java
Log:
More ruper -> depot.update, to match refactor.


Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/ClasspathUpdater.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/ClasspathUpdater.java	(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/ClasspathUpdater.java	Fri
Apr  2 05:45:49 2004
@@ -29,7 +29,7 @@
 
 	/**
 	 * @param fileAPI
-	 * @param ruperAPI
+	 * @param updateAPI
 	 */
 	public ClasspathUpdater(final FileAssistant filer, ResourceUpdater ruper) {
 		super(filer, ruper);

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/ResourceUpdater.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/ResourceUpdater.java	(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/ResourceUpdater.java	Fri
Apr  2 05:45:49 2004
@@ -157,14 +157,14 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#getDefaultRepositorySet()
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#getDefaultRepositorySet()
 	 */
 	public RepositorySet getDefaultRepositorySet() {
 		return m_ruperEngine.getDefaultSortedRepositorySet();
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#setDefaultRepositorySet(org.apache.ruper.repository.RepositorySet)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#setDefaultRepositorySet(org.apache.depot.update.repository.RepositorySet)
 	 */
 	public void setDefaultRepositorySet(RepositorySet set) {
 		m_ruperEngine.setDefaultSortedRepositorySet(set);
@@ -172,7 +172,7 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#setRepositorySetSortContext(org.apache.ruper.repository.RepositorySetSortContext)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#setRepositorySetSortContext(org.apache.depot.update.repository.RepositorySetSortContext)
 	 */
 	public void setRepositorySetSortContext(RepositorySetSortContext sortContext) {
 
@@ -213,14 +213,14 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#updateResources(java.util.List)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#updateResources(java.util.List)
 	 */
 	public void updateResources(List resources) throws RuperException {
 		updateResources(resources, null);
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#updateResources(java.util.List, org.apache.ruper.repository.Repository)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#updateResources(java.util.List,
org.apache.depot.update.repository.Repository)
 	 */
 	public void updateResources(List resources, IRepository targetRepository)
 		throws RuperException {
@@ -285,7 +285,7 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#updateResource(org.apache.ruper.resource.Resource,
org.apache.ruper.query.ResourceQuery)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#updateResource(org.apache.depot.update.resource.Resource,
org.apache.depot.update.query.ResourceQuery)
 	 */
 	public void updateResource(ResourceQuery resourceQuery)
 		throws RuperException {
@@ -293,7 +293,7 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#updateResource(org.apache.ruper.resource.Resource,
org.apache.ruper.query.ResourceQuery)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#updateResource(org.apache.depot.update.resource.Resource,
org.apache.depot.update.query.ResourceQuery)
 	 */
 	public void updateResource(
 		ResourceQuery resourceQuery,
@@ -370,21 +370,21 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#findResource(org.apache.ruper.resource.Resource)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#findResource(org.apache.depot.update.resource.Resource)
 	 */
 	public List findResource(Resource resource) throws RuperException {
 		return findResource(resource, null);
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#findResources(java.util.List)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#findResources(java.util.List)
 	 */
 	public Map findResources(List resources) throws RuperException {
 		return findResources(resources, null);
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#findResources(java.util.List, org.apache.ruper.repository.Repository)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#findResources(java.util.List, org.apache.depot.update.repository.Repository)
 	 */
 	public Map findResources(List resources, IRepository target)
 		throws RuperException {
@@ -402,7 +402,7 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#findResource(org.apache.ruper.resource.Resource,
org.apache.ruper.repository.Repository)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#findResource(org.apache.depot.update.resource.Resource,
org.apache.depot.update.repository.Repository)
 	 */
 	public List findResource(Resource resource, IRepository target)
 		throws RuperException {
@@ -421,7 +421,7 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#findResource(org.apache.ruper.resource.Resource,
org.apache.ruper.query.ResourceQuery)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#findResource(org.apache.depot.update.resource.Resource,
org.apache.depot.update.query.ResourceQuery)
 	 */
 	public List findResource(ResourceQuery resourceQuery)
 		throws RuperException {
@@ -434,21 +434,21 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#copyResources(java.util.List)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#copyResources(java.util.List)
 	 */
 	public void downloadResources(List resources) throws RuperException {
 		downloadResources(resources, null);
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#copyResource(org.apache.ruper.resource.Resource)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#copyResource(org.apache.depot.update.resource.Resource)
 	 */
 	public void downloadResource(Resource resource) throws RuperException {
 		downloadResource(resource, null);
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#copyResource(org.apache.ruper.resource.Resource)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#copyResource(org.apache.depot.update.resource.Resource)
 	 */
 	public void downloadResource(
 		Resource resource,
@@ -468,7 +468,7 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.api.ResourceAPIInterface#copyResources(java.util.List)
+	 * @see org.apache.depot.update.api.ResourceAPIInterface#copyResources(java.util.List)
 	 */
 	public void downloadResources(List resources, IRepository targetRepository)
 		throws RuperException {

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ResourceUpdaterContextIdentifier.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ResourceUpdaterContextIdentifier.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ResourceUpdaterContextIdentifier.java
Fri Apr  2 05:45:49 2004
@@ -24,7 +24,7 @@
 public class ResourceUpdaterContextIdentifier extends GenericIdentifier {
 
 	public final static String RUPER_CONTEXT_URI =
-		"http://apache.org/ruper/context";
+		"http://depot.apache.org/update/context";
 	public final static String RUPER_CONTEXT_PREFIX = "context";
 
 	public ResourceUpdaterContextIdentifier(String id) {

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ResourceUpdaterIdentifier.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ResourceUpdaterIdentifier.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ResourceUpdaterIdentifier.java
Fri Apr  2 05:45:49 2004
@@ -24,8 +24,8 @@
 public class ResourceUpdaterIdentifier extends GenericIdentifier {
 
 	public static final String RUPER_URI =
-		"http://apache.org/ruper";
-	public static final String RUPER_PREFIX = "ruper";
+		"http://depot.apache.org/update";
+	public static final String RUPER_PREFIX = "update";
 
 	public ResourceUpdaterIdentifier(final String id) {
 		super(RUPER_URI, RUPER_PREFIX, id);

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/protocols/DefaultProtocolOperationsManager.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/protocols/DefaultProtocolOperationsManager.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/protocols/DefaultProtocolOperationsManager.java
Fri Apr  2 05:45:49 2004
@@ -28,11 +28,11 @@
 	extends ProtocolOperationsManager {
 
 	private static final String VFS_PROVIDER =
-		"org.apache.ruper.protocols.impl.VfsProtocolOperationsProvider";
+		"org.apache.depot.update.protocols.impl.VfsProtocolOperationsProvider";
 	private static final String HTTP_CLIENT_PROVIDER =
-		"org.apache.ruper.protocols.impl.HttpClientProtocolOperationsProvider";
+		"org.apache.depot.update.protocols.impl.HttpClientProtocolOperationsProvider";
 	private static final String URL_PROVIDER =
-		"org.apache.ruper.protocols.impl.BasicProtocolOperationsProvider";
+		"org.apache.depot.update.protocols.impl.BasicProtocolOperationsProvider";
 
 	/**
 	 * @param context

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/util/RuperConstants.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/util/RuperConstants.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/util/RuperConstants.java
Fri Apr  2 05:45:49 2004
@@ -28,14 +28,14 @@
 public class RuperConstants {
 	public final static List EMPTY_LIST = new ArrayList();
 
-	public final static String DEFAULT_CONFIG_XML = "ruper.xml";
+	public final static String DEFAULT_CONFIG_XML = "depot-update.xml";
 	public final static String FILE_PREFIX = "file://";
 
 	public final static String STANDARD = "standard";
 	public final static String DEFAULT = "default";
 	public final static String UNNAMED = "unnamed";
 	
-	public final static String RUPER_HOME = "http://www.apache.org/ruper/";
+	public final static String RUPER_HOME = "http://www.apache.org/depot/";
 
 	public final static String MD5 = "md5";
 	public final static String MD5_EXTN = "." + MD5;

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/util/reference/ReferenceProxy.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/util/reference/ReferenceProxy.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/util/reference/ReferenceProxy.java
Fri Apr  2 05:45:49 2004
@@ -31,7 +31,7 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.util.reference.Referenceable#getRefId()
+	 * @see org.apache.depot.update.util.reference.Referenceable#getRefId()
 	 */
 	public GenericIdentifier getIdentifier() {
 		return m_identifier;

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/util/regexp/RegularExpressionSelector.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/util/regexp/RegularExpressionSelector.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/util/regexp/RegularExpressionSelector.java
Fri Apr  2 05:45:49 2004
@@ -35,7 +35,7 @@
 	}
 
 	/* (non-Javadoc)
-	 * @see org.apache.ruper.util.Selector#select(java.lang.Object)
+	 * @see org.apache.depot.update.util.Selector#select(java.lang.Object)
 	 */
 	public boolean select(Object o) {
 		String data = null;

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/util/text/Messages.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/util/text/Messages.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/util/text/Messages.java
Fri Apr  2 05:45:49 2004
@@ -33,7 +33,7 @@
  */
 public class Messages {
 	//Name of the resource Bundle
-	private static final String BUNDLE_NAME = "apache-ruper";
+	private static final String BUNDLE_NAME = "apache-depot-update";
 
 	//Intialized the ResourceBundle.
 	static ResourceBundle l_resourceBundle = null;

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/AntTasksTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/AntTasksTests.java
(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/AntTasksTests.java
Fri Apr  2 05:45:49 2004
@@ -38,7 +38,7 @@
 	}
 
 	public void setUp() {
-		configureProject("src/test/ant/org/apache/ruper/ant/task/anttasks.xml");
+		configureProject("src/test/org/apache/depot/update/ant/task/anttasks.xml");
 	}
 
 	public void test1() {

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/RepositoryToolTaskTests.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/RepositoryToolTaskTests.java
(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/task/RepositoryToolTaskTests.java
Fri Apr  2 05:45:49 2004
@@ -38,7 +38,7 @@
 	}
 
 	public void setUp() {
-		configureProject("src/test/ant/org/apache/ruper/ant/task/repotool.xml");
+		configureProject("src/test/org/apache/depot/update/ant/task/repotool.xml");
 	}
 
 	public void test1() {

Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/util/security/HashCodeManagerTest.java
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/util/security/HashCodeManagerTest.java
(original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/util/security/HashCodeManagerTest.java
Fri Apr  2 05:45:49 2004
@@ -62,8 +62,8 @@
      */
     public void testGetDigest() throws Exception {
         ClassLoader clazzLoader = this.getClass().getClassLoader();
-        URL urlHashFile = clazzLoader.getResource("org/apache/ruper/util/security/test.txt");
-        URL urlMetaFile = clazzLoader.getResource("org/apache/ruper/util/security/test.txt.md5");
+        URL urlHashFile = clazzLoader.getResource("org/apache/depot/update/util/security/test.txt");
+        URL urlMetaFile = clazzLoader.getResource("org/apache/depot/update/util/security/test.txt.md5");
 
         File hashFile = new File(urlHashFile.getPath());
         File metaFile = new File(urlMetaFile.getPath());
@@ -130,7 +130,7 @@
 			
 	public void testReadHashFromFile() throws Exception {
         ClassLoader clazzLoader = this.getClass().getClassLoader();
-        URL urlMetaFile = clazzLoader.getResource("org/apache/ruper/util/security/test.txt.md5");
+        URL urlMetaFile = clazzLoader.getResource("org/apache/depot/update/util/security/test.txt.md5");
 
         File metaFile = new File(urlMetaFile.getPath());
 

Mime
View raw message