Return-Path: Delivered-To: apmail-maven-continuum-commits-archive@www.apache.org Received: (qmail 54382 invoked from network); 18 May 2005 14:49:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2005 14:49:35 -0000 Received: (qmail 34101 invoked by uid 500); 18 May 2005 14:37:12 -0000 Delivered-To: apmail-maven-continuum-commits-archive@maven.apache.org Received: (qmail 34003 invoked by uid 500); 18 May 2005 14:37:09 -0000 Mailing-List: contact continuum-commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-commits@maven.apache.org Received: (qmail 33943 invoked by uid 99); 18 May 2005 14:37:08 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 18 May 2005 07:37:05 -0700 Received: (qmail 48749 invoked by uid 65534); 18 May 2005 14:36:30 -0000 Message-ID: <20050518143630.48748.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r170757 - /maven/continuum/trunk/continuum-core-it/continuum_cli.py Date: Wed, 18 May 2005 14:36:30 -0000 To: continuum-commits@maven.apache.org From: trygvis@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: trygvis Date: Wed May 18 07:36:28 2005 New Revision: 170757 URL: http://svn.apache.org/viewcvs?rev=3D170757&view=3Drev Log: o Adjusting to the XML-RPC API. Adding SCM URL to the showProject command. Modified: maven/continuum/trunk/continuum-core-it/continuum_cli.py Modified: maven/continuum/trunk/continuum-core-it/continuum_cli.py URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/= continuum_cli.py?rev=3D170757&r1=3D170756&r2=3D170757&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- maven/continuum/trunk/continuum-core-it/continuum_cli.py (original) +++ maven/continuum/trunk/continuum-core-it/continuum_cli.py Wed May 18 07:= 36:28 2005 @@ -41,9 +41,11 @@ def do_addMavenTwoProject(self, args): """Add a Maven 2.x project.""" =20 - projectId =3D continuum.addMavenTwoProject( args[0] ) + projectIds =3D continuum.addMavenTwoProject( args[0] ) =20 - print "Added project, id: " + projectId + print "Added " + str( len( projectIds ) ) + " projects." + for id in projectIds: + print " id: " + id =20 def do_addMavenOneProject(self, args): """Add a Maven 1.x project.""" @@ -67,13 +69,16 @@ Version: %(version)s Working directory: %(workingDirectory)s State: %(state)s -Executor type: %(executorId)s""" % project.map +Executor type: %(executorId)s +SCM URL: %(scmUrl)s""" % project.map =20 - if ( project.checkOutErrorMessage !=3D None and project.checkOutEr= rorException !=3D None ): + if ( project.checkOutErrorMessage !=3D None or project.checkOutErr= orException !=3D None ): print "" print "There was a error while checking out the project:" - print "Error message: " + project.checkOutErrorMessage - print "Exception: " + project.checkOutErrorException + if ( project.checkOutErrorMessage !=3D None ): + print "Error message: " + project.checkOutErrorMessage + if ( project.checkOutErrorException !=3D None ): + print "Exception: " + project.checkOutErrorException else: print "" print "Checked out files:"