Trying to build XMage
by BetaSteward
Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins
Trying to build XMage
by TheLastFlare » 18 Aug 2014, 03:01
So I cloned the project and I'm trying to build it in Netbeans. However, a weird error is appearing.
- Code: Select all
Reactor Summary:
Mage Root ......................................... SUCCESS [0.719s]
Mage Framework .................................... FAILURE [2.484s]
Mage Common Classes ............................... SKIPPED
Mage Sets ......................................... SKIPPED
Mage Server Plugins ............................... SKIPPED
Mage Player AI .................................... SKIPPED
Mage Deck Constructed ............................. SKIPPED
Mage Deck Limited ................................. SKIPPED
Mage Game Commander Two Player .................... SKIPPED
Mage Game Commander Free For All .................. SKIPPED
Mage Game Free For All ............................ SKIPPED
Mage Game Two Player .............................. SKIPPED
Mage Player Human ................................. SKIPPED
Mage Player AI Minimax ............................ SKIPPED
Mage Player AI.MA ................................. SKIPPED
Mage Tournament Booster Draft ..................... SKIPPED
Mage Tournament Sealed ............................ SKIPPED
Mage Tournament Constructed ....................... SKIPPED
Mage Player AI.DraftBot ........................... SKIPPED
Mage Server ....................................... SKIPPED
Mage Plugins ...................................... SKIPPED
Mage Counter Plugin ............................... SKIPPED
Mage Client ....................................... SKIPPED
Mage Theme Plugin ................................. SKIPPED
Mage Player AI MCTS ............................... SKIPPED
Mage Server Console ............................... SKIPPED
Mage Tests ........................................ SKIPPED
Mage Updater ...................................... SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 3.489s
Finished at: Sun Aug 17 19:52:11 PDT 2014
Final Memory: 10M/245M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project mage: Compilation failure
mage/game/combat/CombatGroup.java:[310,28] error: cannot find symbol
-> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
After correcting the problems, you can resume the build with the command
mvn <goals> -rf :mage
- Code: Select all
assigned.replace(blockerOrder.get(0), new Integer(damage + alreadyAssigned));
- TheLastFlare
- Posts: 2
- Joined: 18 Aug 2014, 02:56
- Has thanked: 0 time
- Been thanked: 0 time
Re: Trying to build XMage
by LevelX » 18 Aug 2014, 10:57
Pull the project again. This was a commit with java 1.8 Syntax that is removed/fixed now.
-
LevelX - DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
Re: Trying to build XMage
by TheLastFlare » 18 Aug 2014, 19:57
Ok, so that problem is no longer an issue, but now there are failures in Mage Tests.
- Code: Select all
Results :
Failed tests:
UndyingTest.testWithMassBoost:48->CardTestPlayerAPIImpl.assertPowerToughness:360->CardTestPlayerAPIImpl.assertPowerToughness:346 There is no such creature under player's control with specified power&toughness, player=PlayerA, cardName=Strangleroot Geist (found similar: 1, one of them: power=2 toughness=1)
TestOfFaithTest.testOneAttackerTwoBlockerTwoUsingFaith:114->CardTestPlayerAPIImpl.assertPowerToughness:360->CardTestPlayerAPIImpl.assertPowerToughness:346 There is no such creature under player's control with specified power&toughness, player=PlayerA, cardName=Elvish Mystic (found similar: 1, one of them: power=3 toughness=3)
Tests run: 469, Failures: 2, Errors: 0, Skipped: 6
------------------------------------------------------------------------
Reactor Summary:
Mage Root ......................................... SUCCESS [0.715s]
Mage Framework .................................... SUCCESS [3.366s]
Mage Common Classes ............................... SUCCESS [0.450s]
Mage Sets ......................................... SUCCESS [20.434s]
Mage Server Plugins ............................... SUCCESS [0.005s]
Mage Player AI .................................... SUCCESS [0.879s]
Mage Deck Constructed ............................. SUCCESS [0.204s]
Mage Deck Limited ................................. SUCCESS [0.793s]
Mage Game Commander Two Player .................... SUCCESS [0.183s]
Mage Game Commander Free For All .................. SUCCESS [0.169s]
Mage Game Free For All ............................ SUCCESS [0.158s]
Mage Game Two Player .............................. SUCCESS [0.158s]
Mage Player Human ................................. SUCCESS [0.987s]
Mage Player AI Minimax ............................ SUCCESS [0.819s]
Mage Player AI.MA ................................. SUCCESS [0.199s]
Mage Tournament Booster Draft ..................... SUCCESS [0.181s]
Mage Tournament Sealed ............................ SUCCESS [0.752s]
Mage Tournament Constructed ....................... SUCCESS [0.177s]
Mage Player AI.DraftBot ........................... SUCCESS [3.231s]
Mage Server ....................................... SUCCESS [2.487s]
Mage Plugins ...................................... SUCCESS [0.007s]
Mage Counter Plugin ............................... SUCCESS [0.457s]
Mage Client ....................................... SUCCESS [6.779s]
Mage Theme Plugin ................................. SUCCESS [1.066s]
Mage Player AI MCTS ............................... SUCCESS [1.862s]
Mage Server Console ............................... SUCCESS [1.566s]
Mage Tests ........................................ FAILURE [1:57.770s]
Mage Updater ...................................... SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2:46.177s
Finished at: Mon Aug 18 12:52:26 PDT 2014
Final Memory: 65M/309M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project mage-tests: There are test failures.
Please refer to reports for the individual test results.
-> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
After correcting the problems, you can resume the build with the command
mvn <goals> -rf :mage-tests
- TheLastFlare
- Posts: 2
- Joined: 18 Aug 2014, 02:56
- Has thanked: 0 time
- Been thanked: 0 time
Re: Trying to build XMage
by LevelX » 18 Aug 2014, 20:01
That's ok, that are issues not solved yet so that the tests fail is normal. And Updater isn't working anyway.TheLastFlare wrote:Ok, so that problem is no longer an issue, but now there are failures in Mage Tests.
- Code: Select all
Results :
Failed tests:
UndyingTest.testWithMassBoost:48->CardTestPlayerAPIImpl.assertPowerToughness:360->CardTestPlayerAPIImpl.assertPowerToughness:346 There is no such creature under player's control with specified power&toughness, player=PlayerA, cardName=Strangleroot Geist (found similar: 1, one of them: power=2 toughness=1)
TestOfFaithTest.testOneAttackerTwoBlockerTwoUsingFaith:114->CardTestPlayerAPIImpl.assertPowerToughness:360->CardTestPlayerAPIImpl.assertPowerToughness:346 There is no such creature under player's control with specified power&toughness, player=PlayerA, cardName=Elvish Mystic (found similar: 1, one of them: power=3 toughness=3)
Tests run: 469, Failures: 2, Errors: 0, Skipped: 6
------------------------------------------------------------------------
Reactor Summary:
Mage Root ......................................... SUCCESS [0.715s]
Mage Framework .................................... SUCCESS [3.366s]
Mage Common Classes ............................... SUCCESS [0.450s]
Mage Sets ......................................... SUCCESS [20.434s]
Mage Server Plugins ............................... SUCCESS [0.005s]
Mage Player AI .................................... SUCCESS [0.879s]
Mage Deck Constructed ............................. SUCCESS [0.204s]
Mage Deck Limited ................................. SUCCESS [0.793s]
Mage Game Commander Two Player .................... SUCCESS [0.183s]
Mage Game Commander Free For All .................. SUCCESS [0.169s]
Mage Game Free For All ............................ SUCCESS [0.158s]
Mage Game Two Player .............................. SUCCESS [0.158s]
Mage Player Human ................................. SUCCESS [0.987s]
Mage Player AI Minimax ............................ SUCCESS [0.819s]
Mage Player AI.MA ................................. SUCCESS [0.199s]
Mage Tournament Booster Draft ..................... SUCCESS [0.181s]
Mage Tournament Sealed ............................ SUCCESS [0.752s]
Mage Tournament Constructed ....................... SUCCESS [0.177s]
Mage Player AI.DraftBot ........................... SUCCESS [3.231s]
Mage Server ....................................... SUCCESS [2.487s]
Mage Plugins ...................................... SUCCESS [0.007s]
Mage Counter Plugin ............................... SUCCESS [0.457s]
Mage Client ....................................... SUCCESS [6.779s]
Mage Theme Plugin ................................. SUCCESS [1.066s]
Mage Player AI MCTS ............................... SUCCESS [1.862s]
Mage Server Console ............................... SUCCESS [1.566s]
Mage Tests ........................................ FAILURE [1:57.770s]
Mage Updater ...................................... SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2:46.177s
Finished at: Mon Aug 18 12:52:26 PDT 2014
Final Memory: 65M/309M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project mage-tests: There are test failures.
Please refer to reports for the individual test results.
-> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
After correcting the problems, you can resume the build with the command
mvn <goals> -rf :mage-tests
So your done with building.
-
LevelX - DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 170 guests