continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r165446 - in /maven/continuum/trunk/continuum-core-it: add-continuum-projects.py add-maven-projects.py add-plexus-projects.py add-plexus.py continuum.py
Date Sun, 01 May 2005 02:16:59 GMT
Author: jvanzyl
Date: Sat Apr 30 19:16:58 2005
New Revision: 165446

URL: http://svn.apache.org/viewcvs?rev=165446&view=rev
Log:
o adding script for maven projects, continuum projects and plexus projects
  using the addMavenTwoProject() method

Added:
    maven/continuum/trunk/continuum-core-it/add-continuum-projects.py   (with props)
    maven/continuum/trunk/continuum-core-it/add-maven-projects.py   (with props)
    maven/continuum/trunk/continuum-core-it/add-plexus-projects.py   (with props)
Removed:
    maven/continuum/trunk/continuum-core-it/add-plexus.py
Modified:
    maven/continuum/trunk/continuum-core-it/continuum.py

Added: maven/continuum/trunk/continuum-core-it/add-continuum-projects.py
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/add-continuum-projects.py?rev=165446&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-core-it/add-continuum-projects.py (added)
+++ maven/continuum/trunk/continuum-core-it/add-continuum-projects.py Sat Apr 30 19:16:58
2005
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+
+import continuum
+import sys
+
+baseurl = "http://svn.apache.org/viewcvs.cgi/*checkout*/maven/continuum/trunk/"
+pomAsText = "/pom.xml?content-type=text%2Fplain"
+
+projects = [ 
+"continuum-model", 
+"continuum-core", 
+"continuum-web", 
+"continuum-xmlrpc" 
+]
+
+for project in projects:
+    url = baseurl + project + pomAsText
+    print url
+    mavenProject = continuum.addMavenTwoProject( url )

Propchange: maven/continuum/trunk/continuum-core-it/add-continuum-projects.py
------------------------------------------------------------------------------
    svn:executable = *

Added: maven/continuum/trunk/continuum-core-it/add-maven-projects.py
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/add-maven-projects.py?rev=165446&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-core-it/add-maven-projects.py (added)
+++ maven/continuum/trunk/continuum-core-it/add-maven-projects.py Sat Apr 30 19:16:58 2005
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+
+import continuum
+import sys
+
+baseurl = "http://svn.apache.org/viewcvs.cgi/*checkout*/maven/components/trunk/"
+pomAsText = "/pom.xml?content-type=text%2Fplain"
+
+projects = [ 
+"maven-model", 
+"maven-project", 
+"maven-artifact", 
+"maven-core" 
+]
+
+for project in projects:
+    url = baseurl + project + pomAsText
+    print url
+    mavenProject = continuum.addMavenTwoProject( url )

Propchange: maven/continuum/trunk/continuum-core-it/add-maven-projects.py
------------------------------------------------------------------------------
    svn:executable = *

Added: maven/continuum/trunk/continuum-core-it/add-plexus-projects.py
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/add-plexus-projects.py?rev=165446&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-core-it/add-plexus-projects.py (added)
+++ maven/continuum/trunk/continuum-core-it/add-plexus-projects.py Sat Apr 30 19:16:58 2005
@@ -0,0 +1,46 @@
+#!/usr/bin/python
+
+import continuum
+import sys
+
+baseurl = "http://cvs.plexus.codehaus.org/*checkout*/plexus/"
+pomAsText = "/pom.xml?content-type=text%2Fplain"
+
+projects = [ 
+"plexus-components/plexus-action/pom.xml",
+"plexus-components/plexus-archiver/pom.xml",
+"plexus-components/plexus-bayesian/pom.xml",
+"plexus-components/plexus-command/pom.xml",
+"plexus-components/plexus-compiler/pom.xml",
+"plexus-components/plexus-compiler/plexus-compiler-api/pom.xml",
+"plexus-components/plexus-compiler/plexus-compilers/pom.xml",
+"plexus-components/plexus-compiler/plexus-compilers/plexus-compiler-aspectj/pom.xml",
+"plexus-components/plexus-compiler/plexus-compilers/plexus-compiler-eclipse/pom.xml",
+"plexus-components/plexus-compiler/plexus-compilers/plexus-compiler-javac/pom.xml",
+"plexus-components/plexus-compiler/plexus-compilers/plexus-compiler-jikes/pom.xml",
+"plexus-components/plexus-drools/pom.xml",
+"plexus-components/plexus-formica-web/pom.xml",
+"plexus-components/plexus-formica/pom.xml",
+"plexus-components/plexus-hibernate/pom.xml",
+"plexus-components/plexus-i18n/pom.xml",
+"plexus-components/plexus-jetty-httpd/pom.xml",
+"plexus-components/plexus-jetty/pom.xml",
+"plexus-components/plexus-mimetyper/pom.xml",
+"plexus-components/plexus-summit/pom.xml",
+"plexus-components/plexus-velocity/pom.xml",
+"plexus-components/plexus-werkflow/pom.xml",
+"plexus-components/plexus-xmlrpc/pom.xml",
+"plexus-containers/pom.xml",
+"plexus-containers/plexus-container-artifact/pom.xml",
+"plexus-containers/plexus-container-default/pom.xml",
+"plexus-utils/pom.xml",
+"plexus-servlet/pom.xml",
+"plexus-tools/pom.xml",
+"plexus-tools/plexus-cdc/pom.xml",
+"plexus-tools/plexus-runtime-builder/pom.xml" 
+]
+
+for project in projects:
+    url = baseurl + project + pomAsText
+    print url
+    mavenProject = continuum.addMavenTwoProject( url )

Propchange: maven/continuum/trunk/continuum-core-it/add-plexus-projects.py
------------------------------------------------------------------------------
    svn:executable = *

Modified: maven/continuum/trunk/continuum-core-it/continuum.py
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/continuum.py?rev=165446&r1=165445&r2=165446&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core-it/continuum.py (original)
+++ maven/continuum/trunk/continuum-core-it/continuum.py Sat Apr 30 19:16:58 2005
@@ -48,6 +48,14 @@
     else:
        return "UNKNOWN STATE (" + state + ")."
 
+   
+# Maven 2.x project
+
+def addMavenTwoProject( url ):
+    result = checkResult( server.continuum.addMavenTwoProject( url ) )
+
+    return result[ "projectId" ]
+
 def addProjectFromUrl( url, builderId ):
     result = checkResult( server.continuum.addProjectFromUrl( url, builderId ) )
 



Mime
View raw message