aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eji...@apache.org
Subject svn commit: r1089916 - in /aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository: RepositoryGenerator.java packageinfo
Date Thu, 07 Apr 2011 15:49:14 GMT
Author: ejiang
Date: Thu Apr  7 15:49:13 2011
New Revision: 1089916

URL: http://svn.apache.org/viewvc?rev=1089916&view=rev
Log:
ARIES-618: Create a command line repository generator tool

Modified:
    aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/RepositoryGenerator.java
    aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/packageinfo

Modified: aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/RepositoryGenerator.java
URL: http://svn.apache.org/viewvc/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/RepositoryGenerator.java?rev=1089916&r1=1089915&r2=1089916&view=diff
==============================================================================
--- aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/RepositoryGenerator.java
(original)
+++ aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/RepositoryGenerator.java
Thu Apr  7 15:49:13 2011
@@ -36,5 +36,11 @@ public interface RepositoryGenerator
    * @throws IOException
    */
   void generateRepository(String repositoryName, Collection<? extends ModelledResource>
byValueBundles, OutputStream os) throws ResolverException, IOException;
-  
+  /**
+   * Generate a repository xml for the list of url and store the content in the output stream
+   * @param source the list of url to the bundle archive, for file: protocol, it can be simplified
by using relative path or absolute path(e.g. \temp\aa.jar or ..\temp\jars\aa.jar)
+   * @param fout the output stream containing the repository xml
+   * @throws IOException
+   */
+  void generateRepository(String[] source, OutputStream fout) throws IOException;
 }

Modified: aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/packageinfo
URL: http://svn.apache.org/viewvc/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/packageinfo?rev=1089916&r1=1089915&r2=1089916&view=diff
==============================================================================
--- aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/packageinfo
(original)
+++ aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/spi/repository/packageinfo
Thu Apr  7 15:49:13 2011
@@ -16,4 +16,4 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-version 0.4.0
+version 0.5.0



Mime
View raw message