Page 3 of 4

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 27 May 2015, 16:25
by Agetian
PMed Rob but I don't have a reply yet so I can't post to the bug tracker just yet. :)

- Agetian

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 27 May 2015, 20:46
by friarsol
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.

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 29 May 2015, 02:31
by Rob Cashwalker
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.

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 29 May 2015, 03:06
by KrazyTheFox
I can see about adding a bug tracker to cardforge.link this weekend if you'd like to start fresh.

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 29 May 2015, 03:12
by Agetian
@ 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

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 29 May 2015, 15:09
by Agetian
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

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 16:28
by Chris H.
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>
 
?

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 16:39
by KrazyTheFox
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.

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 17:30
by Chris H.
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?

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 17:30
by Chris H.
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?

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 18:35
by KrazyTheFox
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.

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 19:38
by Chris H.
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?

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 19:58
by KrazyTheFox
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.

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 20:42
by Chris H.
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]

 

Re: Forge Version 1.5.39 (And Beyond)

PostPosted: 05 Jun 2015, 20:55
by KrazyTheFox
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.