Author: jm
Date: 2012-06-05 11:40:19 -0700 (Tue, 05 Jun 2012)
New Revision: 29462
Added:
csplugins/trunk/toronto/jm/cytoscape-temp/gen-others.py
Modified:
csplugins/trunk/toronto/jm/cytoscape-temp/freehep-io.sh
csplugins/trunk/toronto/jm/cytoscape-temp/freehep-vectorgraphics.sh
Log:
Updated scripts for packaging freehep, colt, and other dependencies that live
in cytoscape-temp
Modified: csplugins/trunk/toronto/jm/cytoscape-temp/freehep-io.sh
===================================================================
--- csplugins/trunk/toronto/jm/cytoscape-temp/freehep-io.sh 2012-06-05
18:26:11 UTC (rev 29461)
+++ csplugins/trunk/toronto/jm/cytoscape-temp/freehep-io.sh 2012-06-05
18:40:19 UTC (rev 29462)
@@ -17,11 +17,9 @@
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
+ARTIFACT_ID=freehep-io
+BAR=target/freehep-io-${FREEHEP_VERSION}.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/
popd
Modified: csplugins/trunk/toronto/jm/cytoscape-temp/freehep-vectorgraphics.sh
===================================================================
--- csplugins/trunk/toronto/jm/cytoscape-temp/freehep-vectorgraphics.sh
2012-06-05 18:26:11 UTC (rev 29461)
+++ csplugins/trunk/toronto/jm/cytoscape-temp/freehep-vectorgraphics.sh
2012-06-05 18:40:19 UTC (rev 29462)
@@ -17,6 +17,7 @@
bnd wrap ${JAR}
done
+rm pom.xml
for BAR in */target/*.bar
do
ARTIFACT_ID=$(dirname $(dirname ${BAR}))
Added: csplugins/trunk/toronto/jm/cytoscape-temp/gen-others.py
===================================================================
--- csplugins/trunk/toronto/jm/cytoscape-temp/gen-others.py
(rev 0)
+++ csplugins/trunk/toronto/jm/cytoscape-temp/gen-others.py 2012-06-05
18:40:19 UTC (rev 29462)
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+
+sources = [
+ ['commons-codec', 'commons-codec', '1.3'],
+ ['net.sourceforge.collections', 'collections-generic', '4.01'],
+ ['commons-httpclient', 'commons-httpclient', '3.1'],
+ ['net.sf.opencsv', 'opencsv', '2.1'],
+ ['colt', 'colt', '1.2.0'],
+]
+
+for source in sources:
+ group, artifact, version = source
+ group_path = group.replace('.', '/')
+ print 'curl -O
http://code.cytoscape.org/nexus/content/repositories/public/%s/%s/%s/%s-%s.jar'
% (group_path, artifact, version, artifact, version)
+ print 'bnd wrap %s-%s.jar' % (artifact, version)
+ print '''mvn deploy:deploy-file -DgroupId=cytoscape-temp -DartifactId=%s
-Dversion=%s -Dpackaging=jar -Dfile=%s-%s.bar -DrepositoryId=thirdparty
-Durl=http://cytoscape.wodaklab.org/nexus/content/repositories/thirdparty/''' %
(artifact, version, artifact, version)
Property changes on: csplugins/trunk/toronto/jm/cytoscape-temp/gen-others.py
___________________________________________________________________
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.