Author: paperwing
Date: 2011-06-13 11:34:46 -0700 (Mon, 13 Jun 2011)
New Revision: 25731
Added:
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/run-plugin.sh
csplugins/trunk/toronto/yuedong/paperwing-impl/misc/update-bundles.sh
Log:
Added: csplugins/trunk/toronto/yuedong/paperwing-impl/misc/run-plugin.sh
===================================================================
--- csplugins/trunk/toronto/yuedong/paperwing-impl/misc/run-plugin.sh
(rev 0)
+++ csplugins/trunk/toronto/yuedong/paperwing-impl/misc/run-plugin.sh
2011-06-13 18:34:46 UTC (rev 25731)
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+path1=/Users/yuedong/Documents/workspace/paperwing-impl
+plugin=target/paperwing-impl-1.0-SNAPSHOT.jar
+path2=/Users/yuedong/Documents/workspace/gui-distribution/distribution/target/cytoscape-3.0.0-M3-SNAPSHOT/cytoscape-3.0.0-M3-SNAPSHOT/bundles/plugins
+
+if test $# -eq 0; then
+
+ echo Building plugin..
+ cd $path1
+ mvn -o clean install
+ if test $? -ne 0; then
+ echo Build failed
+ exit 1
+ fi
+
+ echo Moving plugin to directory..
+ cp $plugin $path2
+ if test $? -ne 0; then
+ echo Copy failed
+ exit 1
+ fi
+fi
+
+echo Running Cytoscape..
+cd
/Users/yuedong/Documents/workspace/gui-distribution/distribution/target/cytoscape-3.0.0-M3-SNAPSHOT/cytoscape-3.0.0-M3-SNAPSHOT
+sh cytoscape.sh
+
+
Added: csplugins/trunk/toronto/yuedong/paperwing-impl/misc/update-bundles.sh
===================================================================
--- csplugins/trunk/toronto/yuedong/paperwing-impl/misc/update-bundles.sh
(rev 0)
+++ csplugins/trunk/toronto/yuedong/paperwing-impl/misc/update-bundles.sh
2011-06-13 18:34:46 UTC (rev 25731)
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+bundle1=/Users/yuedong/Documents/workspace/presentation-impl
+bundle2=/Users/yuedong/Documents/workspace/swing-application-impl
+bundle3=/Users/yuedong/Documents/workspace/vizmap-gui-impl
+output=/dev/null
+
+echo Building $bundle1
+cd $bundle1
+mvn install
+
+echo Building $bundle2
+cd $bundle2
+mvn install
+
+echo Building $bundle3
+cd $bundle3
+mvn install
+
+echo Clearing startlevel-3..
+rm
/Users/yuedong/Documents/workspace/gui-distribution/distribution/target/cytoscape-3.0.0-M3-SNAPSHOT/cytoscape-3.0.0-M3-SNAPSHOT/bundles/startlevel-3/*
+
+echo Bulding Cytoscape..
+cd /Users/yuedong/Documents/workspace/gui-distribution
+mvn install
\ No newline at end of file
--
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.