You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ej...@apache.org on 2011/04/18 18:27:09 UTC
svn commit: r788497 - in /websites/production/aries: ./
content/documentation/tools/repositoryGenerator.html
Author: ejiang
Date: Mon Apr 18 16:27:09 2011
New Revision: 788497
Log:
Publishing merge to aries site by ejiang
Modified:
websites/production/aries/ (props changed)
websites/production/aries/content/documentation/tools/repositoryGenerator.html
Propchange: websites/production/aries/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Apr 18 16:27:09 2011
@@ -1 +1 @@
-/websites/staging/aries/trunk:782169-788494
+/websites/staging/aries/trunk:782169-788496
Modified: websites/production/aries/content/documentation/tools/repositoryGenerator.html
==============================================================================
--- websites/production/aries/content/documentation/tools/repositoryGenerator.html (original)
+++ websites/production/aries/content/documentation/tools/repositoryGenerator.html Mon Apr 18 16:27:09 2011
@@ -23,7 +23,7 @@
<meta name="keywords" content="..."/>
<meta name="description" content="..." />
<title>
- Apache Aries -
+ Apache Aries - Repository Generator Tool
</title>
</head>
<body onload="SetMenu()">
@@ -241,18 +241,19 @@
<div class="wiki-content"><h2 id="repository_generation_tool">Repository Generation Tool</h2>
<p>It is a command line tool to generate a repository xml for a list of bundles. The instruction is as follows.</p>
<ol>
-<li>Obtain the tool <Br/>
- a) Build the tool from Aries trunk. <br/>
+<li>Obtain the tool <Br/>
+a) Build the tool from Aries trunk. <br/>
The easiest way to obtain the tool is to download the aries trunk, navigate
-to the '<em>application->application-tooling-repository-generator</em>', and then run <em>mvn install</em>, copy all jars from the the target directory. <br/>
- b) Download the tool <br/>
+to the '<em>application->application-tooling-repository-generator</em>', and then run <em>mvn install</em>, copy all jars from the the target directory. <br/><br/>
+b) Download the tool <br/>
The tool can be downloaded from <a href="repositorygenerator.zip">here</a>. Unzip the zip to a directory and change the current directory to that directory.<br/><br/></li>
-<li>Execute the command line tool<blockquote><em>java -jar org.apache.aries.application.tooling.repository.generator-xxx.jar [repository xml location] url1 [url2...]</em></blockquote>
+<li>Execute the command line tool<br/><blockquote><em>java -jar org.apache.aries.application.tooling.repository.generator-xxx.jar [repository xml location] url1 [url2...]</em>");`<em>java -jar org.apache.aries.application.tooling.repository.generator-xxx.jar [repository xml location] url1 [url2...]</em></blockquote>
</li>
</ol>
<p>Note: The text under the [] is optional. If [repository xml loaction] is absent, the repository.xml file will be generated under the current directory. </p>
-<p>The xxx is the maven version of bundle org.apache.aries.application.tooling.repository.generator, e.g. 0.1.0-SNAPSHOT. </p>
-<p>Following is an example of generating a repository xml for all the bundles under the directory of c:temptestjars recursively and a bundle located under http://aaa.com/public/Aries/obr/test.b1/test.b1_1.0.0.jar.
+<p>The xxx is the maven version of bundle org.apache.aries.application.tooling.repository.generator, e.g. 0.1.0-SNAPSHOT. <br/>
+The file: protocol - url can be a file or a directory, all valid bundles under that directory or subdirectory will be included in the repository xml (no need to list every single jar).<br/><br/>
+Following is an example of generating a repository xml for all the bundles under the directory of c:temptestjars recursively and a bundle located under http://aaa.com/public/Aries/obr/test.b1/test.b1_1.0.0.jar.
The repository xml is saved under c:temptest with the file name of repo.xml.</p>
<blockquote>
<p><em>java -jar org.apache.aries.application.tooling.repository.generator-0.1.0-SNAPSHOT.jar c:temptestrepo.xml file:///C:/temp/test/jars http://aaa.com/public/Aries/obr/test.b1/test.b1_1.0.0.jar</em> </p>