mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
getting serial working again
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
PROCESSING DEVELOPMENT ENVIRONMENT
|
||||
|
||||
(c) 2001-04 Ben Fry and Casey Reas
|
||||
Massachusetts Institute of Technology
|
||||
and Interaction Design Institute Ivrea
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
15
todo.txt
15
todo.txt
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user