We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › command-line for OS X
Page Index Toggle Pages: 1
command-line for OS X (Read 1491 times)
command-line for OS X
Jun 16th, 2010, 11:32am
 
Processing looks like a nice library for doing 3D animation on top of Java, but I'd just as soon do my own IDE.  On OS X.  So I'm interested in using a command-line version of Processing on OS X.

I didn't see anything in Processing.app -- is there such a tool?  Did I miss it?

So I wrote my own:

Code:

#!/bin/sh

JAVAROOT=/Applications/Processing.app/Contents/Resources/Java
CLASSPATH=${JAVAROOT}/pde.jar:${JAVAROOT}/core.jar:${JAVAROOT}/ant.jar:${JAVAROOT}/ant-launcher.jar:${JAVAROOT}/antlr.jar:${JAVAROOT}/ecj.jar:${JAVAROOT}/jna.jar:${JAVAROOT}/quaqua.jar

/usr/bin/java -classpath "${CLASSPATH}" -Xms128M -Xmx500M "-Djavaroot=${JAVAROOT}" -Dcom.apple.hwaccel=true -Dapple.awt.graphics.useQuartz -Djava.library.path=${JAVAROOT}


Seem about right?  How about including something like this in the app bundle for the OS X distribution?

Thanks.


Page Index Toggle Pages: 1