It is currently 18 Jun 2019, 23:34
   
Text Size

The SVN, nightly builds and biweekly betas

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, CCGHQ Admins

Re: The SVN, nightly builds and biweekly betas

Postby Chris H. » 11 Mar 2013, 12:27

myk wrote:I might be able to do it myself. Do the ftp passwords also grant shell access? If so, a symlink would be easy enough to create over ssh. There is a maven ssh plugin for integrating it into the deploy sequence. If there is no shell access, there are other ways to get it done, too, but it might take some cooperation from the cardforge.org admin to get the script in place.
 
You could try sending a pm to Rob.
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 myk » 11 Mar 2013, 13:45

will do. Thanks!
myk
 
Posts: 439
Joined: 17 Jan 2013, 02:39
Location: California
Has thanked: 38 times
Been thanked: 57 times

Re: The SVN, nightly builds and biweekly betas

Postby Chris H. » 27 Mar 2013, 11:02

My effort to do the build and deploy for Forge Beta: 03-27-2013 ver 1.3.11 has ended in a build error.

Code: Select all

[INFO] ------------------------------------------------------------------------
[INFO] Building Forge 1.3.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.3.2:prepare (default-cli) @ forge ---
[INFO] Verifying that there are no local modifications...
[INFO]   ignoring changes on: **/pom.xml.backup, **/release.properties, **/pom.xml.branch, **/pom.xml.next, **/pom.xml.releaseBackup, **/pom.xml.tag
[INFO] Executing: /bin/sh -c cd /Users/chrish/Workspace_SVN/ForgeSVN && svn --non-interactive status
[INFO] Working directory: /Users/chrish/Workspace_SVN/ForgeSVN
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8:49.869s
[INFO] Finished at: Wed Mar 27 06:52:05 EDT 2013
[INFO] Final Memory: 39M/390M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project forge: Cannot prepare the release because you have local modifications :
[ERROR] [forge.log:unknown]

 
Here is the full terminal log:
 
Attachments
terminal log.txt.zip
(17.56 KiB) Downloaded 172 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. » 27 Mar 2013, 11:50

I did a Maven clean and then performed a daily snapshot build and deploy and it appears to be working OK so far. The archives have been built and deployed to cardforge and the reports are now being uploaded and I expect this to finish with a success.

Yes, the snapshot finished with a BUILD SUCCESS.

I guess that there must be enough of a difference between a snapshot and a beta release as far as Maven is concerned.


The earlier error message mentions the forge.log file and the location for this file has changed.

There is a short listing of files that have changed but these file changes are being ignored. Not sure how to add the forge.log file to this list.
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 myk » 27 Mar 2013, 15:35

I think if you just delete forge.log, it'll clear things up. The file is now written to userDir, so the one in the program directory is old data.
myk
 
Posts: 439
Joined: 17 Jan 2013, 02:39
Location: California
Has thanked: 38 times
Been thanked: 57 times

Re: The SVN, nightly builds and biweekly betas

Postby Chris H. » 27 Mar 2013, 16:15

myk wrote:I think if you just delete forge.log, it'll clear things up. The file is now written to userDir, so the one in the program directory is old data.
 
Ah, I spent some time doing a google search and was reading some interesting info and was just starting to come to the same conclusion.

And you recently removed this old user data stuff from the SVN and that is why it looked like I had uncommitted changes.
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. » 29 Mar 2013, 12:40

The snapshot build and deploy ended in a build error this morning. Looks like there are two errors in card/ability/effects/DiscardEffect.java. I may not be able to resolve this one myself.



Code: Select all
Last login: Fri Mar 29 08:18:24 on ttys000
CardForge:~ chrish$ /Users/chrish/\ Forge\ Files/Daily\ Build\ to\ cardforge.command ; exit;
At revision 20662.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Forge 1.3.12-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ forge ---
[INFO] Deleting /Users/chrish/Workspace_SVN/ForgeSVN/target
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] --- svn-revision-number-maven-plugin:1.13:revision (default) @ forge ---
[INFO] inspecting directory /Users/chrish/Workspace_SVN/ForgeSVN
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ forge ---
[debug] execute contextualize
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (build-version-string) @ forge ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ forge ---
Downloading: http://repository.apache.org/snapshots/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml
Downloading: http://repository.codehaus.org/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml
Downloading: http://arcane.googlecode.com/svn/trunk/repository/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml
Downloaded: http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml (2 KB at 21.1 KB/sec)
Downloading: http://nexus.codehaus.org/snapshots/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml
Downloaded: http://repository.codehaus.org/org/codehaus/groovy/groovy-eclipse-batch/maven-metadata.xml (2 KB at 5.3 KB/sec)
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
----------
1. ERROR in /Users/chrish/Workspace_SVN/ForgeSVN/src/main/java/forge/card/ability/effects/DiscardEffect.java (at line 7)
   import org.testng.collections.Lists;
          ^^^^^^^^^^
