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 DevelopmentCore,  Processing Development Environment (PDE) › Organization of source files, regarding Eclipse
Page Index Toggle Pages: 1
Organization of source files, regarding Eclipse (Read 2473 times)
Organization of source files, regarding Eclipse
Sep 24th, 2005, 9:32pm
 
Well, I'm pretty new to the Processing programming thing, but it looks interesting.  However, I'm curious how users of it manage to get it developing under Eclipse?  The source files are both preprocessed -- an odd plan, first -- and kept in a flat directory structure which, for me at least, prevents Eclipse from handling the project correctly.

So, what do you folks do with this?  I can't be the only developer that wants to use Eclipse.
Re: Organization of source files, regarding Eclips
Reply #1 - Sep 26th, 2005, 8:21pm
 
have you seen this thread?

Topic: Processing (Beta) with Eclipse:
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1117133941
Re: Organization of source files, regarding Eclips
Reply #2 - Sep 29th, 2005, 2:29am
 
That's not quite what I was looking for -- although I may be misunderstanding.  I'm looking for how to set up Eclipse to work with the processing core code.  I'm interested in looking at bugs, features, et al in the engine itself.

From what I can see there, though, that's geared more at using processing.  Am I wrong?
Re: Organization of source files, regarding Eclips
Reply #3 - Sep 29th, 2005, 2:50am
 
have you read the build instructions?
http://dev.processing.org/build/
there's also a note re: eclipse in there.

the source files for core are in a subfolder called 'core' inside a directory called 'processing', which should be fine for IDEs expecting the source tree to echo the package setup.

there's no preprocessing, are you looking at some ancient version of the code?
Re: Organization of source files, regarding Eclips
Reply #4 - Sep 29th, 2005, 3:39am
 
In build/Linux/make.sh:

perl preproc.pl

Which does some search/replace to remove chunks of code and other perl-work.  Or at least seems to -- I'm not a Perl guru, so I'm not totally sure, and it does look input-dependent.

Is there a real need for the preprocessing to occur?
Re: Organization of source files, regarding Eclips
Reply #5 - Sep 29th, 2005, 8:03am
 
that takes the public functions from PGraphics and adds them to PApplet. unless you're adding to the api(?) it's not necessary, and the code will build on its own just fine.
Page Index Toggle Pages: 1