It is currently 24 Apr 2024, 02:11
   
Text Size

development environment setup issues

Post MTG Forge Related Programming Questions Here

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

development environment setup issues

Postby christoph » 01 Feb 2015, 13:58

Hi together,

I really think mtg forge is an awesome piece of software and I really would like to participate in its development.
So, I just worked through the wiki how-to setting up the eclipse environment. Actually it looks quite good, but im having two issues:

- If i click run as on the forge project it doesn't give me the option "run as java application" as it says in the how-to.
- Also the "go to declaration" feature (f3) fails with : "Problems opening an editor: Reason forge-TRUNK does not exist"

Does anyone know a solution for these problems? That would be highly appreciated.
Also i would like to know what's the best way to get into the card scripting meta language? The wiki article doesn't really clear it up for me.

Thanks in advance.

Regards,

Christoph
christoph
 
Posts: 1
Joined: 01 Feb 2015, 13:42
Has thanked: 0 time
Been thanked: 0 time

Re: development environment setup issues

Postby drdev » 01 Feb 2015, 14:07

You need to run Main.java in forge-gui-desktop as a Java Application. To run the mobile app, you can run Main.java in forge-gui-mobile-dev as a Java Application. Setting up Run Configurations in advance helps, since just clicking the Run or Debug buttons works off of whatever module is associated with the currently active file, which will often be neither of these modules.

Hope that helps.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 43 guests


Who is online

In total there are 43 users online :: 0 registered, 0 hidden and 43 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 43 guests

Login Form