Hello edgar.sol...@web.de, edgar.sol...@web.de, [20111019 - 11:23:44]
> On 19.10.2011 08:59, Stephan Holl wrote: > > Hello edgar.sol...@web.de, > > > > edgar.sol...@web.de, [20111018 - 17:20:20] > > > >>> > >>> mvn clean package > >>> > >>> produces the following binaries. > >>> > >>> * OpenJUMP-20111018-rnull-CORE.zip > >>> * OpenJUMP-20111018-rnull.jar > >>> > >>> It seems that the revision is somewhat > >>> broken. Which magic is needed here? > >>> > >>> Any advice? > >>> > >> > >> it'll need svn in the path and the folder to be a svn checkout (svn > >> info is run on it). for my snapshots i use a local checkout and > >> update it before every run. > > > > this is obvious... > > > > There is still something else wrong. I see the command > > > > /bin/sh -c cd /home/builder/openjump && svn > > --non-interactive info > > > > running by mvn, but there is rnull in the resulting targets. > > And I am afraid mvn would complain not having 'svn' in the path. > > > > any other thoughts? > > > > can you make the output available? yes: builder@gisbuild:~/openjump$ mvn clean package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building OpenJUMP svn snapshot [INFO] task-segment: [clean, package] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /home/builder/openjump/target [INFO] [buildnumber:create {execution: generate-buildnumber}] [INFO] Checking for local modifications: skipped. [INFO] Updating project files from SCM: skipped. [INFO] Executing: /bin/sh -c cd /home/builder/openjump && svn --non-interactive info [INFO] Working directory: /home/builder/openjump [INFO] Storing buildNumber: null at timestamp: 1319007424838 [INFO] Executing: /bin/sh -c cd /home/builder/openjump && svn --non-interactive info [INFO] Working directory: /home/builder/openjump [INFO] Storing buildScmBranch: trunk [INFO] [buildnumber:create {execution: generate-timestamp}] [INFO] Storing buildNumber: 20111019 at timestamp: 1319007424935 [INFO] Executing: /bin/sh -c cd /home/builder/openjump && svn --non-interactive info [INFO] Working directory: /home/builder/openjump [INFO] Storing buildScmBranch: trunk [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [replacer:replace {execution: default}] [INFO] Replacement run on 1 file. [INFO] [compiler:compile] [INFO] Compiling 1204 source files to /home/builder/openjump/target/classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: /home/builder/openjump/target/OpenJUMP-20111019-rnull.jar [INFO] [assembly:single {execution: make-core}] [INFO] Reading assembly descriptor: bin_zip-core.xml [INFO] Processing DependencySet (output=/lib) [INFO] Building zip: /home/builder/openjump/target/OpenJUMP-20111019-rnull-CORE.zip [WARNING] Configuration options: 'appendAssemblyId' is set to false, and 'classifier' is missing. Instead of attaching the assembly file: /home/builder/openjump/target/OpenJUMP-20111019-rnull-CORE.zip, it will become the file for main project artifact. NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic! [WARNING] Replacing pre-existing project main-artifact file: /home/builder/openjump/target/OpenJUMP-20111019-rnull.jar with assembly file: /home/builder/openjump/target/OpenJUMP-20111019-rnull-CORE.zip [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 55 seconds [INFO] Finished at: Wed Oct 19 06:57:49 UTC 2011 [INFO] Final Memory: 27M/92M [INFO] ------------------------------------------------------------------------ > > what happens if you run a 'svn info' manually > on /home/builder/openjump ? builder@gisbuild:~/openjump$ /bin/sh -c cd /home/builder/openjump && svn --non-interactive info Pfad: . URL: https://jump-pilot.svn.sourceforge.net/svnroot/jump-pilot/core/trunk Basis des Projektarchivs: https://jump-pilot.svn.sourceforge.net/svnroot/jump-pilot UUID des Projektarchivs: d6f7b87f-2e33-0410-8384-f77abc8d64da Revision: 2484 Knotentyp: Verzeichnis Plan: normal Letzter Autor: mentaer Letzte geänderte Rev: 2484 Letztes Änderungsdatum: 2011-10-19 05:23:54 +0000 (Mi, 19. Okt 2011) > > if a manual mvn package works but cron runs do not make sure the PATH > variable in cron contains the path to the svn binary. No, it does not work manually. Best Stephan -- Stephan Holl <stephan.h...@intevation.de> | Tel.: +49 (0)541-33 508 3663 Intevation GmbH, Neuer Graben 17, 49074 OS | AG Osnabrück - HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel