Return-Path: Delivered-To: apmail-aries-commits-archive@www.apache.org Received: (qmail 60869 invoked from network); 18 Apr 2011 16:27:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Apr 2011 16:27:31 -0000 Received: (qmail 3559 invoked by uid 500); 18 Apr 2011 16:27:31 -0000 Delivered-To: apmail-aries-commits-archive@aries.apache.org Received: (qmail 3498 invoked by uid 500); 18 Apr 2011 16:27:31 -0000 Mailing-List: contact commits-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list commits@aries.apache.org Received: (qmail 3490 invoked by uid 99); 18 Apr 2011 16:27:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 16:27:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 16:27:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A035A23888E4; Mon, 18 Apr 2011 16:27:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r788497 - in /websites/production/aries: ./ content/documentation/tools/repositoryGenerator.html Date: Mon, 18 Apr 2011 16:27:09 -0000 To: commits@aries.apache.org From: ejiang@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110418162709.A035A23888E4@eris.apache.org> 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 @@ - Apache Aries - + Apache Aries - Repository Generator Tool @@ -241,18 +241,19 @@

Repository Generation Tool

It is a command line tool to generate a repository xml for a list of bundles. The instruction is as follows.

    -
  1. Obtain the tool
    - a) Build the tool from Aries trunk.
    +
  2. Obtain the tool
    +a) Build the tool from Aries trunk.
    The easiest way to obtain the tool is to download the aries trunk, navigate -to the 'application->application-tooling-repository-generator', and then run mvn install, copy all jars from the the target directory.
    - b) Download the tool
    +to the 'application->application-tooling-repository-generator', and then run mvn install, copy all jars from the the target directory.

    +b) Download the tool
    The tool can be downloaded from here. Unzip the zip to a directory and change the current directory to that directory.

  3. -
  4. Execute the command line tool
    java -jar org.apache.aries.application.tooling.repository.generator-xxx.jar [repository xml location] url1 [url2...]
    +
  5. Execute the command line tool
    java -jar org.apache.aries.application.tooling.repository.generator-xxx.jar [repository xml location] url1 [url2...]");`java -jar org.apache.aries.application.tooling.repository.generator-xxx.jar [repository xml location] url1 [url2...]

Note: The text under the [] is optional. If [repository xml loaction] is absent, the repository.xml file will be generated under the current directory.

-

The xxx is the maven version of bundle org.apache.aries.application.tooling.repository.generator, e.g. 0.1.0-SNAPSHOT.

-

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 xxx is the maven version of bundle org.apache.aries.application.tooling.repository.generator, e.g. 0.1.0-SNAPSHOT.
+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).

+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.

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