The import org.testng cannot be resolved
----------
2. ERROR in /Users/chrish/Workspace_SVN/ForgeSVN/src/main/java/forge/card/ability/effects/DiscardEffect.java (at line 114)
   for(Card c : Lists.newArrayList(p.getCardsIn(ZoneType.Hand))) { // without copying will get concurrent modification exception
                ^^^^^
Lists cannot be resolved
----------
2 problems (2 errors)[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Found 2 errors and 0 warnings.
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.699s
[INFO] Finished at: Fri Mar 29 08:30:18 EDT 2013
[INFO] Final Memory: 8M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project forge: Compilation failure
[ERROR] Found 2 errors and 0 warnings.
[ERROR] -> [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/MojoFailureException
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 Max mtg » 29 Mar 2013, 13:19

Chris, this is not my fault =)))
(well, the commit is mine, but it's Eclipse who has inserted a wrong import - there should be a reference to Guava)

Anyway, to correct that fault I have commited an updated file as r20664
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 Chris H. » 29 Mar 2013, 14:55

Thank you for the fix on the import Max.
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. » 08 May 2013, 11:50

This morning I find that I can not view the commit and log listings on the SlightlyMagic websvn page, instead I get the following report:

Unable to find "enscript" tool at location "/usr/bin/enscript"
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 friarsol » 08 May 2013, 12:13

Chris H. wrote:This morning I find that I can not view the commit and log listings on the SlightlyMagic websvn page, instead I get the following report:

Unable to find "enscript" tool at location "/usr/bin/enscript"
We should report it to the slightlymagic hosts.
friarsol
Global Moderator
 
Posts: 7438
Joined: 15 May 2010, 04:20
Has thanked: 240 times
Been thanked: 926 times

Re: The SVN, nightly builds and biweekly betas

Postby Chris H. » 08 May 2013, 12:24

friarsol wrote:We should report it to the slightlymagic hosts.
 
I sent a pm to Goblin Hero.


EDIT:


Just got a response back stating that he was able to fix it.

Thank you Goblin Hero. :D
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 May 2013, 11:46

Today's snapshot build and deploy appears to have stopped/paused without finishing and there is no build failure message.

| Open
Last login: Thu May 23 06:25:12 on console
CardForge:~ chrish$ /Users/chrish/\ Forge\ Files/Daily\ Build\ to\ cardforge.command ; exit;
At revision 21616.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Forge 1.3.17-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ forge ---
[INFO] Deleting /Users/chrish/Workspace_SVN/ForgeSVN/target
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] --- svn-revision-number-maven-plugin:1.13:revision (default) @ forge ---
[INFO] inspecting directory /Users/chrish/Workspace_SVN/ForgeSVN
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (build-version-string) @ forge ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ forge ---
Downloading: http://arcane.googlecode.com/svn/trunk/ ... tadata.xml
Downloading: http://repo1.maven.org/maven2/org/codeh ... tadata.xml
Downloading: http://repository.apache.org/snapshots/ ... tadata.xml
Downloading: https://oss.sonatype.org/content/reposi ... tadata.xml
Downloaded: http://repo1.maven.org/maven2/org/codeh ... tadata.xml (2 KB at 7.7 KB/sec)
Downloading: http://repository.codehaus.org/org/code ... tadata.xml
Downloading: http://nexus.codehaus.org/snapshots/org ... tadata.xml
Downloaded: http://repository.codehaus.org/org/code ... tadata.xml (2 KB at 3.6 KB/sec)
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/chrish/Workspace_SVN/ForgeSVN/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ forge ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ forge ---
[INFO] Surefire report directory: /Users/chrish/Workspace_SVN/ForgeSVN/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: TestNG652Configurator
failed : 41.0
failed : 42.0
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.92 sec

Results :

