It is currently 25 Apr 2024, 03:30
   
Text Size

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

Postby 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. ;)
User avatar
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

Postby 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.
User avatar
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

Postby jendave » 24 Aug 2011, 16:08

Braids wrote:yay! i just fixed the version numbers in Mantis. there is no need to change the release numbering now.
Thanks Braids.
jendave
 
Posts: 307
Joined: 01 Jun 2008, 07:19
Has thanked: 8 times
Been thanked: 21 times

Re: The SVN, nightly builds and biweekly betas

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: The SVN, nightly builds and biweekly betas

Postby Braids » 28 Aug 2011, 19:28

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?
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.

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. ;)
User avatar
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

Postby timmermac » 29 Aug 2011, 00:09

Braids wrote:
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?
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.

edit: the SVN Rev number will automatically be populated in any bug reports you file from within Forge, courtesy of Rob Cashwalker and myself. :)
Cool... Next question... Is there a list of changes made to the SVN like there was at the Google site?
"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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: The SVN, nightly builds and biweekly betas

Postby slapshot5 » 29 Aug 2011, 00:31

timmermac wrote:Cool... Next question... Is there a list of changes made to the SVN like there was at the Google site?
Yep.

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

Postby 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.
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: The SVN, nightly builds and biweekly betas

Postby 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.

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
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: The SVN, nightly builds and biweekly betas

Postby jendave » 06 Sep 2011, 15:07

Chris. That looks like a problem with FTP. You'll have to run the process again.
jendave
 
Posts: 307
Joined: 01 Jun 2008, 07:19
Has thanked: 8 times
Been thanked: 21 times

Re: The SVN, nightly builds and biweekly betas

Postby Corwin72 » 06 Sep 2011, 15:42

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.
User avatar
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

Postby 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.
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: The SVN, nightly builds and biweekly betas

Postby 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.
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: The SVN, nightly builds and biweekly betas

Postby 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

Postby jendave » 06 Sep 2011, 20:34

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
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.
jendave
 
Posts: 307
Joined: 01 Jun 2008, 07:19
Has thanked: 8 times
Been thanked: 21 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 42 guests


Who is online

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

Login Form