It is currently 27 Apr 2024, 22:06
   
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 Chris H. » 20 Dec 2011, 15:50

Chris H. wrote:Oops, I see that I made an edit mistake to an existing command file. I corrected the mistake and will try again.
`
With the correct command file I re-ran the test. I thought that the incorrect SVN rev number displayed in a Lion build might have been the result of an incompatibility between Eclipse and the reporting plug-in.

So, my recent test ignores Eclipse and runs the Maven command from the terminal app and unfortunately, I still get the SVN rev number 11685 listed in the Report Issue window.

This is curious Dave. We are both running Lion and are getting different results. Am I missing something in my dev setup? Don't know.
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 » 20 Dec 2011, 16:00

Chris H. wrote:
Code: Select all
Last login: Mon Dec 19 18:02:13 on ttys000
Macintosh:~ chrish$ /Users/chrish/Desktop/forge-1.2.0-SNAPSHOT/forge.command ; exit;
log4j:WARN No appenders could be found for logger (org.apache.commons.discovery.resource.DiscoverResources).
log4j:WARN Please initialize the log4j system properly.
1.2.0 -> ^1\.2\.0.*
1.2.1 / future
1.1.9 / future
1.1.8 / 2011-11-25
1.1.6 / 2011-10-17
1.1.7 / 2011-11-04
1.1.5 / 2011-09-29
1.1.4 / 2011-09-23
1.1.2 / 2011-08-19 /r. 9819
1.1.1 / 2011-07-29 / bc11921
SVN
1.2.0 / future
match
2.0.0 / future
1.1.3 / 2011-09-09 / r.10316
When I run the command I get the build, not this output. How did you get this?
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 Chris H. » 20 Dec 2011, 16:42

jendave wrote:
Chris H. wrote:
Code: Select all
Last login: Mon Dec 19 18:02:13 on ttys000
Macintosh:~ chrish$ /Users/chrish/Desktop/forge-1.2.0-SNAPSHOT/forge.command ; exit;
log4j:WARN No appenders could be found for logger (org.apache.commons.discovery.resource.DiscoverResources).
log4j:WARN Please initialize the log4j system properly.
1.2.0 -> ^1\.2\.0.*
1.2.1 / future
1.1.9 / future
1.1.8 / 2011-11-25
1.1.6 / 2011-10-17
1.1.7 / 2011-11-04
1.1.5 / 2011-09-29
1.1.4 / 2011-09-23
1.1.2 / 2011-08-19 /r. 9819
1.1.1 / 2011-07-29 / bc11921
SVN
1.2.0 / future
match
2.0.0 / future
1.1.3 / 2011-09-09 / r.10316
When I run the command I get the build, not this output. How did you get this?
`
Sorry about the confusion, I think I remember how I performed my original test.