Tests run: 8, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ forge ---
[INFO] Building jar: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT.jar
[INFO]
[INFO] --- launch4j-maven-plugin:1.3.4:launch4j (l4j-gui) @ forge ---
[INFO] Platform-specific work directory already exists: /Users/chrish/.m2/repository/com/akathist/maven/plugins/launch4j/launch4j-maven-plugin/1.3.4
[INFO] launch4j: Compiling resources
[INFO] launch4j: Linking
[INFO] launch4j: Successfully created /Users/chrish/Workspace_SVN/ForgeSVN/target/forge.exe
[INFO]
[INFO] --- maven-replacer-plugin:1.4.1:replace (default) @ forge ---
[INFO] Replacement run on 1 file.
[INFO]
[INFO] --- maven-assembly-plugin:2.4:single (make-assembly) @ forge ---
[INFO] Building jar: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT-jar-with-dependencies.jar
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (win-linux-app-bundle) @ forge ---
[INFO] Executing tasks

main:
[mkdir] Created dir: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT
[copy] Copying 1025 files to /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT
[mkdir] Created dir: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT/res/cardsfolder
[zip] Building zip: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT/res/cardsfolder/cardsfolder.zip
[tar] Building tar: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT.tar.bz2
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (osx-appbundle) @ forge ---
[INFO] Executing tasks

main:
[mkdir] Created dir: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT-osx
[copy] Copying 3 files to /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT-osx
[mkdir] Created dir: /Users/chrish/Workspace_SVN/ForgeSVN/target/res/cardsfolder
[zip] Building zip: /Users/chrish/Workspace_SVN/ForgeSVN/target/res/cardsfolder/cardsfolder.zip
[jarbundler] Creating application bundle: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT-osx/Forge.app
[exec] Creating disk image...
[exec] created: /Users/chrish/Workspace_SVN/ForgeSVN/target/rw.forge-1.3.17-SNAPSHOT.dmg
[exec] Mounting disk image...
[exec] Mount directory: /Volumes/Forge-1.3.17-SNAPSHOT
[exec] Device name: /dev/disk2
[exec] Copying background file...
[exec] Running Applescript: /usr/bin/osascript "/var/folders/18/gb84vnwh8xschl006s6pn2b80000gn/T/createdmg.XXXXX.ZHBjU8An" "Forge-1.3.17-SNAPSHOT"
[exec] Done running the applescript...
[exec] Fixing permissions...
[exec] Done fixing permissions.
[exec] Unmounting disk image...
[exec] "disk2" unmounted.
[exec] "disk2" ejected.
[exec] Compressing disk image...
[exec] Preparing imaging engine…
[exec] Reading Protective Master Boot Record (MBR : 0)…
[exec] (CRC32 $BC149447: Protective Master Boot Record (MBR : 0))
[exec] Reading GPT Header (Primary GPT Header : 1)…
[exec] (CRC32 $4403B195: GPT Header (Primary GPT Header : 1))
[exec] Reading GPT Partition Data (Primary GPT Table : 2)…
[exec] (CRC32 $67D18AB3: GPT Partition Data (Primary GPT Table : 2))
[exec] Reading (Apple_Free : 3)…
[exec] (CRC32 $00000000: (Apple_Free : 3))
[exec] Reading disk image (Apple_HFS : 4)…
[exec] (CRC32 $FB31BB1E: disk image (Apple_HFS : 4))
[exec] Reading (Apple_Free : 5)…
[exec] (CRC32 $00000000: (Apple_Free : 5))
[exec] Reading GPT Partition Data (Backup GPT Table : 6)…
[exec] (CRC32 $67D18AB3: GPT Partition Data (Backup GPT Table : 6))
[exec] Reading GPT Header (Backup GPT Header : 7)…
[exec] (CRC32 $B5BB9C3D: GPT Header (Backup GPT Header : 7))
[exec] Adding resources…
[exec] Elapsed Time: 2.872s
[exec] File size: 31538396 bytes, Checksum: CRC32 $A8B9282C
[exec] Sectors processed: 614400, 77780
[exec] compressed
[exec] Speed: 13.2Mbytes/sec
[exec] Savings: 90.0%
[exec] created: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT.dmg
[exec] Disk image done
[tar] Building tar: /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT-osx.tar.bz2
[INFO] Executed tasks
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:attach-artifact (attach-distribution) @ forge ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:attach-artifact (attach-distribution-osx) @ forge ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ forge ---
[INFO] Installing /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT.jar to /Users/chrish/.m2/repository/forge/forge/1.3.17-SNAPSHOT/forge-1.3.17-SNAPSHOT.jar
[INFO] Installing /Users/chrish/Workspace_SVN/ForgeSVN/pom.xml to /Users/chrish/.m2/repository/forge/forge/1.3.17-SNAPSHOT/forge-1.3.17-SNAPSHOT.pom
[INFO] Installing /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT.tar.bz2 to /Users/chrish/.m2/repository/forge/forge/1.3.17-SNAPSHOT/forge-1.3.17-SNAPSHOT.tar.bz2
[INFO] Installing /Users/chrish/Workspace_SVN/ForgeSVN/target/forge-1.3.17-SNAPSHOT-osx.tar.bz2 to /Users/chrish/.m2/repository/forge/forge/1.3.17-SNAPSHOT/forge-1.3.17-SNAPSHOT-osx.tar.bz2
[INFO]
[INFO] --- maven-site-plugin:3.2:site (default-site) @ forge ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.4
[INFO] configuring report plugin org.apache.maven.plugins:maven-changelog-plugin:2.2
[INFO] configuring report plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1
[INFO] configuring report plugin org.codehaus.mojo:cobertura-maven-plugin:2.5.1
[INFO]
[INFO] >>> cobertura-maven-plugin:2.5.1:cobertura (report:cobertura) @ forge >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] --- svn-revision-number-maven-plugin:1.13:revision (default) @ forge ---
[INFO] inspecting directory /Users/chrish/Workspace_SVN/ForgeSVN
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (build-version-string) @ forge ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ forge ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- cobertura-maven-plugin:2.5.1:instrument (report:cobertura) @ forge ---
[INFO] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Instrumenting 2064 files to /Users/chrish/Workspace_SVN/ForgeSVN/target/generated-classes/cobertura
[cobertura] WARN [main] net.sourceforge.cobertura.instrument.Main - Unable to instrument file /Users/chrish/Workspace_SVN/ForgeSVN/target/generated-classes/cobertura/forge/Card.class
java.lang.RuntimeException: java.lang.ClassNotFoundException: forge.card.trigger.Trigger
at org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source)
at org.objectweb.asm.ClassWriter.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassWriter.toByteArray(Unknown Source)
at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:392)
at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:416)
at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:492)
at net.sourceforge.cobertura.instrument.Main.main(Main.java:514)
Caused by: java.lang.ClassNotFoundException: forge.card.trigger.Trigger
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
... 12 more
Cobertura: Saved information on 2064 classes.
Instrument time: 6006ms

