Author: marrs
Date: Fri Jul 13 14:41:01 2012
New Revision: 1361241

URL: http://svn.apache.org/viewvc?rev=1361241&view=rev
Log:
Restructured the lib folder, added a small program to reindex it.

Added:
    ace/sandbox/marrs/cnf/bnd.bnd
    ace/sandbox/marrs/cnf/lib/ant/
    ace/sandbox/marrs/cnf/lib/ant/ant-1.8.4.jar   (with props)
    ace/sandbox/marrs/cnf/lib/aopalliance/
    ace/sandbox/marrs/cnf/lib/aopalliance/aopalliance-1.0.jar   (with props)
    ace/sandbox/marrs/cnf/lib/bcprov-jdk14/
    ace/sandbox/marrs/cnf/lib/bcprov-jdk14/bcprov-jdk14-1.40.jar   (with props)
    ace/sandbox/marrs/cnf/lib/commons-codec/
    ace/sandbox/marrs/cnf/lib/commons-codec/commons-codec-1.4.jar   (with props)
    ace/sandbox/marrs/cnf/lib/commons-collections/
    ace/sandbox/marrs/cnf/lib/commons-collections/commons-collections-3.2.1.jar 
  (with props)
    ace/sandbox/marrs/cnf/lib/commons-io/
    ace/sandbox/marrs/cnf/lib/commons-io/commons-io-2.0.1.jar   (with props)
    ace/sandbox/marrs/cnf/lib/commons-lang/
    ace/sandbox/marrs/cnf/lib/commons-lang/commons-lang-2.4.jar   (with props)
    ace/sandbox/marrs/cnf/lib/commons-logging/
    ace/sandbox/marrs/cnf/lib/commons-logging/commons-logging-1.1.1.jar   (with 
props)
    ace/sandbox/marrs/cnf/lib/gson/
    ace/sandbox/marrs/cnf/lib/gson/gson-1.7.1.jar   (with props)
    ace/sandbox/marrs/cnf/lib/guava/
    ace/sandbox/marrs/cnf/lib/guava/guava-11.0.2.jar   (with props)
    ace/sandbox/marrs/cnf/lib/javax.inject/
    ace/sandbox/marrs/cnf/lib/javax.inject/javax.inject-1.jar   (with props)
    ace/sandbox/marrs/cnf/lib/jsch/
    ace/sandbox/marrs/cnf/lib/jsch/jsch-0.1.44.1.jar   (with props)
    ace/sandbox/marrs/cnf/lib/jsr250-api/
    ace/sandbox/marrs/cnf/lib/jsr250-api/jsr250-api-1.0.jar   (with props)
    ace/sandbox/marrs/cnf/lib/jsr305/
    ace/sandbox/marrs/cnf/lib/jsr305/jsr305-1.3.9.jar   (with props)
    ace/sandbox/marrs/cnf/lib/junit/
    ace/sandbox/marrs/cnf/lib/junit/junit-4.8.2.jar   (with props)
    ace/sandbox/marrs/cnf/lib/kxml2/
    ace/sandbox/marrs/cnf/lib/kxml2/kxml2-2.3.0.jar   (with props)
    ace/sandbox/marrs/cnf/lib/oauth/
    ace/sandbox/marrs/cnf/lib/oauth/oauth-20100527.jar   (with props)
    ace/sandbox/marrs/cnf/lib/pax-exam/
    ace/sandbox/marrs/cnf/lib/pax-exam-container-native/
    
ace/sandbox/marrs/cnf/lib/pax-exam-container-native/pax-exam-container-native-2.3.0.jar
   (with props)
    ace/sandbox/marrs/cnf/lib/pax-exam-inject/
    ace/sandbox/marrs/cnf/lib/pax-exam-inject/pax-exam-inject-2.3.0.jar   (with 
props)
    ace/sandbox/marrs/cnf/lib/pax-exam-junit4/
    ace/sandbox/marrs/cnf/lib/pax-exam-junit4/pax-exam-junit4-2.3.0.jar   (with 
props)
    ace/sandbox/marrs/cnf/lib/pax-exam-link-mvn/
    ace/sandbox/marrs/cnf/lib/pax-exam-link-mvn/pax-exam-link-mvn-2.3.0.jar   
