Page 1 of 1

Compiling in Eclipse

PostPosted: 14 Feb 2010, 12:57
by zen
Hi All,
I'm a new contributor to the project and could use some guidance on compiling/running the project in eclipse.
1. I downloaded and imported the project into eclipse.
2. I added the res/lib file to the build path, by:
"Right clicking your project in the Package Explorer -> Build Path -> Add External Archives, now just add all of the JARs found in /res/lib." --DennisBergkamp
3. ??Unsure??
maybe: Run As -> java application ??

any help helps :)

Re: Compiling in Eclipse

PostPosted: 14 Feb 2010, 13:29
by DennisBergkamp
Ok, try this:

In Eclipse, on the left side of the screen (Package Explorer) you should see your Forge project. In there, you should see two sub directories: src and res.
Still from the Package Explorer in Eclipse, open the src directory. In there you should see a bunch more directories (or more correctly, packages). Open the one that says forge. Scroll down and find Gui_NewGame.java. Right click on it -> Run as -> Java Application.

Hope that helps :mrgreen: