mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
preparing build for windows
This commit is contained in:
+26
-11
@@ -33,10 +33,10 @@ else
|
|||||||
# in case one of those little mac poopers show up
|
# in case one of those little mac poopers show up
|
||||||
|
|
||||||
echo Extracting examples...
|
echo Extracting examples...
|
||||||
cd work/sketchbook
|
cd work
|
||||||
unzip -q examples.zip
|
unzip -q examples.zip
|
||||||
rm examples.zip
|
rm examples.zip
|
||||||
cd ../..
|
cd ..
|
||||||
|
|
||||||
echo Extracting reference...
|
echo Extracting reference...
|
||||||
cd work
|
cd work
|
||||||
@@ -59,9 +59,6 @@ else
|
|||||||
chmod +x *.exe *.dll
|
chmod +x *.exe *.dll
|
||||||
chmod +x client/*.dll
|
chmod +x client/*.dll
|
||||||
cd ../../..
|
cd ../../..
|
||||||
#chmod -R +x work/java/bin/*.exe
|
|
||||||
#chmod +x work/java/bin/*.dll
|
|
||||||
#chmod +x work/java/bin/client/*.dll
|
|
||||||
|
|
||||||
mkdir work/lib/export
|
mkdir work/lib/export
|
||||||
mkdir work/lib/build
|
mkdir work/lib/build
|
||||||
@@ -69,7 +66,9 @@ else
|
|||||||
# could be made and checked back in.. interesting
|
# could be made and checked back in.. interesting
|
||||||
mkdir work/classes
|
mkdir work/classes
|
||||||
|
|
||||||
|
# no longer needed with super-release
|
||||||
#cp dist/lib/pde_windows.properties work/lib/
|
#cp dist/lib/pde_windows.properties work/lib/
|
||||||
|
|
||||||
echo Compiling processing.exe
|
echo Compiling processing.exe
|
||||||
cd launcher
|
cd launcher
|
||||||
make && cp processing.exe ../work/
|
make && cp processing.exe ../work/
|
||||||
@@ -148,18 +147,35 @@ CLASSPATH="..\\build\\windows\\work\\java\\lib\\rt.jar;..\\build\\windows\\work\
|
|||||||
export CLASSPATH
|
export CLASSPATH
|
||||||
|
|
||||||
# make version with serial for the application
|
# make version with serial for the application
|
||||||
echo Building bagel with serial, sonic, video, net and jdk13 support
|
#echo Building bagel with serial, sonic, video, net and jdk13 support
|
||||||
perl make.pl JIKES=../build/windows/work/jikes SERIAL SONIC NETWORK VIDEO JDK13
|
#perl make.pl JIKES=../build/windows/work/jikes SERIAL SONIC NETWORK VIDEO JDK13
|
||||||
|
perl make.pl JIKES=../build/windows/work/jikes JDK13
|
||||||
cp classes/*.class ../build/windows/work/classes/
|
cp classes/*.class ../build/windows/work/classes/
|
||||||
|
|
||||||
# still debating on whether to include jdk118 classes..
|
# still debating on whether to include jdk118 classes..
|
||||||
#CLASSPATH="..\\bagel\\jdk118.jar;..\\build\\windows\\work\\lib\\comm.jar;${QT_JAVA_PATH}"
|
#CLASSPATH="..\\bagel\\jdk118.jar;..\\build\\windows\\work\\lib\\comm.jar;${QT_JAVA_PATH}"
|
||||||
|
|
||||||
# make simpler version for applet exporting, only 1.1 functions
|
# make simpler version for applet exporting, only 1.1 functions
|
||||||
echo Building bagel for export with sonic and net support
|
#echo Building bagel for export with sonic and net support
|
||||||
perl make.pl JIKES=../build/windows/work/jikes SONIC NETWORK
|
#perl make.pl JIKES=../build/windows/work/jikes SONIC NETWORK
|
||||||
cp classes/*.class ../build/windows/work/lib/export/
|
#cp classes/*.class ../build/windows/work/lib/export/
|
||||||
|
|
||||||
|
|
||||||
|
echo Building export classes for 1.1
|
||||||
|
rm -f classes/*.class
|
||||||
|
perl make.pl JIKES=../build/windows/work/jikes
|
||||||
|
cd classes
|
||||||
|
zip -0q ../../build/windows/work/lib/export11.jar *.class
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
echo Building export classes for 1.3
|
||||||
|
rm -f classes/*.class
|
||||||
|
perl make.pl JIKES=../build/windows/work/jikes
|
||||||
|
cd classes
|
||||||
|
zip -0q ../../build/windows/work/lib/export13.jar *.class
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# back to processing base dir
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
||||||
@@ -168,7 +184,6 @@ cd ..
|
|||||||
echo Building PDE for JDK 1.4
|
echo Building PDE for JDK 1.4
|
||||||
|
|
||||||
cd app
|
cd app
|
||||||
|
|
||||||
cd preprocessor
|
cd preprocessor
|
||||||
|
|
||||||
# first build the default java goop
|
# first build the default java goop
|
||||||
|
|||||||
Reference in New Issue
Block a user