Author: jm
Date: 2011-09-13 10:43:52 -0700 (Tue, 13 Sep 2011)
New Revision: 26777

Added:
   csplugins/trunk/toronto/jm/cytoscape-temp/freehep.sh
Log:
Added script for deploying freehep JARs


Added: csplugins/trunk/toronto/jm/cytoscape-temp/freehep.sh
===================================================================
--- csplugins/trunk/toronto/jm/cytoscape-temp/freehep.sh                        
        (rev 0)
+++ csplugins/trunk/toronto/jm/cytoscape-temp/freehep.sh        2011-09-13 
17:43:52 UTC (rev 26777)
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+FREEHEP_VERSION=2.1.3
+
+mkdir build
+pushd build
+
+curl -OL 
https://github.com/freehep/freehep-vectorgraphics/tarball/vectorgraphics-${FREEHEP_VERSION}
 || exit
+
+tar xvzf vectorgraphics-${FREEHEP_VERSION} || exit
+pushd freehep-freehep-vectorgraphics-*
+
+mvn clean package || exit
+
+for JAR in */target/*.jar
+do
+    bnd wrap ${JAR}
+done
+
+for BAR in */target/*.bar
+do
+    ARTIFACT_ID=$(dirname $(dirname ${BAR}))
+    mvn deploy:deploy-file -DgroupId=cytoscape-temp 
-DartifactId=${ARTIFACT_ID} -Dversion=${FREEHEP_VERSION} -Dpackaging=jar 
-Dfile=${BAR} -DrepositoryId=thirdparty 
-Durl=http://code.cytoscape.org/nexus/content/repositories/thirdparty/
+done
+
+popd
+
+popd
+rm -rf build
\ No newline at end of file


Property changes on: csplugins/trunk/toronto/jm/cytoscape-temp/freehep.sh
___________________________________________________________________
Added: svn:executable
   + *

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