It is currently 19 Apr 2024, 06:23
   
Text Size

Forge Version 1.5.39 (And Beyond)

Post MTG Forge Related Programming Questions Here

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

Re: Forge Version 1.5.39 (And Beyond)

Postby Agetian » 27 May 2015, 16:25

PMed Rob but I don't have a reply yet so I can't post to the bug tracker just yet. :)

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Forge Version 1.5.39 (And Beyond)

Postby friarsol » 27 May 2015, 20:46

Agetian wrote:PMed Rob but I don't have a reply yet so I can't post to the bug tracker just yet. :)

- Agetian
Did you create an account for yourself? http://cardforge.org/bugz/signup_page.php

A few of us have manager privileges there to grant closing privileges, but even normal users can post bugs.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge Version 1.5.39 (And Beyond)

Postby Rob Cashwalker » 29 May 2015, 02:31

Just logged into this forum after a while...

I'm not sure I remember my bug tracker logins either...

You definitely need to create the account first to post bugs, then get elevated permissions to manage bugs.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Forge Version 1.5.39 (And Beyond)

Postby KrazyTheFox » 29 May 2015, 03:06

I can see about adding a bug tracker to cardforge.link this weekend if you'd like to start fresh.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Version 1.5.39 (And Beyond)

Postby Agetian » 29 May 2015, 03:12

@ Krazy: Sounds like a plan!

In the meantime I'll go register at the current bug tracker anyway. :) Thanks for the tips and links guys!
EDIT: Registered as Agetian. Will take a closer look later today.

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Forge Version 1.5.39 (And Beyond)

Postby Agetian » 29 May 2015, 15:09

I have submitted some bugs that I was unable to fix to the bug tracker. :) Seems to work fine, and I think it's a good system! Personally I believe we should use it more often as a bug info repository / tracking system, it really helps.

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Forge Version 1.5.39 (And Beyond)

Postby Chris H. » 05 Jun 2015, 16:28

KrazyTheFox wrote:Hello, everyone!

There's a couple changes that need to be made if you want to perform future releases. The first is Maven's settings.xml file. Where you previously had the login details for cardforge.org's servers, you'll now need to replace the usernames with "cardforgereleases". The password remains the same. Also, delete the now-unused "cardforge-site" server entry.
 
If I understand then I need to change the lines with

Code: Select all
<username>releases@cardforge.org</username>
 
to

Code: Select all
<username>releases@cardforgereleases.org</username>
 
?
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Version 1.5.39 (And Beyond)

Postby KrazyTheFox » 05 Jun 2015, 16:39

Chris H. wrote:If I understand then I need to change the lines with

Code: Select all
<username>releases@cardforge.org</username>

to

Code: Select all
<username>releases@cardforgereleases.org</username>

?
Ah, sorry, I'll fix the instructions. The new username is "cardforgereleases@cardforge.link". That sounds a lot redundant now that I look at it again. For now, the aforementioned username will be correct, but I'll see about making it just "releases@cardforge.link" for the next release. If things don't work, I'll be home in about 5 hours and can post all the settings I used.

Edit: I think you can also omit "deploy" from the release command (it should be the default goal for release:perform), but I'm not 100% sure on that.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Version 1.5.39 (And Beyond)

Postby Chris H. » 05 Jun 2015, 17:30

KrazyTheFox wrote:The new command to run for deploying snapshots is:
Code: Select all
mvn -U -B -P windows-linux,osx clean install deploy

And the new command to run for performing releases is:
Code: Select all
mvn -U -B clean install release:prepare release:perform deploy -Dusername=subversion_username -Dpassword=subversion_password
 
I noticed that the snapshot maven goal includes

Code: Select all
windows-linux,osx
and yet this is missing in the beta maven goal?
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Version 1.5.39 (And Beyond)

Postby Chris H. » 05 Jun 2015, 17:30

KrazyTheFox wrote:The new command to run for deploying snapshots is:
Code: Select all
mvn -U -B -P windows-linux,osx clean install deploy

And the new command to run for performing releases is:
Code: Select all
mvn -U -B clean install release:prepare release:perform deploy -Dusername=subversion_username -Dpassword=subversion_password
 
I noticed that the snapshot maven goal includes

Code: Select all
windows-linux,osx
 
and yet this is missing in the beta maven goal?
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Version 1.5.39 (And Beyond)

Postby KrazyTheFox » 05 Jun 2015, 18:35

Chris H. wrote:
KrazyTheFox wrote:The new command to run for deploying snapshots is:
Code: Select all
mvn -U -B -P windows-linux,osx clean install deploy

And the new command to run for performing releases is:
Code: Select all
mvn -U -B clean install release:prepare release:perform deploy -Dusername=subversion_username -Dpassword=subversion_password
 
I noticed that the snapshot maven goal includes

Code: Select all
windows-linux,osx
 
and yet this is missing in the beta maven goal?
Yeah, those profiles should be in the release command. I copied the command from my Maven goals in IntelliJ, which specifies profiles on a separate line.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Version 1.5.39 (And Beyond)

Postby Chris H. » 05 Jun 2015, 19:38

KrazyTheFox wrote:And the new command to run for performing releases is:
Code: Select all
mvn -U -B clean install release:prepare release:perform deploy -Dusername=subversion_username -Dpassword=subversion_password
 
I am now a little closer.

I am guessing that the subversion_username and the subversion_password is located in the settings.xml?
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Version 1.5.39 (And Beyond)

Postby KrazyTheFox » 05 Jun 2015, 19:58

Replace those directly with your svn credentials if you want (-Dusername=KrazyTheFox -Dpassword=myPassword). You should also be able to declare those in your Maven settings file with:

