Author: paperwing
Date: 2011-06-13 12:48:51 -0700 (Mon, 13 Jun 2011)
New Revision: 25734

Added:
   csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/
   
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/create-depend.sh
   csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/dependencies
   csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/deploy.sh
   csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/wrap.sh
Log:


Added: 
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/create-depend.sh
===================================================================
--- 
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/create-depend.sh
                            (rev 0)
+++ 
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/create-depend.sh
    2011-06-13 19:48:51 UTC (rev 25734)
@@ -0,0 +1,10 @@
+version=2.7.1
+for i in `ls | grep .bar | grep -v aQute`
+do
+       #$version=`java -jar biz.aQute.bnd.jar print ${i/.bar/.jar} | grep 
Implementation-Version | sed s/Implementation-Version/""/g | sed s/" "/""/g`
+       echo \<dependency\>
+       echo "\t"\<groupId\>cytoscape-temp\</groupId\>
+       echo "\t"\<artifactId\>${i%.bar}\</artifactId\>
+       echo "\t"\<version\>$version\</version\>
+       echo \</dependency\>
+done
\ No newline at end of file

Added: 
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/dependencies
===================================================================
--- 
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/dependencies    
                            (rev 0)
+++ 
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/dependencies    
    2011-06-13 19:48:51 UTC (rev 25734)
@@ -0,0 +1,40 @@
+               <dependency>
+                       <groupId>cytoscape-temp</groupId>
+                       <artifactId>AppleJavaExtensions</artifactId>
+                       <version>2.7.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>cytoscape-temp</groupId>
+                       <artifactId>jinput</artifactId>
+                       <version>2.7.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>cytoscape-temp</groupId>
+                       <artifactId>lwjgl-debug</artifactId>
+                       <version>2.7.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>cytoscape-temp</groupId>
+                       <artifactId>lwjgl</artifactId>
+                       <version>2.7.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>cytoscape-temp</groupId>
+                       <artifactId>lwjgl_test</artifactId>
+                       <version>2.7.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>cytoscape-temp</groupId>
+                       <artifactId>lwjgl_util</artifactId>
+                       <version>2.7.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>cytoscape-temp</groupId>
+                       <artifactId>lwjgl_util_applet</artifactId>
+                       <version>2.7.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>cytoscape-temp</groupId>
+                       <artifactId>lzma</artifactId>
+                       <version>2.7.1</version>
+               </dependency>

Added: csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/deploy.sh
===================================================================
--- csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/deploy.sh   
                        (rev 0)
+++ csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/deploy.sh   
2011-06-13 19:48:51 UTC (rev 25734)
@@ -0,0 +1,8 @@
+mvn install:install-file -Dfile=AppleJavaExtensions.bar 
-DgroupId=cytoscape-temp -DartifactId=AppleJavaExtensions -Dversion=2.7.1 
-Dpackaging=jar
+mvn install:install-file -Dfile=jinput.bar -DgroupId=cytoscape-temp 
-DartifactId=jinput -Dversion=2.7.1 -Dpackaging=jar
+mvn install:install-file -Dfile=lwjgl-debug.bar -DgroupId=cytoscape-temp 
-DartifactId=lwjgl-debug -Dversion=2.7.1 -Dpackaging=jar
+mvn install:install-file -Dfile=lwjgl.bar -DgroupId=cytoscape-temp 
-DartifactId=lwjgl -Dversion=2.7.1 -Dpackaging=jar
+mvn install:install-file -Dfile=lwjgl_test.bar -DgroupId=cytoscape-temp 
-DartifactId=lwjgl_test -Dversion=2.7.1 -Dpackaging=jar
+mvn install:install-file -Dfile=lwjgl_util.bar -DgroupId=cytoscape-temp 
-DartifactId=lwjgl_util -Dversion=2.7.1 -Dpackaging=jar
+mvn install:install-file -Dfile=lwjgl_util_applet.bar -DgroupId=cytoscape-temp 
-DartifactId=lwjgl_util_applet -Dversion=2.7.1 -Dpackaging=jar
+mvn install:install-file -Dfile=lzma.bar -DgroupId=cytoscape-temp 
-DartifactId=lzma -Dversion=2.7.1 -Dpackaging=jar

Added: csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/wrap.sh
===================================================================
--- csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/wrap.sh     
                        (rev 0)
+++ csplugins/trunk/toronto/yuedong/paperwing-impl/misc/deploy-jars/wrap.sh     
2011-06-13 19:48:51 UTC (rev 25734)
@@ -0,0 +1,22 @@
+
+for i in `ls | grep .jar | grep -v aQute`
+do
+       java -jar biz.aQute.bnd.jar wrap $i
+done
+
+rm deploy.sh
+version=2.7.1
+
+for i in `ls | grep .bar | grep -v aQute`
+do
+       #$version=`java -jar biz.aQute.bnd.jar print ${i/.bar/.jar} | grep 
Implementation-Version | sed s/Implementation-Version/""/g | sed s/" "/""/g`
+
+       echo mvn install:install-file -Dfile=$i -DgroupId=cytoscape-temp 
-DartifactId=${i%.bar} -Dversion=$version -Dpackaging=jar >>deploy.sh
+       
+       #echo \<dependency\>
+       #echo "\t"\<groupId\>cytoscape-temp\</groupId\>
+       #echo "\t"\<artifactId\>${i%.bar}\</artifactId\>
+       #echo "\t"\<version\>$version\</version\>
+       #echo \</dependency\>
+done
+

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to