I started up the windows/*nix snapshot build using a command file:

Code: Select all
#!/bin/sh
cd "`dirname \"$0\"`"
java -Xmx1024m -jar forge-1.2.0-SNAPSHOT-jar-with-dependencies.jar
and from there I select Utilities -> Report a Bug and I then get that text displayed on the terminal app.

These results may not be important. Using today's snapshot build which was built using Snow Leopard (and displays the correct rev number) I can now see displayed in the term window that same text:

Code: Select all
Last login: Tue Dec 20 11:34:06 on ttys000
Macintosh:~ chrish$ /Users/chrish/Desktop/Forge\ Rev\ 12772\ December\ 20\,\ 2011/forge.command ; exit;
log4j:WARN No appenders could be found for logger (org.apache.commons.discovery.resource.DiscoverResources).
log4j:WARN Please initialize the log4j system properly.
1.2.0 -> ^1\.2\.0.*
1.2.1 / future
1.1.9 / future
1.1.8 / 2011-11-25
1.1.6 / 2011-10-17
1.1.7 / 2011-11-04
1.1.5 / 2011-09-29
1.1.4 / 2011-09-23
1.1.2 / 2011-08-19 /r. 9819
1.1.1 / 2011-07-29 / bc11921
SVN
1.2.0 / future
match
2.0.0 / future
1.1.3 / 2011-09-09 / r.10316



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. » 25 Dec 2011, 13:02

During the build and release for today's snapshot the process ended with a build failure.

Code: Select all
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ forge ---
Downloading: ftp.cardforge.org/snapshots/forge/forge/1.2.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml from/to cardforge-snapshot-repo (ftp.cardforge.org/snapshots): Could not connect to server.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8:01.966s
[INFO] Finished at: Sun Dec 25 07:56:18 EST 2011
[INFO] Final Memory: 46M/226M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project forge: Failed to retrieve remote metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml from/to cardforge-snapshot-repo (ftp.cardforge.org/snapshots): Could not connect to server. Unknown host ftp.cardforge.org -> [Help 1]
`
Attachments
Log.zip
(30.44 KiB) Downloaded 286 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 Chris H. » 25 Dec 2011, 16:46

Chris H. wrote:During the build and release for today's snapshot the process ended with a build failure.
`
cardforge apparently went off line shortly after I gave up on doing a release earlier today.
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 moomarc » 25 Dec 2011, 20:18

Chris H. wrote:During the build and release for today's snapshot the process ended with a build failure.

Code: Select all
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ forge ---
Downloading: ftp.cardforge.org/snapshots/forge/forge/1.2.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml from/to cardforge-snapshot-repo (ftp.cardforge.org/snapshots): Could not connect to server.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8:01.966s
[INFO] Finished at: Sun Dec 25 07:56:18 EST 2011
[INFO] Final Memory: 46M/226M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project forge: Failed to retrieve remote metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml from/to cardforge-snapshot-repo (ftp.cardforge.org/snapshots): Could not connect to server. Unknown host ftp.cardforge.org -> [Help 1]
`
That log message points to cardforge.org. Is the ftp still meant to point there or is it meant to point to the new .net location?
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: The SVN, nightly builds and biweekly betas

Postby Chris H. » 25 Dec 2011, 20:30

moomarc wrote:That log message points to cardforge.org. Is the ftp still meant to point there or is it meant to point to the new .net location?
`
I guess that we will have to wait on Rob to see what is happening. I tried both cardforge.org and cardforge.net in a browser window and neither works.
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 timmermac » 26 Dec 2011, 01:23

This is odd. I was able to get to cardforge.org just fine at about 8:45 AM my time, and it's still fine now at almost 5:30 PM my time. *shrugs*
"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 Chris H. » 26 Dec 2011, 01:35

timmermac wrote:This is odd. I was able to get to cardforge.org just fine at about 8:45 AM my time, and it's still fine now at almost 5:30 PM my time. *shrugs*
`
It was down for about 8 to 10 hours or so but it does appear to be back in service again. I will try to release another snapshot tommorrow.
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. » 26 Dec 2011, 12:36

Chris H. wrote:I will try to release another snapshot tommorrow.
`
Was able to release:

forge-1.2.0-20111226.114955-11

today. Enjoy.
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. » 27 Dec 2011, 14:10

I have tried to upload the newest snapshot build but it looks like cardforge is having problems again.

Code: Select all
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ forge ---
Downloading: ftp.cardforge.org/snapshots/forge/forge/1.2.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml from/to cardforge-snapshot-repo (ftp.cardforge.org/snapshots): Could not connect to server.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7:59.838s
[INFO] Finished at: Tue Dec 27 09:01:22 EST 2011
[INFO] Final Memory: 46M/222M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project forge: Failed to retrieve remote metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata forge:forge:1.2.0-SNAPSHOT/maven-metadata.xml from/to cardforge-snapshot-repo (ftp.cardforge.org/snapshots): Could not connect to server. Unknown host ftp.cardforge.org -> [Help 1]
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. » 27 Dec 2011, 16:07

I was finally able to release the next snapshot to cardforge:

forge-1.2.0-20111227.153706-12.tar.bz2
forge-1.2.0-20111227.153706-12-osx.tar.bz2
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. » 07 Jan 2012, 13:25

Over the last several days I have noticed a build failure when running the Maven daily snapshot command. The failures report the same issue, "Operation timed out".

These failures take place towards the end of the process during the time when the html reports are being uploaded to cardforge. My last try today at the maven command actually worked and we now have a good set of reports.

Code: Select all
processing = /Users/chrish/Workspace_SVN/ForgeSVN/target/site/cobertura/forge.GuiDownloadPicturesLQ.html as forge.GuiDownloadPicturesLQ.html
Command sent: PASV

Reply received: 227 Entering Passive Mode (74,55,207,114,94,44)

Command sent: STOR forge.GuiDownloadPicturesLQ.html

Reply received: 150 Accepted data connection

Reply received: 226-File successfully transferred
226 0.365 seconds (measured here), 75.79 Kbytes per second

completed = /Users/chrish/Workspace_SVN/ForgeSVN/target/site/cobertura/forge.GuiDownloadPicturesLQ.html
processing = /Users/chrish/Workspace_SVN/ForgeSVN/target/site/cobertura/forge.GuiDownloadPrices.html as forge.GuiDownloadPrices.html
Command sent: PASV

Reply received: 227 Entering Passive Mode (74,55,207,114,182,236)

ftp.cardforge.org/site/ - Session: Disconnecting 
ftp.cardforge.org/site/ - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28:14.556s
[INFO] Finished at: Sat Jan 07 07:25:19 EST 2012
[INFO] Final Memory: 45M/216M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:deploy (default-cli) on project forge: Error uploading site: IOException caught while attempting to upload /Users/chrish/Workspace_SVN/ForgeSVN/target/site/cobertura/forge.GuiDownloadPrices.html: Operation timed out -> [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]
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. » 23 Jan 2012, 12:45

I want to warn the people that download the snapshot builds that today's version has a bug which can crash forge while the forge app is starting up. The forge app will start up OK if it finds a questdata.dat file in the quest folder.

I included a questdata.dat file in the quest folder as part of the archive. You can replace this file with your own questdata.dat file.

Please do not remove the questdata.dat file in the quest folder and then try to run the forge app without this file being present. We will not be able to answer a lot of questions about this matter.

We hope to have this bug fixed at some point in the near future. I imagine that this bug will be fixed before the next beta release but we may have a few more snapshot builds with this problem. :)
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 DeadSpeak » 29 Jan 2012, 17:57

Just downloaded the forge-1.2.3-20120129.123157-10.tar.bz2.

When I mulligan, I get 7 new cards.
Forge doesn't remember that I've de-selected the "stop on draw step", so at the beginning at every game, I have to de-select this step.

-DeadSpeak
DeadSpeak
 
Posts: 104
Joined: 25 Dec 2009, 00:14
Location: Denmark
Has thanked: 4 times
Been thanked: 3 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 89 guests


Who is online

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

Login Form