[Swift-commit] r4638 - in usertools/plotter: . etc old_scripts src/plotter

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Mon Jun 20 14:57:26 CDT 2011


Author: wozniak
Date: 2011-06-20 14:57:26 -0500 (Mon, 20 Jun 2011)
New Revision: 4638

Added:
   usertools/plotter/classpath.zsh
Removed:
   usertools/plotter/old_scripts/classpath.zsh
Modified:
   usertools/plotter/etc/manifest
   usertools/plotter/src/plotter/Lines.java
   usertools/plotter/swift_plotter.zsh
Log:
Use classpath.zsh script...


Copied: usertools/plotter/classpath.zsh (from rev 4636, usertools/plotter/old_scripts/classpath.zsh)
===================================================================
--- usertools/plotter/classpath.zsh	                        (rev 0)
+++ usertools/plotter/classpath.zsh	2011-06-20 19:57:26 UTC (rev 4638)
@@ -0,0 +1,17 @@
+
+# Source this to set up classpath for plotter runs
+# classpath stored in ${CP}
+
+if [[ $( uname ) == CYGWIN* ]]
+then
+    typeset -T CP cp ";"
+    cp+=c:/cygwin${PLOTTERS}/src
+    for jar in ${PLOTTERS}/lib/*.jar
+    do
+      cp+=c:/cygwin${jar}
+    done
+else
+    typeset -T CP cp
+    CP=${CLASSPATH}:${PLOTTERS}/src
+    cp+=( ${PLOTTERS}/lib/*.jar )
+fi

Modified: usertools/plotter/etc/manifest
===================================================================
--- usertools/plotter/etc/manifest	2011-06-20 19:56:52 UTC (rev 4637)
+++ usertools/plotter/etc/manifest	2011-06-20 19:57:26 UTC (rev 4638)
@@ -1,10 +1,10 @@
-Class-Path: build 
- colt.jar 
- java-getopt-1.0.13.jar 
- jfreechart-1.0.13.jar 
- xmlgraphics-commons-1.4svn.jar 
- commons-io-1.4.jar 
- jcommon-1.0.16.jar 
+Class-Path: build
+ colt.jar
+ java-getopt-1.0.13.jar
+ jfreechart-1.0.13.jar
+ xmlgraphics-commons-1.4svn.jar
+ commons-io-1.4.jar
+ jcommon-1.0.16.jar
  junit.jar
-Main-Class: Plotter
+Main-Class: plotter.Plotter
 

Deleted: usertools/plotter/old_scripts/classpath.zsh
===================================================================
--- usertools/plotter/old_scripts/classpath.zsh	2011-06-20 19:56:52 UTC (rev 4637)
+++ usertools/plotter/old_scripts/classpath.zsh	2011-06-20 19:57:26 UTC (rev 4638)
@@ -1,17 +0,0 @@
-
-# Source this to set up classpath for plotter runs
-# classpath stored in ${CP}
-
-if [[ $( uname ) == CYGWIN* ]]
-then
-    typeset -T CP cp ";"
-    cp+=c:/cygwin${PLOTTERS}/src
-    for jar in ${PLOTTERS}/lib/*.jar
-    do
-      cp+=c:/cygwin${jar}
-    done
-else
-    typeset -T CP cp
-    CP=${CLASSPATH}:${PLOTTERS}/src
-    cp+=( ${PLOTTERS}/lib/*.jar )
-fi

Modified: usertools/plotter/src/plotter/Lines.java
===================================================================
--- usertools/plotter/src/plotter/Lines.java	2011-06-20 19:56:52 UTC (rev 4637)
+++ usertools/plotter/src/plotter/Lines.java	2011-06-20 19:57:26 UTC (rev 4638)
@@ -1,3 +1,4 @@
+
 package plotter;
 
 import gnu.getopt.Getopt;

Modified: usertools/plotter/swift_plotter.zsh
===================================================================
--- usertools/plotter/swift_plotter.zsh	2011-06-20 19:56:52 UTC (rev 4637)
+++ usertools/plotter/swift_plotter.zsh	2011-06-20 19:57:26 UTC (rev 4638)
@@ -1,11 +1,15 @@
 #!/bin/zsh
 
-#PLOTTERS=$( cd $( dirname $0 ) ; /bin/pwd )
+PLOTTERS=$( cd $( dirname $0 ) ; /bin/pwd )
 
 # declare -p PLOTTERS
 
-#source ${PLOTTERS}/classpath.zsh
+source ${PLOTTERS}/classpath.zsh
 #[[ $? != 0 ]] && print "Could not build CLASSPATH!" && return 1
 
-#java -ea -cp ${CP} plotter.Plotter ${*}
-java -jar lib/plotter.jar ${*}
+if [[ ${PLOTTER_DEBUG} != "" ]]
+then
+  DEBUG="-agentlib:jdwp=transport=dt_socket,server=y,address=1230"
+fi
+
+java -ea ${DEBUG} -jar lib/plotter.jar ${*}




More information about the Swift-commit mailing list