[jboss-svn-commits] JBL Code SVN: r26448 - in labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build: .settings and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon May 11 05:23:41 EDT 2009


Author: whitingjr
Date: 2009-05-11 05:23:41 -0400 (Mon, 11 May 2009)
New Revision: 26448

Added:
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.classpath
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.project
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.jdt.core.prefs
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.jst.common.project.facet.core.prefs
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.wst.common.component
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.wst.common.project.facet.core.xml
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.maven.ide.eclipse.prefs
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/META-INF/
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/META-INF/MANIFEST.MF
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/build.xml
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/dependencies/
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/pom.xml
Modified:
   labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/
Log:
Added application module for global maven configuration.


Property changes on: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build
___________________________________________________________________
Name: svn:ignore
   + build
target
artifacts


Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.classpath
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.classpath	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.classpath	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+	<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.generic.runtimeTarget/JBoss v5.0"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_13"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.project
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.project	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.project	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>MVCCSample-build</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.wst.common.project.facet.core.builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.maven.ide.eclipse.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.validation.validationbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.maven.ide.eclipse.maven2Nature</nature>
+		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+	</natures>
+</projectDescription>

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.jdt.core.prefs	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,7 @@
+#Sun May 10 22:13:21 BST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.jst.common.project.facet.core.prefs	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.jst.common.project.facet.core.prefs	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,4 @@
+#Sun May 10 22:13:22 BST 2009
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.6.0_13/owners=jst.java\:6.0
+classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.server.generic.runtimeTarget\:\:JBoss\ v5.0/owners=jst.utility\:1.0
+eclipse.preferences.version=1

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.wst.common.component
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.wst.common.component	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.wst.common.component	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId">
+    <wb-module deploy-name="MVCCSample-build"/>
+</project-modules>

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.wst.common.project.facet.core.xml	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.eclipse.wst.common.project.facet.core.xml	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+  <runtime name="JBoss v5.0"/>
+  <fixed facet="jst.utility"/>
+  <fixed facet="jst.java"/>
+  <installed facet="jst.java" version="6.0"/>
+  <installed facet="jst.utility" version="1.0"/>
+</faceted-project>

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.maven.ide.eclipse.prefs
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.maven.ide.eclipse.prefs	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/.settings/org.maven.ide.eclipse.prefs	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,9 @@
+#Sun May 10 19:52:19 BST 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/META-INF/MANIFEST.MF
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/META-INF/MANIFEST.MF	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/META-INF/MANIFEST.MF	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path: 
+

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/build.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/build.xml	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/build.xml	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="MVCCSamplebuild" default="usage" basedir="." >
+	
+	<property name="JBOSS_HOME" value="/home/whitingjr/jboss-home"/>
+	
+	<available file="${JBOSS_HOME}" type="dir" property="jboss.isPresent" />
+	
+	<property name="artifact-target" value="${basedir}/artifacts"/>
+	<property name="build.dir" value="${basedir}/build"/>
+	<property name="deployment.artifact.filename" value="MVCCSampleEAR.ear"/>
+	
+	<target name="build" depends="check-environment, prepare">
+		<echo>project build target called</echo>
+		
+		<ant dir="../MVCCSampleEJB" target="build">
+			<reference refid="COMPILE_DEPENDENCIES"/>
+			<reference refid="testcase.filename.patternset"/>
+		</ant>
+		
+		<ant dir="../MVCCSampleEAR" target="build"/>
+		
+	</target>
+	
+	<target name="test" depends="build">
+		<junit printsummary="yes" haltonerror="no" haltonfailure="no">
+			<classpath>
+				<path refid="COMPILE_DEPENDENCIES"/>
+			</classpath>
+			<formatter type="plain"/>
+
+			<batchtest>
+				<fileset dir="${build.dir}/classes">
+					<patternset >
+						<include name="**/JUnitTest*"/>
+						<include name="**/JIntegrationTest*"/>
+					</patternset>
+				</fileset>
+			</batchtest>
+		</junit>
+	</target>
+	
+	<target name="deploy" depends="build">
+		
+		<copy file="${basedir}/artifacts/MVCCSampleEAR.ear" todir="${JBOSS_HOME}/server/default/deploy"/>
+		<echo>would have deployed artifact ${deployment.artifact.filename} to this directory [${JBOSS_HOME}/server/default/deploy]</echo>
+	</target>
+	
+	<target name="redeploy" depends="build">
+				
+	</target>
+		
+	
+	<target name="check-environment" unless="jboss.isPresent">
+		<echo message="Expected installation of JBOSS in this directory [${JBOSS_HOME}] is unavailable. Please install JBOSS first."/>
+	</target>
+	
+    <target name="usage">
+		<echo message="To use this script please execute one of the following tasks. "/>
+    	<echo message="ant build"/>
+    	<echo message="ant test"/>
+    	<echo message="ant bundle-coursework"/>
+    </target>
+	
+	
+	<path id="COMPILE_DEPENDENCIES">
+		<fileset dir="${JBOSS_HOME}/server/default/lib">
+			<include name="*.jar"/>
+		</fileset>
+		<fileset dir="${JBOSS_HOME}/client">
+			<include name="*.jar"/>
+		</fileset>
+		<!--
+		<fileset dir="${JBOSS_HOME}/server/default/deploy/ejb3.deployer">
+			<include name="*.jar"/>
+		</fileset>
+		
+		<fileset dir="${JBOSS_HOME}/server/default/deploy/jboss-aop-jdk50.deployer">
+			<include name="*.jar"/>
+		</fileset>
+		<fileset dir="${JBOSS_HOME}/server/default/deploy/jboss-web.deployer/jsf-libs">
+			<include name="*.jar"/>
+		</fileset>
+		-->
+		<fileset dir="${JBOSS_HOME}/lib">
+			<include name="*.jar"/>
+		</fileset>
+		
+		
+	</path>
+	
+	<target name="prepare">
+		<delete dir="${artifact-target}"/>
+		<delete dir="${build.dir}"/>
+		<mkdir dir="${artifact-target}"/>
+		<mkdir dir="${build.dir}"/>
+		<mkdir dir="${build.dir}/classes"/>
+	</target>
+	
+	<patternset id="testcase.filename.patternset">
+		<exclude name="**/JUnitTest*"/>
+		<exclude name="**/JIntegrationTest*"/>
+	</patternset>
+</project>
+

Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/pom.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/pom.xml	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSample-build/pom.xml	2009-05-11 09:23:41 UTC (rev 26448)
@@ -0,0 +1,60 @@
+<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>uk.ac.ncl.sdia.a8905943</groupId>
+	<artifactId>MVCCSample</artifactId>
+	<packaging>pom</packaging>
+	<version>0.0.1-SNAPSHOT</version>
+	<properties>
+		<version.maven-jboss-as-control-plugin>0.1.1</version.maven-jboss-as-control-plugin>
+	</properties>
+	<build>
+		<plugins>
+
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.6</source>
+					<target>1.6</target>
+				</configuration>
+			</plugin>
+
+                <!--  JBossAS Maven plugin for startup/shutdown/deploy/undeploy
+                        and other AS control -->
+
+			<plugin>
+				<groupId>org.jboss.maven.plugins.jbossas</groupId>
+				<artifactId>maven-jboss-as-control-plugin</artifactId>
+				<version>${version.maven-jboss-as-control-plugin}</version>
+
+				<!-- Executions -->
+				<!--
+					Deploy the tutorial
+				-->
+
+				<executions>
+					<execution>
+						<id>deploy-mvcc-sample</id>
+						<goals>
+							<goal>deploy</goal>
+						</goals>
+						<phase>pre-integration-test</phase>
+						<configuration>
+							<serverConfigName>${jboss.server.config}</serverConfigName>
+							<files>
+								${jboss.ejb3.tutorial.deployables}
+	                                </files>
+							<jboss.test.run>true</jboss.test.run>
+						</configuration>
+					</execution>
+				</executions>
+
+			</plugin>
+
+
+		</plugins>
+
+	</build>
+</project>
\ No newline at end of file




More information about the jboss-svn-commits mailing list