(with props)
    ace/sandbox/marrs/cnf/lib/pax-exam/pax-exam-2.3.0.jar   (with props)
    ace/sandbox/marrs/cnf/lib/pax-url-aether/
    ace/sandbox/marrs/cnf/lib/pax-url-aether/pax-url-aether-1.3.5.jar   (with 
props)
    ace/sandbox/marrs/cnf/lib/pax-url-assembly/
    ace/sandbox/marrs/cnf/lib/pax-url-assembly/pax-url-assembly-1.3.5.jar   
(with props)
    ace/sandbox/marrs/cnf/lib/pax-url-link/
    ace/sandbox/marrs/cnf/lib/pax-url-link/pax-url-link-1.3.5.jar   (with props)
    ace/sandbox/marrs/cnf/lib/pax-url-wrap/
    ace/sandbox/marrs/cnf/lib/pax-url-wrap/pax-url-wrap-1.3.5.jar   (with props)
    ace/sandbox/marrs/cnf/lib/testng/
    ace/sandbox/marrs/cnf/lib/testng/testng-6.5.2.jar   (with props)
    ace/sandbox/marrs/cnf/lib/velocity/
    ace/sandbox/marrs/cnf/lib/velocity/velocity-1.6.2.jar   (with props)
    ace/sandbox/marrs/cnf/lib/xpp3/
    ace/sandbox/marrs/cnf/lib/xpp3/xpp3-1.1.4.c.jar   (with props)
    ace/sandbox/marrs/cnf/lib/xstream/
    ace/sandbox/marrs/cnf/lib/xstream/xstream-1.2.2.jar   (with props)
    ace/sandbox/marrs/cnf/src/org/
    ace/sandbox/marrs/cnf/src/org/apache/
    ace/sandbox/marrs/cnf/src/org/apache/ace/
    ace/sandbox/marrs/cnf/src/org/apache/ace/bnd/
    ace/sandbox/marrs/cnf/src/org/apache/ace/bnd/LibraryIndexer.java
Removed:
    ace/sandbox/marrs/cnf/lib/ant.jar
    ace/sandbox/marrs/cnf/lib/aopalliance-1.0.jar
    ace/sandbox/marrs/cnf/lib/bcprov-jdk14-140.jar
    ace/sandbox/marrs/cnf/lib/commons-codec-1.4.jar
    ace/sandbox/marrs/cnf/lib/commons-collections-3.2.1.jar
    ace/sandbox/marrs/cnf/lib/commons-io-2.0.1.jar
    ace/sandbox/marrs/cnf/lib/commons-lang-2.4.jar
    ace/sandbox/marrs/cnf/lib/commons-logging-1.1.1.jar
    ace/sandbox/marrs/cnf/lib/gson-1.7.1.jar
    ace/sandbox/marrs/cnf/lib/guava-11.0.2.jar
    ace/sandbox/marrs/cnf/lib/javax.inject-1.jar
    ace/sandbox/marrs/cnf/lib/jsch-0.1.44-1.jar
    ace/sandbox/marrs/cnf/lib/jsr250-api-1.0.jar
    ace/sandbox/marrs/cnf/lib/jsr305-1.3.9.jar
    ace/sandbox/marrs/cnf/lib/junit-4.8.2.jar
    ace/sandbox/marrs/cnf/lib/kxml2-2.3.0.jar
    ace/sandbox/marrs/cnf/lib/oauth-20100527.jar
    ace/sandbox/marrs/cnf/lib/pax-exam-2.3.0.jar
    ace/sandbox/marrs/cnf/lib/pax-exam-container-native-2.3.0.jar
    ace/sandbox/marrs/cnf/lib/pax-exam-inject-2.3.0.jar
    ace/sandbox/marrs/cnf/lib/pax-exam-junit4-2.3.0.jar
    ace/sandbox/marrs/cnf/lib/pax-exam-link-mvn-2.3.0.jar
    ace/sandbox/marrs/cnf/lib/pax-url-aether-1.3.5.jar
    ace/sandbox/marrs/cnf/lib/pax-url-assembly-1.3.5.jar
    ace/sandbox/marrs/cnf/lib/pax-url-link-1.3.5.jar
    ace/sandbox/marrs/cnf/lib/pax-url-wrap-1.3.5.jar
    ace/sandbox/marrs/cnf/lib/testng-6.5.2.jar
    ace/sandbox/marrs/cnf/lib/velocity-1.6.2.jar
    ace/sandbox/marrs/cnf/lib/xpp3-1.1.4c.jar
    ace/sandbox/marrs/cnf/lib/xstream-1.2.2.jar
