It is currently 19 Apr 2024, 09:33
   
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. » 21 Feb 2012, 17:02

jendave wrote:As a quick and dirty solution, I disabled the tests. The build works now, but the tests should be fixed.
`
Thank you Dave.
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. » 18 Apr 2012, 15:43

I had a problem with the SVN today. I was trying to edit the font file name or the font in the simpsons skin as it needs to be lowercase of unix filesystems.

I made the change to my local copy and forge showed me that this would result in the old font file being deleted and the new one would be added as part of an outgoing commit.

I got a file not found error. Eclipse shows that I still have an outgoing change,
I think that I may have fixed the problem, not sure. :roll:
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. » 22 Apr 2012, 12:58

Had a problem while running today's snapshot build and release.

| Open
Code: Select all
Command sent: STOR forge.view.arcane.util.Animation.html

Reply received: 150 Accepted data connection

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

completed = /Users/chrish/Workspace_SVN/ForgeSVN/target/site/cobertura/forge.view.arcane.util.Animation.html
processing = /Users/chrish/Workspace_SVN/ForgeSVN/target/site/cobertura/forge.view.arcane.util.CardPanelMouseListener.html as forge.view.arcane.util.CardPanelMouseListener.html
Command sent: PASV

Reply received: 227 Entering Passive Mode (174,34,254,123,188,9)

Command sent: STOR forge.view.arcane.util.CardPanelMouseListener.html

ftp.cardforge.org/site/ - Session: Disconnecting 
ftp.cardforge.org/site/ - Session: Disconnected
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34:39.561s
[INFO] Finished at: Sun Apr 22 08:30:00 EDT 2012
[INFO] Final Memory: 37M/223M
[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.view.arcane.util.CardPanelMouseListener.html: Read 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
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 Vernon » 22 Apr 2012, 14:03

Official release date?
When playing, card text is important. Read and understand it. It will usually prevent most errors.
Vernon
 
Posts: 51
Joined: 01 Feb 2012, 23:18
Location: Portland, OR
Has thanked: 3 times
Been thanked: 0 time

Re: The SVN, nightly builds and biweekly betas

Postby Chris H. » 22 Apr 2012, 14:31

Vernon wrote:Official release date?
 
Each future and upcoming beta release has a topic devoted to discussions and a possible time line. For v1.2.7 sees this topic: :)

Forge version 1.2.7
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 Doublestrike » 01 May 2012, 00:14

Where can I see traffic statistics for any of the sites involved with Forge? The SVN, CCGH, binary downloads...anything publically available?
---
A joke is a very serious thing.
User avatar
Doublestrike
UI Programmer
 
Posts: 715
Joined: 08 Aug 2011, 09:07
Location: Bali
Has thanked: 183 times
Been thanked: 161 times

Re: The SVN, nightly builds and biweekly betas

Postby Chris H. » 12 May 2012, 15:57

My hard drive with the Snow Leopard OS system that I was using to run the build and release Maven commands died and it looks like I will not be able to fix it.

I am now forced to use the hard drive with the Lion OS which is my primary boot drive. Unfortunately, my Lion system does not display the correct SVN version number in the title bar. :(
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 » 13 May 2012, 09:09

Chris H. wrote:My hard drive with the Snow Leopard OS system that I was using to run the build and release Maven commands died and it looks like I will not be able to fix it.

I am now forced to use the hard drive with the Lion OS which is my primary boot drive. Unfortunately, my Lion system does not display the correct SVN version number in the title bar. :(
Sorry to hear that. I still cannot replicate this problem. It is very bizarre since it gives you an actual number instead of simply failing or displaying "0000".
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. » 13 May 2012, 10:36

jendave wrote:Sorry to hear that. I still cannot replicate this problem. It is very bizarre since it gives you an actual number instead of simply failing or displaying "0000".
 
I suspect that there may be some sort of a difference in our dev set ups.

My copy of subversion might be older than yours or a config file of some sort may not be set up properly.

Unfortunately, I can not figure out how to fix this issue. :?
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 Jun 2012, 15:42

jendave wrote:
Chris H. wrote:My hard drive with the Snow Leopard OS system that I was using to run the build and release Maven commands died and it looks like I will not be able to fix it.

I am now forced to use the hard drive with the Lion OS which is my primary boot drive. Unfortunately, my Lion system does not display the correct SVN version number in the title bar. :(
 
Sorry to hear that. I still cannot replicate this problem. It is very bizarre since it gives you an actual number instead of simply failing or displaying "0000".
 
I noticed that people are referring to our snapshot builds on the Bug Reports (snapshot builds) topic by only using the SVN rev number that is found in the title bar.

This number is now always stuck on the number "r15897" even though we passed that number some time ago. I think that we need to find a way to remove this data from the title bar as it is misleading people.

I added a simple fix today that will remove the string "-r15897". I plan to add it to the SVN. My fix will not remove other SVN rev numbers. If Dave decides to release a few snapshots while I am offline while moving then the correct SVN rev number will be displayed in the title bar.
 
Attachments
Screen Shot.jpg
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 Rob Cashwalker » 27 Jun 2012, 20:40

jendave -

Is there any script we could run through PHP or something on the cardforge.org server to automate the snapshot build process on a daily basis?
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: The SVN, nightly builds and biweekly betas

Postby moomarc » 07 Jul 2012, 11:09

While trying to get Spelltwine working I came across a small issue with Cycle abilities. When I used Spelltwine to target a Flame Jet, when it copied the spell I was given a choice between dealing the damage or cycling the card, so I'm guessing that there's no check to make sure it's in your hand.
-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 friarsol » 07 Jul 2012, 13:06

moomarc wrote:While trying to get Spelltwine working I came across a small issue with Cycle abilities. When I used Spelltwine to target a Flame Jet, when it copied the spell I was given a choice between dealing the damage or cycling the card, so I'm guessing that there's no check to make sure it's in your hand.
Nope there is:

Code: Select all
        sb.append("AB$ Draw | Cost$ ");
        sb.append(cycleCost);
        sb.append(" Discard<1/CARDNAME> | ActivationZone$ Hand | PrecostDesc$ Cycling ");
        sb.append("| SpellDescription$ Draw a card.");
Since it says cast, you shouldn't be able to choose abilities however.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: The SVN, nightly builds and biweekly betas

Postby jendave » 08 Jul 2012, 09:08

Rob Cashwalker wrote:jendave -

Is there any script we could run through PHP or something on the cardforge.org server to automate the snapshot build process on a daily basis?
You should be able to set up a simple cron job to do the svn update and run maven.
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. » 08 Jul 2012, 11:27

It looks like SVN rev 16122 changed the .project file and a new plug-in(s) was added. I see that Eclipse states:

build.properties does not exist
Plug-in Problem
 
The project will build and run without the new plug-in(s) from what I can tell.

Looking at the .project file we have several new lines:

Code: Select all
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
 
and

Code: Select all
<nature>org.eclipse.pde.PluginNature</nature>
 
So, what do I and others have to do to get these missing new plug-in(s) installed? :)


EDIT

Did a quick google search.

Looks like the Manifest and Schema builders are not necessarily a required component.

While they may be somewhat similar to findbugs and checkstyle there may not be a report for the Manifest and Schema builders. Not sure as I have not had a chance to really check this any further.
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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 56 guests


Who is online

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

Login Form