geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r344314 - in /geronimo/gbuild/trunk/gbuild-agent-application: ./ src/ src/assembly/ src/conf/ src/test/ src/test/conf/
Date Tue, 15 Nov 2005 05:45:30 GMT
Author: dblevins
Date: Mon Nov 14 21:45:27 2005
New Revision: 344314

URL: http://svn.apache.org/viewcvs?rev=344314&view=rev
Log:
Module for aggregation

Added:
    geronimo/gbuild/trunk/gbuild-agent-application/
    geronimo/gbuild/trunk/gbuild-agent-application/app.properties
    geronimo/gbuild/trunk/gbuild-agent-application/gbuild-agent-application.iml
    geronimo/gbuild/trunk/gbuild-agent-application/pom.xml
    geronimo/gbuild/trunk/gbuild-agent-application/src/
    geronimo/gbuild/trunk/gbuild-agent-application/src/assembly/
    geronimo/gbuild/trunk/gbuild-agent-application/src/assembly/bin.xml
    geronimo/gbuild/trunk/gbuild-agent-application/src/conf/
    geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml
    geronimo/gbuild/trunk/gbuild-agent-application/src/test/
    geronimo/gbuild/trunk/gbuild-agent-application/src/test/conf/
    geronimo/gbuild/trunk/gbuild-agent-application/src/test/conf/test-runtime-configuration.xml
    geronimo/gbuild/trunk/gbuild-agent-application/test.properties

Added: geronimo/gbuild/trunk/gbuild-agent-application/app.properties
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent-application/app.properties?rev=344314&view=auto
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent-application/app.properties (added)
+++ geronimo/gbuild/trunk/gbuild-agent-application/app.properties Mon Nov 14 21:45:27 2005
@@ -0,0 +1,3 @@
+app.name=gbuild-agent
+app.long.name=gbuild-agent
+app.description=GBuild Agent

Added: geronimo/gbuild/trunk/gbuild-agent-application/gbuild-agent-application.iml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent-application/gbuild-agent-application.iml?rev=344314&view=auto
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent-application/gbuild-agent-application.iml (added)
+++ geronimo/gbuild/trunk/gbuild-agent-application/gbuild-agent-application.iml Mon Nov 14
21:45:27 2005
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+  <component name="ModuleRootManager" />
+  <component name="NewModuleRootManager">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <exclude-output />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="false" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module" module-name="continuum-api" />
+    <orderEntry type="module" module-name="continuum-core" />
+    <orderEntry type="module" module-name="continuum-model" />
+    <orderEntry type="module" module-name="continuum-notifier-api" />
+    <orderEntry type="module" module-name="gbuild-agent" />
+    <orderEntryProperties />
+  </component>
+</module>
+

