|
Author |
Topic: Command Line (Read 649 times) |
|
kevin
|
Command Line
« on: Jul 15th, 2003, 1:42pm » |
|
Hey there, Just wondering if it's possible to run proce55ing from the command line. I've seen a few references to it in on this forum but I'm not sure if it's what i'm looking for. I'd like to run it on a server, that I telnet into, and just edit the files remotely, then 'compile' them through p5. Is the IDE seperate to the engine behind p5 like that? It'd be handy for doing batch jobs and larger projects too. Thanks, - Kevin
|
|
|
|
fruminator
|
Re: Command Line
« Reply #1 on: Nov 25th, 2003, 5:09pm » |
|
ditto! also, part of me thinks i may at some point use perl to process data and generate Processing code, and would like to be able to just shoot those results thru processing and save the output. thanks, mike
|
|
|
|
Martin
|
Re: Command Line
« Reply #2 on: Nov 25th, 2003, 5:56pm » |
|
If what you mean by "then 'compile' them through p5" is using the PDE, a quick way to do this is to set your DISPLAY var to a different Xserver then you can run P5 off your server. Otherwise, "the engine behind p5" is just a collection of classes. Meaning... public class MySketch extends BApplet { // where BApplet and the other Bagel classes // are in the same directory as MySketch // or throw them into a jar void setup() { } void loop() { } } Compile this, hook it up with an HTML page and view it on a browser. It would indeed be handy to do ant and make with P5.
|
|
|
|
Martin
|
Re: Command Line
« Reply #3 on: Nov 25th, 2003, 6:01pm » |
|
fruminator, very possible. perl script.pl + script.pl contains . data processor > tmpsketch.java . `javac tmpsketch.java` + tmpsketch.java contains . the usual P5 stuff . System.exit
|
|
|
|
Martin
|
Re: Command Line
« Reply #4 on: Nov 25th, 2003, 6:03pm » |
|
BTW, pls do hit me if you guys come up with something in these lines. I'm always interested in them. Thanks.
|
|
|
|
|