Modified:
    ace/sandbox/marrs/cnf/.classpath
    ace/sandbox/marrs/cnf/.project
    ace/sandbox/marrs/cnf/ext/repositories.bnd

Modified: ace/sandbox/marrs/cnf/.classpath
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/.classpath?rev=1361241&r1=1361240&r2=1361241&view=diff
==============================================================================
--- ace/sandbox/marrs/cnf/.classpath (original)
+++ ace/sandbox/marrs/cnf/.classpath Fri Jul 13 14:41:01 2012
@@ -2,5 +2,6 @@
 <classpath>
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+       <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>

Modified: ace/sandbox/marrs/cnf/.project
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/.project?rev=1361241&r1=1361240&r2=1361241&view=diff
==============================================================================
--- ace/sandbox/marrs/cnf/.project (original)
+++ ace/sandbox/marrs/cnf/.project Fri Jul 13 14:41:01 2012
@@ -10,8 +10,14 @@
                        <arguments>
                        </arguments>
                </buildCommand>
+               <buildCommand>
+                       <name>bndtools.core.bndbuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>bndtools.core.bndnature</nature>
        </natures>
 </projectDescription>

Added: ace/sandbox/marrs/cnf/bnd.bnd
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/bnd.bnd?rev=1361241&view=auto
==============================================================================
--- ace/sandbox/marrs/cnf/bnd.bnd (added)
+++ ace/sandbox/marrs/cnf/bnd.bnd Fri Jul 13 14:41:01 2012
@@ -0,0 +1,2 @@
+-buildpath: biz.aQute.bnd;version=1.51.1,\
+       org.osgi.impl.bundle.bindex
\ No newline at end of file

Modified: ace/sandbox/marrs/cnf/ext/repositories.bnd
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/ext/repositories.bnd?rev=1361241&r1=1361240&r2=1361241&view=diff
==============================================================================
--- ace/sandbox/marrs/cnf/ext/repositories.bnd (original)
+++ ace/sandbox/marrs/cnf/ext/repositories.bnd Fri Jul 13 14:41:01 2012
@@ -2,8 +2,14 @@ repo:           ${build}/repo
 releaserepo:    ${build}/releaserepo
 
 -plugin:        aQute.lib.deployer.obr.LocalOBR;name='Local 
Repository';local=${repo};locations='http://bundles.bndtools.org.s3.amazonaws.com/repository.xml',\
+                               aQute.lib.deployer.obr.LocalOBR;name='Apache 
ACE 
Repository';local=${build}/dummy;locations='http://bundles.bndtools.org.s3.amazonaws.com/repository.xml,https://svn.apache.org/repos/asf/ace/sandbox/marrs/cnf/repo/repository.xml',\
+                aQute.lib.deployer.obr.LocalOBR;name='Library 
Repository';local=${build}/lib;locations='file://${build}/lib/repository.xml',\
                 aQute.lib.deployer.obr.OBR;name='Build 
Repository';mode=build;locations='http://buildrepo.bndtools.org.s3.amazonaws.com/repository.xml',\
                 