Added: geronimo/gbuild/trunk/gbuild-agent-application/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent-application/pom.xml?rev=344314&view=auto
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent-application/pom.xml (added)
+++ geronimo/gbuild/trunk/gbuild-agent-application/pom.xml Mon Nov 14 21:45:27 2005
@@ -0,0 +1,160 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.geronimo.gbuild</groupId>
+  <artifactId>gbuild-agent-application</artifactId>
+  <packaging>jar</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>GBuild Agent Application</name>
+  <url>http://maven.apache.org</url>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>assembly</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <descriptor>src/assembly/bin.xml</descriptor>
+          <finalName>gbuild-agent-1.1-SNAPSHOT</finalName>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>runtime</goal>
+              <goal>add-app</goal>
+              <goal>add-services</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <applicationConfiguration>src/conf/application.xml</applicationConfiguration>
+          <configurationsDirectory>src/conf</configurationsDirectory>
+          <configurationProperties>${appProperties}</configurationProperties>
+          <applicationName>continuum</applicationName>
+          <runtimeConfiguration>src/test/conf/test-runtime-configuration.xml</runtimeConfiguration>
+          <runtimeConfigurationProperties>${appProperties}</runtimeConfigurationProperties>
+          <runtimePath>target/plexus-test-runtime</runtimePath>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <profiles>
+    <profile>
+      <id>env-test</id>
+      <activation>
+        <property>
+          <name>env</name>
+          <value>test</value>
+        </property>
+      </activation>
+      <properties>
+        <appProperties>test.properties</appProperties>
+      </properties>
+    </profile>
+    <profile>
+      <id>env-production</id>
+      <activation>
+        <property>
+          <name>env</name>
+          <value>production</value>
+        </property>
+      </activation>
+      <properties>
+        <appProperties>app.properties</appProperties>
+      </properties>
+    </profile>
+  </profiles>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <url>http://cvs.apache.org/repository</url>
+      <layout>legacy</layout>
+    </repository>
+    <repository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>snapshots</id>
+      <name>Maven Snapshot Development Repository</name>
+      <url>http://snapshots.maven.codehaus.org/maven2</url>
+    </repository>
+  </repositories>
+  <pluginRepositories>
+    <pluginRepository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://snapshots.maven.codehaus.org/maven2</url>
+    </pluginRepository>
+  </pluginRepositories>
+  <dependencies>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-container-default</artifactId>
+      <version>1.0-alpha-8</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.gbuild</groupId>
+      <artifactId>gbuild-agent</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>concurrent</groupId>
+      <artifactId>concurrent</artifactId>
+      <version>1.3.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.continuum</groupId>
+      <artifactId>continuum-api</artifactId>
+      <version>1.1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.continuum</groupId>
+      <artifactId>continuum-core</artifactId>
+      <version>1.1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.continuum</groupId>
+      <artifactId>continuum-model</artifactId>
+      <version>1.1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-command-line</artifactId>
+      <version>1.0-alpha-2</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.scm</groupId>
+      <artifactId>maven-scm-provider-cvs</artifactId>
+      <version>1.0-beta-1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>geronimo-spec</groupId>
+      <artifactId>geronimo-spec-j2ee</artifactId>
+      <version>1.4-rc4</version>
+    </dependency>
+    <dependency>
+      <groupId>activemq</groupId>
+      <artifactId>activemq-core</artifactId>
+      <version>3.2</version>
+    </dependency>
+   
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: geronimo/gbuild/trunk/gbuild-agent-application/src/assembly/bin.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent-application/src/assembly/bin.xml?rev=344314&view=auto
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent-application/src/assembly/bin.xml (added)
+++ geronimo/gbuild/trunk/gbuild-agent-application/src/assembly/bin.xml Mon Nov 14 21:45:27
2005
@@ -0,0 +1,136 @@
+<assembly>
+  <id>bin</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>tar.bz2</format>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <includes>
+        <include>README*</include>
+        <include>LICENSE*</include>
+        <include>NOTICE*</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <!-- TODO: use expressions instead: ${project.build.directory}, ${project.build.finalName},
or have a <build /> tag to include the built artifact -->
+      <directory>target/plexus-test-runtime/apps</directory>
+      <outputDirectory>apps</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/conf</directory>
+      <outputDirectory>conf</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/core</directory>
+      <outputDirectory>core</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/logs</directory>
+      <outputDirectory>logs</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/services</directory>
+      <outputDirectory>services</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/temp</directory>
+      <outputDirectory>temp</outputDirectory>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin</directory>
+      <outputDirectory>bin</outputDirectory>
+      <includes>
+        <include>plexus.sh</include>
+      </includes>
+      <lineEnding>unix</lineEnding>
+      <fileMode>0755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin</directory>
+      <outputDirectory>bin</outputDirectory>
+      <includes>
+        <include>plexus.bat</include>
+      </includes>
+      <lineEnding>dos</lineEnding>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin/linux</directory>
+      <outputDirectory>bin/linux</outputDirectory>
+      <includes>
+        <include>run.sh</include>
+        <include>wrapper.conf</include>
+      </includes>
+      <lineEnding>unix</lineEnding>
+      <fileMode>0755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin/linux</directory>
+      <outputDirectory>bin/linux</outputDirectory>
+      <includes>
+        <include>libwrapper.so</include>
+        <include>wrapper</include>
+      </includes>
+      <fileMode>0755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin/macosx</directory>
+      <outputDirectory>bin/macosx</outputDirectory>
+      <includes>
+        <include>run.sh</include>
+        <include>wrapper.conf</include>
+      </includes>
+      <lineEnding>unix</lineEnding>
+      <fileMode>0755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin/macosx</directory>
+      <outputDirectory>bin/macosx</outputDirectory>
+      <includes>
+        <include>libwrapper.jnilib</include>
+        <include>wrapper</include>
+      </includes>
+      <fileMode>0755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin/solaris</directory>
+      <outputDirectory>bin/solaris</outputDirectory>
+      <includes>
+        <include>run.sh</include>
+        <include>wrapper.conf</include>
+      </includes>
+      <lineEnding>unix</lineEnding>
+      <fileMode>0755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin/solaris</directory>
+      <outputDirectory>bin/solaris</outputDirectory>
+      <includes>
+        <include>libwrapper.so</include>
+        <include>wrapper</include>
+      </includes>
+      <fileMode>0755</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin/win32</directory>
+      <outputDirectory>bin/win32</outputDirectory>
+      <includes>
+        <include>*.bat</include>
+        <include>wrapper.conf</include>
+      </includes>
+      <fileMode>0755</fileMode>
+      <lineEnding>dos</lineEnding>
+    </fileSet>
+    <fileSet>
+      <directory>target/plexus-test-runtime/bin/win32</directory>
+      <outputDirectory>bin/win32</outputDirectory>
+      <includes>
+        <include>wrapper.exe</include>
+        <include>wrapper.dll</include>
+      </includes>
+      <fileMode>0755</fileMode>
+    </fileSet>
+  </fileSets>
+</assembly>
+