[INFO] Instrumentation was successful.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/chrish/Workspace_SVN/ForgeSVN/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ forge ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ forge ---
[INFO] Surefire report directory: /Users/chrish/Workspace_SVN/ForgeSVN/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: TestNG652Configurator
failed : 41.0
failed : 42.0
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.656 sec
Flushing results...
Flushing results done
Cobertura: Loaded information on 2064 classes.
Cobertura: Saved information on 2064 classes.

Results :

Tests run: 8, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] <<< cobertura-maven-plugin:2.5.1:cobertura (report:cobertura) @ forge <<<
[INFO] configuring report plugin org.apache.maven.plugins:maven-dependency-plugin:2.6
[INFO]
[INFO] >>> maven-dependency-plugin:2.6:analyze-report (report:analyze-report) @ forge >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] --- svn-revision-number-maven-plugin:1.13:revision (default) @ forge ---
[INFO] inspecting directory /Users/chrish/Workspace_SVN/ForgeSVN
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (build-version-string) @ forge ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ forge ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/chrish/Workspace_SVN/ForgeSVN/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ forge ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] <<< maven-dependency-plugin:2.6:analyze-report (report:analyze-report) @ forge <<<
[INFO] configuring report plugin org.codehaus.mojo:findbugs-maven-plugin:2.5
[INFO] configuring report plugin org.apache.maven.plugins:maven-javadoc-plugin:2.9
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9:javadoc (report:javadoc) @ forge >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] --- svn-revision-number-maven-plugin:1.13:revision (default) @ forge ---
[INFO] inspecting directory /Users/chrish/Workspace_SVN/ForgeSVN
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9:javadoc (report:javadoc) @ forge <<<
[INFO]
[INFO] >>> maven-javadoc-plugin:2.9:test-javadoc (report:test-javadoc) @ forge >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] --- svn-revision-number-maven-plugin:1.13:revision (default) @ forge ---
[INFO] inspecting directory /Users/chrish/Workspace_SVN/ForgeSVN
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (build-version-string) @ forge ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ forge ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] <<< maven-javadoc-plugin:2.9:test-javadoc (report:test-javadoc) @ forge <<<
[INFO] configuring report plugin org.apache.maven.plugins:maven-pmd-plugin:2.7.1
[INFO] configuring report plugin org.apache.maven.plugins:maven-jxr-plugin:2.3
[INFO] configuring report plugin org.apache.maven.plugins:maven-surefire-report-plugin:2.14.1
[INFO]
[INFO] >>> maven-surefire-report-plugin:2.14.1:failsafe-report-only (report:failsafe-report-only) @ forge >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] <<< maven-surefire-report-plugin:2.14.1:failsafe-report-only (report:failsafe-report-only) @ forge <<<
[INFO]
[INFO] >>> maven-surefire-report-plugin:2.14.1:report (report:report) @ forge >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] --- svn-revision-number-maven-plugin:1.13:revision (default) @ forge ---
[INFO] inspecting directory /Users/chrish/Workspace_SVN/ForgeSVN
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (build-version-string) @ forge ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ forge ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ forge ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/chrish/Workspace_SVN/ForgeSVN/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ forge ---
[INFO] Changes detected - recompiling the module!
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO]
[INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ forge ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]
[INFO] <<< maven-surefire-report-plugin:2.14.1:report (report:report) @ forge <<<
[INFO]
[INFO] >>> maven-surefire-report-plugin:2.14.1:report-only (report:report-only) @ forge >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:released-version (released-version) @ forge ---
[INFO] artifact forge:forge: checking for updates from arcane-maven-repo
[INFO] artifact forge:forge: checking for updates from central
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (parse-version) @ forge ---
[INFO]
[INFO] <<< maven-surefire-report-plugin:2.14.1:report-only (report:report-only) @ forge <<<
[INFO] configuring report plugin org.codehaus.mojo:taglist-maven-plugin:2.4
[INFO] configuring report plugin org.codehaus.mojo:versions-maven-plugin:1.3.1
[INFO] Relativizing decoration links with respect to project URL: http://cardforge.org
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Skipped "About" report, file "index.html" already exists for the English version.
[INFO] Skipped "Source Xref" report, file "xref/index.html" already exists for the English version.
[INFO] Skipped "Test Source Xref" report, file "xref-test/index.html" already exists for the English version.
[INFO] Skipped "Surefire Report" report, file "surefire-report.html" already exists for the English version.
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Project Plugins" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Continuous Integration" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Project License" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Mailing Lists" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Project Team" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Source Repository" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Plugin Management" report --- maven-project-info-reports-plugin:2.4
Downloading: http://arcane.googlecode.com/svn/trunk/ ... -1.0.0.pom
Downloading: http://repo1.maven.org/maven2/org/eclip ... -1.0.0.pom
[INFO] Generating "Project Summary" report --- maven-project-info-reports-plugin:2.4
[INFO] Generating "Developer Activity" report --- maven-changelog-plugin:2.2
[INFO] Generating changed sets xml to: /Users/chrish/Workspace_SVN/ForgeSVN/target/changelog.xml
[INFO] Executing: /bin/sh -c cd /Users/chrish/Workspace_SVN/ForgeSVN && svn --username releases@cardforge.org --password '*****' --non-interactive log -v -r '{2013-04-23 11:24:40 +0000}:{2013-05-24 11:24:40 +0000}' http://svn.slightlymagic.net/forge/trunk
[INFO] Working directory: /Users/chrish/Workspace_SVN/ForgeSVN
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 » 23 May 2013, 13:57

