FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 851 : patch for processing/build/macosx/make.sh
Last modified: 2008-07-17 04:55
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
satoshi_adachi
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-07-16 03:17
Dear Developers of Processing,
Yesterday, I built Processing (version 0143) from its source code on my Macintosh
(iBook G4). The build procedure failed. I analyzed the log and modified the file processing/build/macosx/make.sh as follows:
-----------------------------------------------------------------------------------------------
---
*** processing/build/macosx/make.sh.org Tue Jul 15 18:48:18 2008
--- processing/build/macosx/make.sh Tue Jul 15 19:27:25 2008
***************
*** 156,162 ****
echo Building net library...
cd ../net
mkdir -p bin
! $JAVAC -d bin src/processing/net/*.java
rm -f library/net.jar
find bin -name "*~" -exec rm -f {} ';'
cd bin && zip -r0q ../library/net.jar processing/net/*.class && cd ..
--- 156,164 ----
echo Building net library...
cd ../net
mkdir -p bin
! $JAVAC \
! -classpath "$CLASSPATH" \
! -d bin src/processing/net/*.java
rm -f library/net.jar
find bin -name "*~" -exec rm -f {} ';'
cd bin && zip -r0q ../library/net.jar processing/net/*.class && cd ..
***************
*** 218,224 ****
echo Building DXF library...
cd ../dxf
mkdir -p bin
! $JAVAC -d bin src/processing/dxf/*.java
rm -f library/dxf.jar
find bin -name "*~" -exec rm -f {} ';'
cd bin && zip -r0q ../library/dxf.jar processing/dxf/*.class && cd ..
--- 220,228 ----
echo Building DXF library...
cd ../dxf
mkdir -p bin
! $JAVAC \
! -classpath "$CLASSPATH" \
! -d bin src/processing/dxf/*.java
rm -f library/dxf.jar
find bin -name "*~" -exec rm -f {} ';'
cd bin && zip -r0q ../library/dxf.jar processing/dxf/*.class && cd ..
***************
*** 230,236 ****
echo Building XML library...
cd ../xml
mkdir -p bin
! $JAVAC -d bin src/processing/xml/*.java
rm -f library/xml.jar
find bin -name "*~" -exec rm -f {} ';'
cd bin && zip -r0q ../library/xml.jar processing/xml/*.class && cd ..
--- 234,242 ----
echo Building XML library...
cd ../xml
mkdir -p bin
! $JAVAC \
! -classpath "$CLASSPATH" \
! -d bin src/processing/xml/*.java
rm -f library/xml.jar
find bin -name "*~" -exec rm -f {} ';'
cd bin && zip -r0q ../library/xml.jar processing/xml/*.class && cd ..
-----------------------------------------------------------------------------------------------
With this modification, the build procedure works fine to make Processing.app.
Sincerely yours,
Satoshi Adachi
Additional Comment
#1 From fry 2008-07-16 09:08
thanks very much, i've incorporated your patch, please let us know if there
are further problems.
Additional Comment
#2 From satoshi_adachi 2008-07-17 02:21
Thank you very much for your rapid response.
I have just downloaded the source code of Processing again and have invoked
make.sh. This time, everything is fine. I have confirmed that the problem is
now fixed. Satoshi Adachi
Additional Comment
#3 From fry 2008-07-17 04:55
thanks again for your help.