MAGE Join the developers
Moderators: BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, North, CCGHQ Admins
Re: MAGE Join the developers
 by earnshaw1943 » 19 Apr 2017, 09:15
by 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!!
			
		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
 by earnshaw1943 » 19 Apr 2017, 10:32
by 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
 by LevelX » 21 Apr 2017, 05:49
by LevelX » 21 Apr 2017, 05:49 
Can you post your last error log again?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....
- 
				 
 LevelX
- DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
Re: MAGE Join the developers
 by earnshaw1943 » 21 Apr 2017, 09:30
by 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
 by LevelX » 21 Apr 2017, 13:35
by 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:
			
		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"
- 
				 
 LevelX
- DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
Re: MAGE Join the developers
 by earnshaw1943 » 27 Apr 2017, 08:55
by 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.
			
		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
 by LevelX » 27 Apr 2017, 13:28
by LevelX » 27 Apr 2017, 13:28 
Looks good so far.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.
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.
Otherwise I would recommend to uninstall Netbeans & Java and reinstall the bundle.
http://www.oracle.com/technetwork/artic ... 42931.html
And try again.
- 
				 
 LevelX
- DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
Re: MAGE Join the developers
 by earnshaw1943 » 28 Apr 2017, 09:00
by 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
 by LevelX » 28 Apr 2017, 21:53
by LevelX » 28 Apr 2017, 21:53 
If possible the 64 bit version.earnshaw1943 wrote:Which version would you install? the 32 or 64bit version?
- 
				 
 LevelX
- DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
Re: MAGE Join the developers
 by Zoletres » 14 Mar 2018, 09:16
by Zoletres » 14 Mar 2018, 09:16 
Does any have a video or some other way explaining how to get development running on your computer? I've read the guide multiple time, it's not clear! I feel like too many people have written in it, nothing seems to be working for me.
			
		- Zoletres
- Posts: 2
- Joined: 31 Jan 2018, 05:04
- Has thanked: 0 time
- Been thanked: 0 time
Re: MAGE Join the developers
 by cimaxwell » 30 Mar 2020, 23:54
by cimaxwell » 30 Mar 2020, 23:54 
Hello, I am new to the world of game design but have a background in Java. This is the first project I have taken an interest in, and I would love to help any way I can. I will check the git issues, but If I can help with anything on here please let me know.
			
		- cimaxwell
- Posts: 1
- Joined: 30 Mar 2020, 23:43
- Has thanked: 0 time
- Been thanked: 0 time
Re: MAGE Join the developers
 by ErikT63 » 30 Apr 2020, 16:17
by ErikT63 » 30 Apr 2020, 16:17 
Hi, 
I'm new to java oop and trying to find ways to contribute also. I have spent a couple weeks getting everything set up so I can make changes and try things out. I would love to spend time working together with others new to project (i.e. I need someone who I can ask many dumb questions). If anyone is interested in working together on one of the 'good first issues', please contact me.
So far I haven't been able to do the simple things. I thought correcting punctuation and capitalization errors in rules would be a straight forward task I could do. So far I have not been able to find where the rules text for each card is kept in the code. Is it auto-generated? If so, how to correct things like grammar, spaces and capitalization?
I have also been working on implementing the original owner in the tool tip pop-up. (First on the list, of good first issues). I got stuck trying to get the username from a player UUID. I was probably going about it the wrong way. I thought I should try to add an original owner to the card view class. Then write a method to get the users name by looking up UUIDs from the game session manager. Does this sound like the right idea? Which places in the code should I be looking at?
So yeah, if you want to team up let me know. Or if you have any other advice, I'd be happy to hear it. Thanks!
			
		I'm new to java oop and trying to find ways to contribute also. I have spent a couple weeks getting everything set up so I can make changes and try things out. I would love to spend time working together with others new to project (i.e. I need someone who I can ask many dumb questions). If anyone is interested in working together on one of the 'good first issues', please contact me.
So far I haven't been able to do the simple things. I thought correcting punctuation and capitalization errors in rules would be a straight forward task I could do. So far I have not been able to find where the rules text for each card is kept in the code. Is it auto-generated? If so, how to correct things like grammar, spaces and capitalization?
I have also been working on implementing the original owner in the tool tip pop-up. (First on the list, of good first issues). I got stuck trying to get the username from a player UUID. I was probably going about it the wrong way. I thought I should try to add an original owner to the card view class. Then write a method to get the users name by looking up UUIDs from the game session manager. Does this sound like the right idea? Which places in the code should I be looking at?
So yeah, if you want to team up let me know. Or if you have any other advice, I'd be happy to hear it. Thanks!
- ErikT63
- Posts: 4
- Joined: 11 Apr 2020, 19:08
- Has thanked: 0 time
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 0 guests