Could it have been due to some temporary problems?

mvn -U -B clean -P windows-linux install
Code: Select all
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.035s
[INFO] Finished at: Thu May 23 17:55:49 MSK 2013
[INFO] Final Memory: 29M/729M
[INFO] ------------------------------------------------------------------------
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 Chris H. » 23 May 2013, 14:25

It does look like a temporary problem.

I kept my terminal window open and after a couple of hours it finally ended in a build failure.

[INFO] Executing: /bin/sh -c cd /Users/chrish/Workspace_SVN/ForgeSVN && svn --username releases@cardforge.org --password '*****' --non-interactive log -v -r '{2013-04-23 11:24:40 +0000}:{2013-05-24 11:24:40 +0000}' http://svn.slightlymagic.net/forge/trunk
[INFO] Working directory: /Users/chrish/Workspace_SVN/ForgeSVN
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: OPTIONS of 'http://svn.slightlymagic.net/forge/trunk': timed out waiting for server (http://svn.slightlymagic.net)

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:03:28.478s
[INFO] Finished at: Thu May 23 08:24:41 EDT 2013
[INFO] Final Memory: 36M/116M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.2:site (default-site) on project forge: Error during page generation: Error rendering Maven report: An error has occurred during changelog command : Command failed.
 
Our server timed out. Something was keeping it too busy to respond.
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 8 guests


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 8 guests

Login Form