geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r348136 - /geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java
Date Tue, 22 Nov 2005 09:35:58 GMT
Author: djencks
Date: Tue Nov 22 01:35:40 2005
New Revision: 348136

URL: http://svn.apache.org/viewcvs?rev=348136&view=rev
Log:
allow setting source repo URI directly

Modified:
    geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java

Modified: geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java?rev=348136&r1=348135&r2=348136&view=diff
==============================================================================
--- geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java
(original)
+++ geronimo/trunk/plugins/geronimo-assembly-plugin/src/java/org/apache/geronimo/plugin/assembly/BaseConfigInstaller.java
Tue Nov 22 01:35:40 2005
@@ -19,17 +19,15 @@
 import java.io.File;
 import java.io.IOException;
 import java.io.InputStream;
-import java.util.List;
-import java.util.Iterator;
 import java.net.URI;
 import java.net.URL;
+import java.util.Iterator;
+import java.util.List;
 
-import org.apache.geronimo.system.configuration.LocalConfigStore;
-import org.apache.geronimo.system.repository.FileSystemRepository;
-import org.apache.geronimo.kernel.repository.Repository;
-import org.apache.geronimo.kernel.repository.FileWriteMonitor;
 import org.apache.geronimo.kernel.config.InvalidConfigException;
-import org.apache.geronimo.gbean.GBeanData;
+import org.apache.geronimo.kernel.repository.FileWriteMonitor;
+import org.apache.geronimo.kernel.repository.Repository;
+import org.apache.geronimo.system.repository.FileSystemRepository;
 
 /**
  * @version $Rev:  $ $Date:  $
@@ -97,6 +95,14 @@
     public void setSourceRepository(File sourceRepository) {
         this.sourceRepository = sourceRepository;
         sourceRepositoryURI = sourceRepository.toURI();
+    }
+
+    public URI getSourceRepositoryURI() {
+        return sourceRepositoryURI;
+    }
+
+    public void setSourceRepositoryURI(URI sourceRepositoryURI) {
+        this.sourceRepositoryURI = sourceRepositoryURI;
     }
 
     protected void execute(InstallAdapter installAdapter, Repository sourceRepo, FileSystemRepository
targetRepo) throws IOException, InvalidConfigException {



Mime
View raw message