It is currently 27 Apr 2024, 09:21
   
Text Size

Compiling in Eclipse

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Compiling in Eclipse

Postby zen » 14 Feb 2010, 12:57

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 :)
zen
 
Posts: 27
Joined: 13 Feb 2010, 19:21
Has thanked: 0 time
Been thanked: 0 time

Re: Compiling in Eclipse

Postby DennisBergkamp » 14 Feb 2010, 13:29

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:
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 103 guests


Who is online

In total there are 103 users online :: 0 registered, 0 hidden and 103 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 103 guests

Login Form