You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ct...@apache.org on 2010/02/24 00:20:48 UTC

svn commit: r915584 - in /continuum/branches/continuum-1.3.x/continuum-webapp-test: pom.xml src/appserver-base/ src/appserver-base/conf/ src/appserver-base/conf/continuum-buildagent.xml

Author: ctan
Date: Tue Feb 23 23:20:47 2010
New Revision: 915584

URL: http://svn.apache.org/viewvc?rev=915584&view=rev
Log:
configure continuum build agent for testing

Added:
    continuum/branches/continuum-1.3.x/continuum-webapp-test/src/appserver-base/
    continuum/branches/continuum-1.3.x/continuum-webapp-test/src/appserver-base/conf/
    continuum/branches/continuum-1.3.x/continuum-webapp-test/src/appserver-base/conf/continuum-buildagent.xml
Modified:
    continuum/branches/continuum-1.3.x/continuum-webapp-test/pom.xml

Modified: continuum/branches/continuum-1.3.x/continuum-webapp-test/pom.xml
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.3.x/continuum-webapp-test/pom.xml?rev=915584&r1=915583&r2=915584&view=diff
==============================================================================
--- continuum/branches/continuum-1.3.x/continuum-webapp-test/pom.xml (original)
+++ continuum/branches/continuum-1.3.x/continuum-webapp-test/pom.xml Tue Feb 23 23:20:47 2010
@@ -129,6 +129,12 @@
       <version>${project.version}</version>
       <type>war</type>
     </dependency>
+    <dependency>
+      <groupId>org.apache.continuum</groupId>
+      <artifactId>continuum-buildagent-webapp</artifactId>
+      <version>${project.version}</version>
+      <type>war</type>
+    </dependency>
 
     <!-- container dependencies -->
     <dependency>
@@ -275,10 +281,36 @@
                       <context>continuum</context>
                     </properties>
                   </deployable>
+                  <deployable>
+                    <groupId>${project.groupId}</groupId>
+                    <artifactId>continuum-buildagent-webapp</artifactId>
+                    <type>war</type>
+                    <properties>
+                      <context>continuum-buildagent</context>
+                    </properties>
+                  </deployable>
                 </deployables>
               </configuration>
             </configuration>
           </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <copy todir="${project.build.directory}">
+                      <fileset dir="src/appserver-base" />
+                    </copy>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>

Added: continuum/branches/continuum-1.3.x/continuum-webapp-test/src/appserver-base/conf/continuum-buildagent.xml
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.3.x/continuum-webapp-test/src/appserver-base/conf/continuum-buildagent.xml?rev=915584&view=auto
==============================================================================
--- continuum/branches/continuum-1.3.x/continuum-webapp-test/src/appserver-base/conf/continuum-buildagent.xml (added)
+++ continuum/branches/continuum-1.3.x/continuum-webapp-test/src/appserver-base/conf/continuum-buildagent.xml Tue Feb 23 23:20:47 2010
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<continuum-buildagent-configuration>
+  <continuumServerUrl>http://localhost:9595/continuum/master-xmlrpc</continuumServerUrl>
+  <buildOutputDirectory>target/data/build-agent/build-output-directory</buildOutputDirectory>
+  <workingDirectory>target/data/build-agent/working-directory</workingDirectory>
+</continuum-buildagent-configuration>