Bug 298 : linux processing shell script
Last modified: 2006-03-21 15:47




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P3
Severity:
normal

 

Reporter:
Lourens
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2006-03-02 01:38
Hello,

It seems to me that the processing shell script which comes with 0106 is
not correct. First of all there is something around line 10 in the PATH,
there is `pwd`/`dirname $0`. I believe just `dirname $0` should be enough.
Second the CLASSPATH is relative so when I have added 'cd `dirname $0' on
top of the script it started all working.

P.S. This is relevant when you store the files in /usr/local/processing and
put it in your PATH to run it anywhere in your terminal. When you run it
from a icon-based window manager you can simply set a working directory to
make it work?

Lourens.
Additional Comment #1 From fry 2006-03-06 02:15
generally it's set to work only from that current working directory but i'll look into tweaking
things a bit so that it works more generally. the scripts for the exported applications are a bit
better about this, so it's partly a matter of just including more of that.
Additional Comment #2 From fry 2006-03-21 15:46
some testing reveals that the only way to really solve this properly is to cd to the processing
directory before executing "java processing.app.Base". so the script has been updated again for
revision 0109 and we'll see how that works.