aQute.lib.deployer.obr.LocalOBR;name='Release';local=${releaserepo},\
-                
org.osgi.impl.bundle.bindex.BundleIndexerImpl;path:=${repo}/org.osgi.impl.bundle.bindex/org.osgi.impl.bundle.bindex-2.2.0.jar
+                
org.osgi.impl.bundle.bindex.BundleAndLibraryIndexer;path:='${build}/bin/'
+
+-releaserepo:   Release
+
+## 
org.osgi.impl.bundle.bindex.BundleIndexerImpl;path:=${repo}/org.osgi.impl.bundle.bindex/org.osgi.impl.bundle.bindex-2.2.0.jar,\
+## org.apache.ace.bnd.LibraryRepository;name='ACE 
Libraries';local=${build}/lib;path:='${build}/bin/'
 
--releaserepo:   Release
\ No newline at end of file

Added: ace/sandbox/marrs/cnf/lib/ant/ant-1.8.4.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/ant/ant-1.8.4.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/ant/ant-1.8.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/aopalliance/aopalliance-1.0.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/aopalliance/aopalliance-1.0.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/aopalliance/aopalliance-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/bcprov-jdk14/bcprov-jdk14-1.40.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/bcprov-jdk14/bcprov-jdk14-1.40.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/bcprov-jdk14/bcprov-jdk14-1.40.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/commons-codec/commons-codec-1.4.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/commons-codec/commons-codec-1.4.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/commons-codec/commons-codec-1.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
ace/sandbox/marrs/cnf/lib/commons-collections/commons-collections-3.2.1.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/commons-collections/commons-collections-3.2.1.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ace/sandbox/marrs/cnf/lib/commons-collections/commons-collections-3.2.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/commons-io/commons-io-2.0.1.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/commons-io/commons-io-2.0.1.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/commons-io/commons-io-2.0.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/commons-lang/commons-lang-2.4.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/commons-lang/commons-lang-2.4.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/commons-lang/commons-lang-2.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/commons-logging/commons-logging-1.1.1.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/commons-logging/commons-logging-1.1.1.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/commons-logging/commons-logging-1.1.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/gson/gson-1.7.1.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/gson/gson-1.7.1.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/gson/gson-1.7.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/guava/guava-11.0.2.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/guava/guava-11.0.2.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/guava/guava-11.0.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/javax.inject/javax.inject-1.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/javax.inject/javax.inject-1.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/javax.inject/javax.inject-1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/jsch/jsch-0.1.44.1.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/jsch/jsch-0.1.44.1.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/jsch/jsch-0.1.44.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/jsr250-api/jsr250-api-1.0.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/jsr250-api/jsr250-api-1.0.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/jsr250-api/jsr250-api-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/jsr305/jsr305-1.3.9.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/jsr305/jsr305-1.3.9.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/jsr305/jsr305-1.3.9.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/junit/junit-4.8.2.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/junit/junit-4.8.2.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/junit/junit-4.8.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/kxml2/kxml2-2.3.0.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/kxml2/kxml2-2.3.0.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/kxml2/kxml2-2.3.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/oauth/oauth-20100527.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/oauth/oauth-20100527.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/oauth/oauth-20100527.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
ace/sandbox/marrs/cnf/lib/pax-exam-container-native/pax-exam-container-native-2.3.0.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-exam-container-native/pax-exam-container-native-2.3.0.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ace/sandbox/marrs/cnf/lib/pax-exam-container-native/pax-exam-container-native-2.3.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/pax-exam-inject/pax-exam-inject-2.3.0.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-exam-inject/pax-exam-inject-2.3.0.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/pax-exam-inject/pax-exam-inject-2.3.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/pax-exam-junit4/pax-exam-junit4-2.3.0.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-exam-junit4/pax-exam-junit4-2.3.0.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/pax-exam-junit4/pax-exam-junit4-2.3.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/pax-exam-link-mvn/pax-exam-link-mvn-2.3.0.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-exam-link-mvn/pax-exam-link-mvn-2.3.0.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ace/sandbox/marrs/cnf/lib/pax-exam-link-mvn/pax-exam-link-mvn-2.3.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/pax-exam/pax-exam-2.3.0.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-exam/pax-exam-2.3.0.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/pax-exam/pax-exam-2.3.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/pax-url-aether/pax-url-aether-1.3.5.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-url-aether/pax-url-aether-1.3.5.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/pax-url-aether/pax-url-aether-1.3.5.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/pax-url-assembly/pax-url-assembly-1.3.5.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-url-assembly/pax-url-assembly-1.3.5.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
ace/sandbox/marrs/cnf/lib/pax-url-assembly/pax-url-assembly-1.3.5.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/pax-url-link/pax-url-link-1.3.5.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-url-link/pax-url-link-1.3.5.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/pax-url-link/pax-url-link-1.3.5.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/pax-url-wrap/pax-url-wrap-1.3.5.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/pax-url-wrap/pax-url-wrap-1.3.5.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/pax-url-wrap/pax-url-wrap-1.3.5.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/testng/testng-6.5.2.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/testng/testng-6.5.2.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/testng/testng-6.5.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/velocity/velocity-1.6.2.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/velocity/velocity-1.6.2.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/velocity/velocity-1.6.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/xpp3/xpp3-1.1.4.c.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/xpp3/xpp3-1.1.4.c.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/xpp3/xpp3-1.1.4.c.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/lib/xstream/xstream-1.2.2.jar
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/lib/xstream/xstream-1.2.2.jar?rev=1361241&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ace/sandbox/marrs/cnf/lib/xstream/xstream-1.2.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ace/sandbox/marrs/cnf/src/org/apache/ace/bnd/LibraryIndexer.java
URL: 
http://svn.apache.org/viewvc/ace/sandbox/marrs/cnf/src/org/apache/ace/bnd/LibraryIndexer.java?rev=1361241&view=auto
==============================================================================
--- ace/sandbox/marrs/cnf/src/org/apache/ace/bnd/LibraryIndexer.java (added)
+++ ace/sandbox/marrs/cnf/src/org/apache/ace/bnd/LibraryIndexer.java Fri Jul 13 
14:41:01 2012
@@ -0,0 +1,57 @@
+package org.apache.ace.bnd;
+
+import java.io.File;
+import java.io.FileWriter;
+
+public class LibraryIndexer {
+       public static void main(String[] args) throws Exception {
+               File dir = new File("lib");
+               StringBuffer repo = new StringBuffer();
+               repo.append("<repository>\n");
+               index(repo, dir, dir);
+               repo.append("</repository>\n");
+               FileWriter fw = null;
+               try {
+                       fw = new FileWriter(new File(dir, "repository.xml"));
+                       fw.write(repo.toString());
+               }
+               finally {
+                       if (fw != null) {
+                               fw.close();
+                       }
+               }
+       }
+
+       private static void index(StringBuffer repo, File baseDir, File dir) {
+               int baseDirLength = baseDir.getAbsolutePath().length() + 1;
+               for (File f : dir.listFiles()) {
+                       if (f.isDirectory()) {
+                               index(repo, baseDir, f);
+                       }
+                       else if (f.isFile() && f.getName().endsWith(".jar")) {
+                               String name = f.getName();
+                               int i = name.lastIndexOf('-');
+                               if (i != -1) {
+                                       String bsn = name.substring(0, i);
+                                       String suffix = name.substring(i + 1);
+                                       String version;
+                                       if (suffix.endsWith(".jar")) {
+                                               version = suffix.substring(0, 
suffix.length() - 4);
+                                       }
+                                       else {
+                                               version = suffix;
+                                       }
+                                       String uri = 
f.getAbsolutePath().substring(baseDirLength);
+                                       repo.append(" <resource id='" + bsn + 
"/" + version + "' symbolicname='" + bsn + "' uri='" + uri + "' version='" + 
version + "'>" +
+                                               "<capability name='bundle'>" +
+                                               "<p n='manifestversion' 
v='2'/>" +
+                                               "<p n='symbolicname' v='" + bsn 
+ "'/>" +
+                                               "<p n='version' t='version' 
v='" + version + "'/>" +
+                                               "</capability>" +
+                                               "</resource>\n"
+                                       );
+                               }
+                       }
+               }
+       }
+}


Reply via email to