The SVN, nightly builds and biweekly betas
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: The SVN, nightly builds and biweekly betas
by Braids » 22 Aug 2011, 02:29
yay! i just fixed the version numbers in Mantis. there is no need to change the release numbering now.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something.
-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: The SVN, nightly builds and biweekly betas
by Corwin72 » 24 Aug 2011, 15:36
Argh!
I had been checking http://cardforge.org/releases/snapshots ... -SNAPSHOT/ for build updates and I was not finding anything.
I finally hit the Parent Directory link and saw what I was missing.
I had been checking http://cardforge.org/releases/snapshots ... -SNAPSHOT/ for build updates and I was not finding anything.
I finally hit the Parent Directory link and saw what I was missing.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: The SVN, nightly builds and biweekly betas
by jendave » 24 Aug 2011, 16:08
Thanks Braids.Braids wrote:yay! i just fixed the version numbers in Mantis. there is no need to change the release numbering now.
Re: The SVN, nightly builds and biweekly betas
by timmermac » 28 Aug 2011, 17:03
Is it easy to get one of these daily builds and use it to play Forge? Or is it best to just wait until betas are released?
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: The SVN, nightly builds and biweekly betas
by Braids » 28 Aug 2011, 19:28
it's not too hard. go to http://cardforge.org/releases/snapshots/forge/forge/, click the latest SNAPSHOT link, then scroll to the bottom. download the latest .tar.bz2 file (for Linux and Windows) or the latest -osx.tar.bz2 (for Mac). those files install like the beta releases.timmermac wrote:Is it easy to get one of these daily builds and use it to play Forge? Or is it best to just wait until betas are released?
edit: the SVN Rev number will automatically be populated in any bug reports you file from within Forge, courtesy of Rob Cashwalker and myself.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something.
-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: The SVN, nightly builds and biweekly betas
by timmermac » 29 Aug 2011, 00:09
Cool... Next question... Is there a list of changes made to the SVN like there was at the Google site?Braids wrote:it's not too hard. go to http://cardforge.org/releases/snapshots/forge/forge/, click the latest SNAPSHOT link, then scroll to the bottom. download the latest .tar.bz2 file (for Linux and Windows) or the latest -osx.tar.bz2 (for Mac). those files install like the beta releases.timmermac wrote:Is it easy to get one of these daily builds and use it to play Forge? Or is it best to just wait until betas are released?
edit: the SVN Rev number will automatically be populated in any bug reports you file from within Forge, courtesy of Rob Cashwalker and myself.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: The SVN, nightly builds and biweekly betas
by slapshot5 » 29 Aug 2011, 00:31
Yep.timmermac wrote:Cool... Next question... Is there a list of changes made to the SVN like there was at the Google site?
http://svn.slightlymagic.net/websvn/log.php?repname=forge&path=%2F
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: The SVN, nightly builds and biweekly betas
by Chris H. » 29 Aug 2011, 01:49
Before I run the Nightly Build Maven script I try to not only update to the latest head version on the SVN, I also paste in the commit logs from the previous 24 hours.
-
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: The SVN, nightly builds and biweekly betas
by Chris H. » 06 Sep 2011, 11:11
I received an error while running the nightly build script. It looks like the project was built in my target folder and during the upload to cardforge an error developed. The error report mentions a broken pipe.
It looks like the upload process aborted before the two local archives for the forge app could be uploaded. We got the 3 pom and the 3 jar files uploaded. The process aborted on the 3 jar-with-dependencies file upload.
My terminal log states that the forge apps were uploaded but they do not appear in the snapshot listing on cardforge.
`
- Code: Select all
Uploading: ftp.cardforge.org/snapshots/forge/forge/maven-metadata.xml
Uploaded: ftp.cardforge.org/snapshots/forge/forge/maven-metadata.xml (310 B at 0.2 KB/sec)
Uploading: ftp.cardforge.org/snapshots/forge/forge/1.1.3-SNAPSHOT/forge-1.1.3-20110906.103846-20-jar-with-dependencies.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:05.258s
[INFO] Finished at: Tue Sep 06 06:48:04 EDT 2011
[INFO] Final Memory: 55M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project forge: Failed to deploy artifacts: Could not transfer artifact forge:forge:jar:jar-with-dependencies:1.1.3-20110906.103846-20 from/to cardforge-snapshot-repo (ftp.cardforge.org/snapshots): PUT request to: forge/forge/1.1.3-SNAPSHOT/forge-1.1.3-20110906.103846-20-jar-with-dependencies.jar in cardforge-snapshot-repo failed: Broken pipe -> [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
It looks like the upload process aborted before the two local archives for the forge app could be uploaded. We got the 3 pom and the 3 jar files uploaded. The process aborted on the 3 jar-with-dependencies file upload.
My terminal log states that the forge apps were uploaded but they do not appear in the snapshot listing on cardforge.
`
- Attachments
-
- console log 09-06-2011.txt.zip
- (30.44 KiB) Downloaded 405 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: The SVN, nightly builds and biweekly betas
by jendave » 06 Sep 2011, 15:07
Chris. That looks like a problem with FTP. You'll have to run the process again.
Re: The SVN, nightly builds and biweekly betas
by Corwin72 » 06 Sep 2011, 15:42
I am now having an issues extracting the new file.
edit.
I re downloaded and could not duplicate the error.
- | Open
- ! C:\Documents and Settings\cduncan\Desktop\Forge2\forge-1.1.3-20110906.152905-21.tar.bz2: Read error in the file C:\Documents and Settings\cduncan\Desktop\Forge2\forge-1.1.3-20110906.152905-21.tar.bz2
edit.
I re downloaded and could not duplicate the error.
-
Corwin72 - Posts: 793
- Joined: 15 Sep 2009, 13:26
- Location: Grayson, Ga
- Has thanked: 25 times
- Been thanked: 9 times
Re: The SVN, nightly builds and biweekly betas
by Chris H. » 06 Sep 2011, 16:47
`jendave wrote:Chris. That looks like a problem with FTP. You'll have to run the process again.
I reran the script and it appears that we have a successful build and release this time.
Whatever interrupted the file transfer the first time was temporary.
Oh, on the files at card forge the naming appears to be
- Code: Select all
"forge-" + version + "-" + date + "." time + "-" a number ...
so, what is the number after the time? Is this a build and release number? It appears to increase by one every time that I run the nightly build script.
-
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: The SVN, nightly builds and biweekly betas
by Chris H. » 06 Sep 2011, 16:50
`Corwin72 wrote:I am now having an issues extracting the new file.
- | Open
- ! C:\Documents and Settings\cduncan\Desktop\Forge2\forge-1.1.3-20110906.152905-21.tar.bz2: Read error in the file C:\Documents and Settings\cduncan\Desktop\Forge2\forge-1.1.3-20110906.152905-21.tar.bz2
edit.
I re downloaded and could not duplicate the error.
I downloaded both of the file archives and was able to extract both of them.
-
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: The SVN, nightly builds and biweekly betas
by Max mtg » 06 Sep 2011, 19:10
I think revision number is missing in build filenames. It might be even better than date+time, because SVN holds a log for every commit
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: The SVN, nightly builds and biweekly betas
by jendave » 06 Sep 2011, 20:34
Unfortunately the Maven snapshot builds naming convention cannot be easily modified. I started looking at adding the rev number as a "classifier", but I will test it out. I don't want to make the naming convention logic too complex. It may end up messing up the release builds.Max mtg wrote:I think revision number is missing in build filenames. It might be even better than date+time, because SVN holds a log for every commit
Who is online
Users browsing this forum: No registered users and 42 guests