mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
adding dxf library
This commit is contained in:
@@ -18,6 +18,7 @@ cp -r ../../net processing/libraries/
|
||||
cp -r ../../opengl processing/libraries/
|
||||
cp -r ../../serial processing/libraries/
|
||||
cp -r ../../pdf processing/libraries/
|
||||
cp -r ../../dxf processing/libraries/
|
||||
|
||||
# new style examples thing ala reas
|
||||
cd processing
|
||||
|
||||
@@ -21,6 +21,7 @@ else
|
||||
cp -r ../../serial work/libraries/
|
||||
cp -r ../../video work/libraries/
|
||||
cp -r ../../pdf work/libraries/
|
||||
cp -r ../../dxf work/libraries/
|
||||
|
||||
cd work
|
||||
unzip -q examples.zip
|
||||
@@ -168,3 +169,14 @@ zip -r0q library/pdf.jar processing
|
||||
rm -rf processing
|
||||
mkdir -p $LIBRARIES/pdf/library/
|
||||
cp library/pdf.jar $LIBRARIES/pdf/library/
|
||||
|
||||
|
||||
# DXF LIBRARY
|
||||
echo Building net library...
|
||||
cd ../dxf
|
||||
$JIKES -target 1.1 +D -d . *.java
|
||||
rm -f library/dxf.jar
|
||||
zip -r0q library/dxf.jar processing
|
||||
rm -rf processing
|
||||
mkdir -p $LIBRARIES/dxf/library/
|
||||
cp library/dxf.jar $LIBRARIES/dxf/library/
|
||||
|
||||
@@ -31,6 +31,7 @@ cp -r ../../opengl processing/libraries/
|
||||
cp -r ../../serial processing/libraries/
|
||||
cp -r ../../video processing/libraries/
|
||||
cp -r ../../pdf processing/libraries/
|
||||
cp -r ../../dxf processing/libraries/
|
||||
|
||||
# new style examples thing ala reas
|
||||
cd processing
|
||||
|
||||
@@ -30,6 +30,7 @@ else
|
||||
cp -r ../../serial work/libraries/
|
||||
cp -r ../../video work/libraries/
|
||||
cp -r ../../pdf work/libraries/
|
||||
cp -r ../../dxf work/libraries/
|
||||
|
||||
echo Extracting examples...
|
||||
cd work
|
||||
@@ -206,6 +207,17 @@ mkdir -p $LIBRARIES/pdf/library/
|
||||
cp library/pdf.jar $LIBRARIES/pdf/library/
|
||||
|
||||
|
||||
# DXF LIBRARY
|
||||
echo Building net library...
|
||||
cd ../dxf
|
||||
$JIKES -target 1.1 +D -d . *.java
|
||||
rm -f library/dxf.jar
|
||||
zip -r0q library/dxf.jar processing
|
||||
rm -rf processing
|
||||
mkdir -p $LIBRARIES/dxf/library/
|
||||
cp library/dxf.jar $LIBRARIES/dxf/library/
|
||||
|
||||
|
||||
CLASSPATH=../$CLASSPATH
|
||||
JIKES=../../build/$PLATFORM/work/jikes
|
||||
CORE=../../build/$PLATFORM/work/lib/core.jar
|
||||
|
||||
@@ -29,6 +29,7 @@ cp -r ../../opengl processing/libraries/
|
||||
cp -r ../../serial processing/libraries/
|
||||
cp -r ../../video processing/libraries/
|
||||
cp -r ../../pdf processing/libraries/
|
||||
cp -r ../../dxf processing/libraries/
|
||||
|
||||
# new style examples thing ala reas
|
||||
cd processing
|
||||
|
||||
@@ -24,6 +24,7 @@ else
|
||||
cp -r ../../serial work/libraries/
|
||||
cp -r ../../video work/libraries/
|
||||
cp -r ../../pdf work/libraries/
|
||||
cp -r ../../dxf work/libraries/
|
||||
|
||||
echo Extracting examples...
|
||||
cd work
|
||||
@@ -219,6 +220,7 @@ rm -rf processing
|
||||
mkdir -p $LIBRARIES/opengl/library/
|
||||
cp library/opengl.jar $LIBRARIES/opengl/library/
|
||||
|
||||
|
||||
# PDF LIBRARY
|
||||
echo Building PDF library...
|
||||
cd ../pdf
|
||||
@@ -229,6 +231,18 @@ rm -rf processing
|
||||
mkdir -p $LIBRARIES/pdf/library/
|
||||
cp library/pdf.jar $LIBRARIES/pdf/library/
|
||||
|
||||
|
||||
# DXF LIBRARY
|
||||
echo Building dxf library...
|
||||
cd ../dxf
|
||||
$JIKES -target 1.1 +D -d . *.java
|
||||
rm -f library/dxf.jar
|
||||
zip -r0q library/dxf.jar processing
|
||||
rm -rf processing
|
||||
mkdir -p $LIBRARIES/dxf/library/
|
||||
cp library/dxf.jar $LIBRARIES/dxf/library/
|
||||
|
||||
|
||||
CLASSPATH="..\\..\\build\\$PLATFORM\\work\\lib\\core.jar;..\\..\\build\\$PLATFORM\\work\\java\\lib\\rt.jar"
|
||||
JIKES=../../build/$PLATFORM/work/jikes
|
||||
CORE=..\\..\\build\\$PLATFORM\\work\\lib\\core.jar
|
||||
|
||||
Reference in New Issue
Block a user