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)
by 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
- 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)
by friarsol » 27 May 2015, 20:46
Did you create an account for yourself? http://cardforge.org/bugz/signup_page.phpAgetian wrote:PMed Rob but I don't have a reply yet so I can't post to the bug tracker just yet.
- Agetian
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)
by 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.
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.
-
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)
by 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.
-
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)
by 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
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)
by 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
- 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)
by 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>
?
-
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)
by KrazyTheFox » 05 Jun 2015, 16:39
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.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>
?
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.
-
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)
by 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
-
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)
by 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?
-
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)
by KrazyTheFox » 05 Jun 2015, 18:35
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.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?
-
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)
by 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?
-
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)
by 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:
I'll work on creating a full guide for setting this all up soonish that should hopefully be a little more clear.
- Code: Select all
<server>
<id>svn.slightlymagic.net</id>
<username>KrazyTheFox</username>
<password>myPassword</password>
</server>
I'll work on creating a full guide for setting this all up soonish that should hopefully be a little more clear.
-
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)
by 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
-
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)
by KrazyTheFox » 05 Jun 2015, 20:55
Heading home now; I'll be able to look at this better once I'm there.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]
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
57 posts
• Page 3 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 55 guests