continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r471603 - in /maven/continuum/trunk/continuum-rpc-client: pom.xml src/main/java/org/apache/maven/continuum/rpc/SampleClient.java
Date Mon, 06 Nov 2006 01:39:56 GMT
Author: brett
Date: Sun Nov  5 17:39:55 2006
New Revision: 471603

URL: http://svn.apache.org/viewvc?view=rev&rev=471603
Log:
make pom executable

Modified:
    maven/continuum/trunk/continuum-rpc-client/pom.xml
    maven/continuum/trunk/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/SampleClient.java

Modified: maven/continuum/trunk/continuum-rpc-client/pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-rpc-client/pom.xml?view=diff&rev=471603&r1=471602&r2=471603
==============================================================================
--- maven/continuum/trunk/continuum-rpc-client/pom.xml (original)
+++ maven/continuum/trunk/continuum-rpc-client/pom.xml Sun Nov  5 17:39:55 2006
@@ -29,6 +29,16 @@
           <model>../continuum-model/src/main/mdo/continuum.xml</model>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <configuration>
+          <mainClass>org.apache.maven.continuum.rpc.SampleClient</mainClass>
+          <arguments>
+            <argument>${xmlRpcUrl}</argument>
+          </arguments>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <dependencies>

Modified: maven/continuum/trunk/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/SampleClient.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/SampleClient.java?view=diff&rev=471603&r1=471602&r2=471603
==============================================================================
--- maven/continuum/trunk/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/SampleClient.java
(original)
+++ maven/continuum/trunk/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/SampleClient.java
Sun Nov  5 17:39:55 2006
@@ -27,10 +27,12 @@
     {
         String address = "http://localhost:8000/continuum";
 
-        if ( args.length > 0 )
+        if ( args.length > 0 && args[0] != null && args[0].length() >
0 )
         {
             address = args[0];
         }
+
+        System.out.println( "Connecting to: " + address );
 
         ProjectsReader pr = new ProjectsReader( new URL( address ) );
 



Mime
View raw message