This site requires JavaScript, please enable it in your browser!
Greenfoot back
GregC246
GregC246 wrote ...

2013/6/22

Modifying Greenfoot

GregC246 GregC246

2013/6/22

#
After downloading/editing it, how do you go about recompiling the Greenfoot source code into a usable program?
danpost danpost

2013/6/22

#
If I am understanding your correctly, you just need click on the 'Compile' button at the lower right corner of the Greenfoot window.
JetLennit JetLennit

2013/6/22

#
You will need to get a compiler
GregC246 GregC246

2013/6/22

#
danpost wrote...
If I am understanding your correctly, you just need click on the 'Compile' button at the lower right corner of the Greenfoot window.
No, I mean if I wanted to actually modify the Greenfoot API (Actor, World etc)
JetLennit wrote...
You will need to get a compiler
Well, I figured that. I need to know what exactly to compile, and how to get Greenfoot to run.
davmac davmac

2013/6/23

#
You need Apache Ant and the JDK; the instructions for building are in greenfoot/doc/HOWTO.release (within the source bundle). I personally use Eclipse, which has Ant built-in; see the HOWTO.build-in-eclipse file. Use "ant run-greenfoot" to run Greenfoot (or see Eclipse guide). Be aware that Greenfoot is built on BlueJ. The source bundle includes the source for both BlueJ and Greenfoot. You need to configure and compile them separately.
You need to login to post a reply.