fixes to the windows build and dist scripts

This commit is contained in:
benfry
2003-08-03 21:03:01 +00:00
parent 478e6078b7
commit 1b58dc8289
3 changed files with 30 additions and 45 deletions

View File

@@ -36,9 +36,10 @@ cd processing
unzip -q reference.zip
# necessary for launching reference from shell/command prompt
# which is done internally to view reference
cd reference
chmod -R +x *.html
cd ..
chmod +x reference/*.html
# needed by 'help' menu
chmod +x reference/environment/*.html
# get rid of the zip file
rm reference.zip
cd ..
@@ -61,7 +62,6 @@ chmod +x processing/jikes.exe
cp launcher/processing.exe processing/
cp dist/run.bat processing/
cp dist/lib/pde_windows.properties processing/lib/
#cp dist/lib/comm.jar processing/lib/
# get serial stuff from the bagel dir
cp ../../bagel/serial/comm.jar processing/lib/

View File

@@ -21,12 +21,12 @@ else
echo Extracting reference...
cd work
unzip -q reference.zip
# necessary for launching reference from shell/command prompt
# which is done internally to view reference
cd reference
chmod -R +x *.html
cd ..
chmod +x reference/*.html
# needed by 'help' menu
chmod +x reference/environment/*.html
# chmod -R +x *.html doesn't seem to work
rm reference.zip
cd ..
@@ -92,24 +92,16 @@ unset JIKESPATH
if test -d /cygdrive/c/WINNT
then
# windows 2000 or nt
# Windows 2000 or NT
QT_JAVA_PATH="C:\\WINNT\\system32\\QTJava.zip"
else
# other versions of windows, including xp
# Windows 95, 98, ME and XP (does it really run on 95?)
QT_JAVA_PATH="C:\\WINDOWS\\system32\\QTJava.zip"
fi
# another alternative
#QT_JAVA_PATH=../build/shared/lib/qtjava.zip
# regular version
#CLASSPATH="..\\build\\windows\\work\\java\\lib\\rt.jar;..\\build\\windows\\work\\java\\lib\\ext\\comm.jar;${QT_JAVA_PATH}"
# new regular version
CLASSPATH="..\\build\\windows\\work\\java\\lib\\rt.jar;..\\build\\windows\\work\\lib\\comm.jar;${QT_JAVA_PATH}"
# rxtx version
#CLASSPATH="..\\build\\windows\\work\\java\\lib\\rt.jar;..\\build\\windows\\work\\java\\lib\\ext\\RXTXcomm.jar;${QT_JAVA_PATH}"
# make version with serial for the application
echo Building bagel with serial, sonic, video and jdk13 support
perl make.pl SERIAL SONIC VIDEO JDK13
@@ -129,24 +121,11 @@ echo Building PDE for JDK 1.4
cd app
# rxtx version
#CLASSPATH="..\\build\\windows\\work\\classes;..\\build\\windows\\work\\lib\\kjc.jar;..\\build\\windows\\work\\lib\\oro.jar;..\\build\\windows\\work\\java\\lib\\rt.jar;..\\build\\windows\\work\\java\\lib\\ext\\RXTXcomm.jar;${QT_JAVA_PATH}"
# original version
#CLASSPATH="..\\build\\windows\\work\\classes;..\\build\\windows\\work\\lib\\kjc.jar;..\\build\\windows\\work\\lib\\oro.jar;..\\build\\windows\\work\\java\\lib\\rt.jar;..\\build\\windows\\work\\java\\lib\\ext\\comm.jar;${QT_JAVA_PATH}"
# new javax.comm location
CLASSPATH="..\\build\\windows\\work\\classes;..\\build\\windows\\work\\lib\\kjc.jar;..\\build\\windows\\work\\lib\\oro.jar;..\\build\\windows\\work\\java\\lib\\rt.jar;..\\build\\windows\\work\\lib\\comm.jar;${QT_JAVA_PATH}"
# version for javac/1.1 testing
#CLASSPATH="..\\build\\windows\\work\\classes;..\\build\\windows\\work\\lib\\kjc.jar;..\\build\\windows\\work\\lib\\oro.jar;..\\build\\windows\\work\\java\\lib\\rt.jar;..\\build\\windows\\work\\java\\lib\\ext\\comm.jar;..\\build\\macos9\\JDKClasses.zip;..\\build\\macos9\\JDKToolsClasses.zip"
perl ../bagel/buzz.pl "jikes +D -classpath \"$CLASSPATH\" -d \"..\\build\\windows\\work/classes\"" -dJDK13 -dJDK14 *.java jeditsyntax/*.java
# version for javac/1.1 testing
#perl ../bagel/buzz.pl "jikes -target 1.1 +D -classpath \"$CLASSPATH\" -d \"..\\build\\windows\\work/classes\"" -dJAVAC *.java jeditsyntax/*.java
#perl ../bagel/buzz.pl "javac -classpath \"$CLASSPATH\" -d \"..\\build\\windows\\work/classes\"" -dJAVAC *.java jeditsyntax/*.java
cd ../build/windows/work/classes
rm -f ../lib/pde.jar
zip -0q ../lib/pde.jar *.class

View File

@@ -74,10 +74,18 @@ X the multiple thread killing code was in there for a reason
X not tested on macos9..
X hiding the cursor. noCursor(), cursor()/cursor(ARROW), cursor(HAND), cursor(CROSS), cursor(image_file)
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1059485109
X default size of console is bad..
o prolly need to stuff in 4 blank lines
o runtime exceptions not coming through on either mac or windows
X works fine on windows
X when array wasn't large enough for curveMode, blank red line
[dh] X export to .pde file rather than java
[dh] X or at least link to that from the web page
[dh] X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1046250912
[dh] o background of menus on winxp is white
[dh] X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1051303115
macosx
@@ -165,7 +173,17 @@ dh b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software
BEN'S PILE OF NEAR-IMMEDIACY (assume there's a bf next to all these)
_ perlin noise should be tested for 1d case
_ test to make sure cursor code works in vm
_ modify bagel building to include JDK13 flag
_ and behaves properly in a browser
_ do objects need to be swing components to draw properly?
_ macosx has update weirdness for non JComponent items
_ probably why end of text messages under osx getting chopped?
macosx
_ test to see if runtime exceptions are comign through
_ get jikes118 in there.. also in cvs
_ add note to instructions for how to use
_ what's hanging the application on start in 1.4?
@@ -184,9 +202,6 @@ X should cvs be changed or just do this as a renaming step?
X changed in cvs
_ jikes is not properly wired to Proce55ing.app
_ puts a couple dots on random lines
_ do objects need to be swing components to draw properly?
_ macosx has update weirdness for non JComponent items
_ probably why end of text messages under osx getting chopped?
serial port work
_ modify build scripts for rxtx on osx
@@ -203,15 +218,8 @@ _ write script to handle installation, etc.
_ (maybe do this from inside p5?)
o will need to be done for gl4java as well
_ if dimming serial menu, put up another message
_ modify bagel building to include JDK13 flag
_ test to make sure cursor code works in vm
_ and behaves properly in a browser
57 _ runtime exceptions not coming through on either mac or windows
57 _ when array wasn't large enough for curveMode, blank red line
57 _ perlin noise should be tested for 1d case
_ remove serial folder for windows
_ modify readme for the expert version
linux
@@ -722,8 +730,6 @@ dh b _ objects probably not getting finalized
dh b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1050134854;start=0
dh 1 _ beautify() ignores colons for case statements
dh 1 _ need to tie this to the parser instead
dh 1 _ background of menus on winxp is white
dh 1 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1051303115
dh 1 _ SystemColor doesn't differentiate between menu background and top
dh 1 _ probably fixed in swing, but we're using java.awt.Menu
dh 1 _ test by rewriting with java.awt.Menu