Code: Select all
<server>
   <id>svn.slightlymagic.net</id>
   <username>KrazyTheFox</username>
   <password>myPassword</password>
</server>
I haven't tested the settings.xml version for Forge yet; I'm copying what I have here at work, but it should be the same.

I'll work on creating a full guide for setting this all up soonish that should hopefully be a little more clear.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Version 1.5.39 (And Beyond)

Postby Chris H. » 05 Jun 2015, 20:42

Sigh, got a build error when I tried to do the 1.5.40 release:

Code: Select all
[INFO] [INFO] Reactor Build Order:
[INFO] [INFO]
[INFO] [INFO] Forge Parent
[INFO] [INFO] Forge Core
[INFO] [INFO] Forge Game
[INFO] [INFO] Forge AI
[INFO] [INFO] Forge Gui
[INFO] [INFO] Forge
[INFO] [INFO]                                                                         
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building Forge Parent 1.5.40
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO]
[INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ forge >>>
[INFO] [INFO]
[INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ forge <<<
[INFO] [INFO]
[INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ forge ---
[INFO] [INFO]
[INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ forge ---
[INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [INFO]
[INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ forge ---
[INFO] [INFO] Installing /Users/me/Documents/workspace/forge/target/checkout/pom.xml to /Users/me/.m2/repository/forge/forge/1.5.40/forge-1.5.40.pom
[INFO] [INFO]
[INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ forge ---
[INFO] [INFO] Uploading: ftp://ftp.cardforge.link/releases/forge/forge/1.5.40/forge-1.5.40.pom
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ....................................... FAILURE [  3.816 s]
[INFO] [INFO] Forge Core ......................................... SKIPPED
[INFO] [INFO] Forge Game ......................................... SKIPPED
[INFO] [INFO] Forge AI ........................................... SKIPPED
[INFO] [INFO] Forge Gui .......................................... SKIPPED
[INFO] [INFO] Forge .............................................. SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 4.149 s
[INFO] [INFO] Finished at: 2015-06-05T16:34:56-04:00
[INFO] [INFO] Final Memory: 12M/28M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) on project forge: Failed to deploy artifacts: Could not transfer artifact forge:forge:pom:1.5.40 from/to cardforge-repo (ftp://ftp.cardforge.link/releases/): Cannot login to remote system -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Forge Parent
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ....................................... FAILURE [05:38 min]
[INFO] Forge Core ......................................... SUCCESS [  3.355 s]
[INFO] Forge Game ......................................... SUCCESS [  3.300 s]
[INFO] Forge AI ........................................... SUCCESS [  0.760 s]
[INFO] Forge Gui .......................................... SUCCESS [  1.696 s]
[INFO] Forge .............................................. SUCCESS [01:39 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:29 min
[INFO] Finished at: 2015-06-05T16:34:56-04:00
[INFO] Final Memory: 39M/142M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project forge: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
logout

[Process completed]

 
Attachments
log.txt.zip
(7.8 KiB) Downloaded 688 times
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge Version 1.5.39 (And Beyond)

Postby KrazyTheFox » 05 Jun 2015, 20:55

Chris H. wrote:Sigh, got a build error when I tried to do the 1.5.40 release:

Code: Select all
[INFO] [INFO] Reactor Build Order:
[INFO] [INFO]
[INFO] [INFO] Forge Parent
[INFO] [INFO] Forge Core
[INFO] [INFO] Forge Game
[INFO] [INFO] Forge AI
[INFO] [INFO] Forge Gui
[INFO] [INFO] Forge
[INFO] [INFO]                                                                         
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building Forge Parent 1.5.40
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO]
[INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ forge >>>
[INFO] [INFO]
[INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ forge <<<
[INFO] [INFO]
[INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ forge ---
[INFO] [INFO]
[INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ forge ---
[INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [INFO]
[INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ forge ---
[INFO] [INFO] Installing /Users/me/Documents/workspace/forge/target/checkout/pom.xml to /Users/me/.m2/repository/forge/forge/1.5.40/forge-1.5.40.pom
[INFO] [INFO]
[INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ forge ---
[INFO] [INFO] Uploading: ftp://ftp.cardforge.link/releases/forge/forge/1.5.40/forge-1.5.40.pom
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ....................................... FAILURE [  3.816 s]
[INFO] [INFO] Forge Core ......................................... SKIPPED
[INFO] [INFO] Forge Game ......................................... SKIPPED
[INFO] [INFO] Forge AI ........................................... SKIPPED
[INFO] [INFO] Forge Gui .......................................... SKIPPED
[INFO] [INFO] Forge .............................................. SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 4.149 s
[INFO] [INFO] Finished at: 2015-06-05T16:34:56-04:00
[INFO] [INFO] Final Memory: 12M/28M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) on project forge: Failed to deploy artifacts: Could not transfer artifact forge:forge:pom:1.5.40 from/to cardforge-repo (ftp://ftp.cardforge.link/releases/): Cannot login to remote system -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Forge Parent
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ....................................... FAILURE [05:38 min]
[INFO] Forge Core ......................................... SUCCESS [  3.355 s]
[INFO] Forge Game ......................................... SUCCESS [  3.300 s]
[INFO] Forge AI ........................................... SUCCESS [  0.760 s]
[INFO] Forge Gui .......................................... SUCCESS [  1.696 s]
[INFO] Forge .............................................. SUCCESS [01:39 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:29 min
[INFO] Finished at: 2015-06-05T16:34:56-04:00
[INFO] Final Memory: 39M/142M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project forge: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
logout

[Process completed]

 
Heading home now; I'll be able to look at this better once I'm there.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 55 guests


Who is online

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

Login Form