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.
IndexProcessing DevelopmentLibraries,  Tool Development › Processing via Build Script
Page Index Toggle Pages: 1
Processing via Build Script (Read 792 times)
Processing via Build Script
Jun 17th, 2009, 10:22pm
 
I like the simplicity of coding in Processing, but I found myself hitting against a wall when it came to things like using some of the newer Java features. I had to break into Eclipse, which is a behemoth of an app. It took so long to get a project started an link up all the libraries that I usually lost track of what I was going to make by the time I set up the project. I ended up with giant "playground" projects with tons of unrelated code in them.

So in an effort to come up with something better, I made a build script that will load in all the jars, native libs and data, and run your sketch. It's currently living on GitHub here:

http://github.com/notlion/rake-p5/tree/master

After you download it, you'll need to get "rake" which is the build software i'm using. OS X comes with a version of rake but there's a few extra features in the new version I needed.

Type "sudo gem install rake" into Terminal, enter your password and let it download the new version.

After that's done you're ready to go.

just cd to the demo project folder and type:
"rake build" or just "rake" to compile the sketch
"rake run" to run it =)

Hopefully that works and you've got som random spinny text on your screen!

Hope that helps someone!

ryan
Page Index Toggle Pages: 1