Added: geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml?rev=344314&view=auto
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml (added)
+++ geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml Mon Nov 14 21:45:27
2005
@@ -0,0 +1,108 @@
+<application>
+
+  <load-on-start>
+    <component>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgent</role>
+    </component>
+  </load-on-start>
+
+  <resources>
+    <jar-repository>${plexus.home}/lib</jar-repository>
+  </resources>
+
+  <components>
+    <component>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgent</role>
+      <implementation>org.apache.geronimo.gbuild.agent.ContinuumBuildAgent</implementation>
+      <requirements>
+        <requirement>
+          <role>org.apache.geronimo.gbuild.agent.BuildAgentExtentionManager</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.continuum.buildcontroller.BuildController</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.continuum.configuration.ConfigurationService</role>
+        </requirement>
+      </requirements>
+      <configuration>
+        <contributor>Unknown</contributor>
+        <admin-address>scm@geronimo.apache.org</admin-address>
+        <coordinator-url>tcp://localhost:61616</coordinator-url>
+        <build-task-queue>BUILD.TASKS</build-task-queue>
+        <build-results-topic>BUILD.RESULTS</build-results-topic>
+        <working-directory>target/agent/work</working-directory>
+        <build-output-directory>target/agent/output</build-output-directory>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtention</role>
+      <role-hint>work-properties</role-hint>
+      <implementation>org.apache.geronimo.gbuild.agent.FileIncludeExtention</implementation>
+      <requirements>
+        <requirement>
+          <role>org.apache.maven.continuum.configuration.ConfigurationService</role>
+        </requirement>
+      </requirements>
+      <configuration>
+        <file-name-key>work-properties</file-name-key>
+      </configuration>
+    </component>
+
+    <!--
+    | Logger manager
+    -->
+    <component>
+      <role>org.codehaus.plexus.logging.LoggerManager</role>
+      <implementation>org.codehaus.plexus.logging.log4j.Log4JLoggerManager</implementation>
+      <lifecycle-handler>basic</lifecycle-handler>
+
+      <configuration>
+        <threshold>DEBUG</threshold>
+        <default-appender>console,rolling</default-appender>
+        <appenders>
+          <appender>
+            <id>console</id>
+            <threshold>DEBUG</threshold>
+            <type>org.apache.log4j.ConsoleAppender</type>
+            <conversion-pattern>%d [%t] %-5p %-30c{1} - %m%n</conversion-pattern>
+          </appender>
+
+          <appender>
+            <id>rolling</id>
+            <threshold>DEBUG</threshold>
+            <type>org.apache.log4j.RollingFileAppender</type>
+            <conversion-pattern>%-4r [%t] %-5p %c %x - %m%n</conversion-pattern>
+
+            <properties>
+              <property>
+                <name>file</name>
+                <value>${plexus.home}/logs/gbuild-agent.log</value>
+              </property>
+              <property>
+                <name>append</name>
+                <value>true</value>
+              </property>
+              <property>
+                <name>maxBackupIndex</name>
+                <value>10</value>
+              </property>
+              <property>
+                <name>maxFileSize</name>
+                <value>100KB</value>
+              </property>
+            </properties>
+          </appender>
+        </appenders>
+        <levels>
+          <!--<level>-->
+            <!--<hierarchy>org.codehaus.plexus.velocity</hierarchy>-->
+            <!--<level>WARN</level>-->
+          <!--</level>-->
+        </levels>
+      </configuration>
+    </component>
+  </components>
+
+</application>

Added: geronimo/gbuild/trunk/gbuild-agent-application/src/test/conf/test-runtime-configuration.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent-application/src/test/conf/test-runtime-configuration.xml?rev=344314&view=auto
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent-application/src/test/conf/test-runtime-configuration.xml
(added)
+++ geronimo/gbuild/trunk/gbuild-agent-application/src/test/conf/test-runtime-configuration.xml
Mon Nov 14 21:45:27 2005
@@ -0,0 +1,3 @@
+<plexus>
+  <!-- Test runtime configuration -->
+</plexus>

Added: geronimo/gbuild/trunk/gbuild-agent-application/test.properties
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent-application/test.properties?rev=344314&view=auto
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent-application/test.properties (added)
+++ geronimo/gbuild/trunk/gbuild-agent-application/test.properties Mon Nov 14 21:45:27 2005
@@ -0,0 +1,3 @@
+app.name=gbuild-agent
+app.long.name=gbuild-agent
+app.description=GBuild Agent



Mime
View raw message