Compiling in Eclipse
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Compiling in Eclipse
by 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
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
by 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
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
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 103 guests