It is currently 23 May 2017, 05:02
   
Text Size

MAGE Join the developers

Moderators: LevelX, North, escplan9, BetaSteward, noxx, fireshoes, Aurum, jeffwadsworth, CCGHQ Admins

Re: MAGE Join the developers

Postby earnshaw1943 » 19 Apr 2017, 09:15

I did do, but I have deleted the project, and re-cloned it again. So I'll do what you say in your last post and make all other necessary changes and fingers crossed it works this time.

Really keen to get the project working as I have never done open source work before and I'm a big Magic fan looking forward to contributing to this fantastic project!!
earnshaw1943
 
Posts: 7
Joined: 12 Apr 2017, 13:29
Has thanked: 0 time
Been thanked: 0 time

Re: MAGE Join the developers

Postby earnshaw1943 » 19 Apr 2017, 10:32

Nah, I've set the Don't Save On Compile for every project and still get a failure on the Mage Sets building. Not sure whether it's NetBeans 8.2 not behaving or something....
earnshaw1943
 
Posts: 7
Joined: 12 Apr 2017, 13:29
Has thanked: 0 time
Been thanked: 0 time

Re: MAGE Join the developers

Postby LevelX » 21 Apr 2017, 05:49

earnshaw1943 wrote:Nah, I've set the Don't Save On Compile for every project and still get a failure on the Mage Sets building. Not sure whether it's NetBeans 8.2 not behaving or something....
Can you post your last error log again?
User avatar
LevelX
DEVELOPER
 
Posts: 1575
Joined: 08 Dec 2011, 15:08
Has thanked: 173 times
Been thanked: 316 times

Re: MAGE Join the developers

Postby earnshaw1943 » 21 Apr 2017, 09:30

Code: Select all
------------------------------------------------------------------------
Building Mage Sets 1.4.22
------------------------------------------------------------------------

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
   
COMPILATION ERROR :

An unknown compilation problem occurred
1 error

Reactor Summary:

Mage Root ......................................... SUCCESS [0.213s]
Mage Framework .................................... SUCCESS [14.352s]
Mage Common Classes ............................... SUCCESS [1.270s]
Mage Sets ......................................... FAILURE [1:49.411s]
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 Game Tiny Leaders Two Player ................. SKIPPED
Mage Game Canadian Highlander Two Player .......... SKIPPED
Mage Game Momir Basic Two Player .................. SKIPPED
Mage Server ....................................... SKIPPED
Mage Plugins ...................................... SKIPPED
Mage Counter Plugin ............................... SKIPPED
Mage Client ....................................... SKIPPED
Mage Player AI MCTS ............................... SKIPPED
Mage Server Console ............................... SKIPPED
Mage Tests ........................................ SKIPPED
Mage Updater ...................................... SKIPPED
XMage Stats Web Service ........................... SKIPPED
Mage Verify ....................................... SKIPPED
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2:05.776s
Finished at: Tue Apr 18 10:42:40 BST 2017
Final Memory: 26M/247M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project mage-sets: Compilation failure
An unknown compilation problem occurred
-> [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-sets
earnshaw1943
 
Posts: 7
Joined: 12 Apr 2017, 13:29
Has thanked: 0 time
Been thanked: 0 time

Re: MAGE Join the developers

Postby LevelX » 21 Apr 2017, 13:35

How much memory has your system?
Which OS?

To which valued did you set the MAVEN_OPS?
To what value is you netbeans_default_options in the [Netbeans]/etc/netbeans.conf file set?

Mine looks like this:
Code: Select all
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"
User avatar
LevelX
DEVELOPER
 
Posts: 1575
Joined: 08 Dec 2011, 15:08
Has thanked: 173 times
Been thanked: 316 times

Re: MAGE Join the developers

Postby earnshaw1943 » 27 Apr 2017, 08:55

Hi,

Sorry about the delay in getting back to you.

My PC is Windows 7 with 24gb memory.

On Mage Sets my "Build project" and "Clean and Build project" properties are:
Env.MAVEN_OPTS=-Xms2048m -Xmx2048m

I have copied your settings for netbeans_default_options (nothing changed when I tried to build).

Cheers
Simon.
earnshaw1943
 
Posts: 7
Joined: 12 Apr 2017, 13:29
Has thanked: 0 time
Been thanked: 0 time

Re: MAGE Join the developers

Postby LevelX » 27 Apr 2017, 13:28

earnshaw1943 wrote:Hi,

Sorry about the delay in getting back to you.

My PC is Windows 7 with 24gb memory.

On Mage Sets my "Build project" and "Clean and Build project" properties are:
Env.MAVEN_OPTS=-Xms2048m -Xmx2048m

I have copied your settings for netbeans_default_options (nothing changed when I tried to build).

Cheers
Simon.
Looks good so far.

Which java version is installed on your system?

And if you start the build and display the system processes you should see an extra process for java building. Check how much memory this job allocates .
It should look similar to this image and the xms and xmx options should be visible in the detached java process.
Netbeans.jpg



Otherwise I would recommend to uninstall Netbeans & Java and reinstall the bundle.
http://www.oracle.com/technetwork/artic ... 42931.html

And try again.
User avatar
LevelX
DEVELOPER
 
Posts: 1575
Joined: 08 Dec 2011, 15:08
Has thanked: 173 times
Been thanked: 316 times

Re: MAGE Join the developers

Postby earnshaw1943 » 28 Apr 2017, 09:00

Which version would you install? the 32 or 64bit version?
earnshaw1943
 
Posts: 7
Joined: 12 Apr 2017, 13:29
Has thanked: 0 time
Been thanked: 0 time

Re: MAGE Join the developers

Postby LevelX » 28 Apr 2017, 21:53

earnshaw1943 wrote:Which version would you install? the 32 or 64bit version?
If possible the 64 bit version.
User avatar
LevelX
DEVELOPER
 
Posts: 1575
Joined: 08 Dec 2011, 15:08
Has thanked: 173 times
Been thanked: 316 times

Previous

Return to Developers Talk

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 2 guests

Login Form