getting serial working again

This commit is contained in:
benfry
2004-07-09 22:45:26 +00:00
parent e58720e8c1
commit 1ac3736654
5 changed files with 22 additions and 5 deletions

View File

@@ -335,7 +335,7 @@ public class PdeRuntime implements PdeMessageConsumer {
public void message(String s) {
//System.err.println("M" + s.length() + ":" + s);
System.err.println("M" + s.length() + ":" + s);
// this is PApplet sending a message (via System.out.println)
// that signals that the applet has been quit.
if (s.indexOf(PApplet.EXTERNAL_QUIT) == 0) {

View File

@@ -1,8 +1,6 @@
PROCESSING DEVELOPMENT ENVIRONMENT
(c) 2001-04 Ben Fry and Casey Reas
Massachusetts Institute of Technology
and Interaction Design Institute Ivrea
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

View File

@@ -204,6 +204,10 @@ cd ../..
CLASSPATH="..\\..\\build\\windows\\work\\lib\\core.jar;..\\..\\build\\windows\\work\\java\\lib\\rt.jar"
cd ../../lib/serial
../../build/windows/work/jikes +D -classpath "RXTXcomm.jar;$CLASSPATH" -d . *.java
#../../build/windows/work/jikes +D -classpath "comm.jar;$CLASSPATH" -d . *.java
zip -r0q serial.jar processing
rm -rf processing
../../build/windows/work/jikes +D -classpath "comm.jar;$CLASSPATH" -d . *.java
cp serial.jar "C:\\Documents and Settings\\fry\\My Documents\\sketchbook\\rxtx_work\\code"

View File

@@ -30,7 +30,7 @@ fi
# includes jaws.jar
#CLASSPATH=\"java\\lib\\rt.jar\;java\\lib\\jaws.jar\;lib\;lib\\build\;lib\\pde.jar\;lib\\kjc.jar\;lib\\antlr.jar\;lib\\oro.jar\;lib\\comm.jar\;lib\\RXTXcomm.jar\;${QT_JAVA_PATH}\"
CLASSPATH=\"java\\lib\\rt.jar\;lib\;lib\\build\;lib\\pde.jar\;lib\\core.jar\;lib\\mrj.jar\;lib\\antlr.jar\;lib\\oro.jar\;lib\\comm.jar\;${QT_JAVA_PATH}\"
CLASSPATH=\"java\\lib\\rt.jar\;lib\;lib\\build\;lib\\pde.jar\;lib\\core.jar\;lib\\mrj.jar\;lib\\antlr.jar\;lib\\oro.jar\;${QT_JAVA_PATH}\"
export CLASSPATH
#cd work && ./java/bin/java -Xint PdeBase

View File

@@ -249,6 +249,21 @@ X move around notes about curve stuff
040708 later
X working on serial library
040709
X fight with serial library on windows all afternoon
_ error in System.err stream coming from running external
_ dies after a while or goes weird
_ save as needs to update the editorheader
_ import -> javax.comm.properties -> data folder.. hm
_ String in apache classes and java.lang
_ need to be able to select between which to include
_ auto-resolve by saying java.* wins, others ask
COM1 19200
_ get export working again
_ make multiple jar files thing work.. blech