[jboss-svn-commits] JBL Code SVN: r26481 - labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue May 12 15:40:05 EDT 2009
Author: whitingjr
Date: 2009-05-12 15:40:05 -0400 (Tue, 12 May 2009)
New Revision: 26481
Added:
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.checkstyle
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/build.xml
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/pom.xml
Modified:
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.classpath
labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.project
Log:
Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.checkstyle
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.checkstyle (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.checkstyle 2009-05-12 19:40:05 UTC (rev 26481)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<fileset-config file-format-version="1.2.0" simple-config="true">
+ <fileset name="all" enabled="true" check-config-name="Sun Checks" local="false">
+ <file-match-pattern match-pattern="." include-pattern="true"/>
+ </fileset>
+</fileset-config>
Modified: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.classpath
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.classpath 2009-05-12 19:39:48 UTC (rev 26480)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.classpath 2009-05-12 19:40:05 UTC (rev 26481)
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_13"/>
- <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.jst.j2ee.internal.module.container"/>
- <classpathentry kind="output" path="build/classes"/>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="src" path="src/main/test"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.project
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.project 2009-05-12 19:39:48 UTC (rev 26480)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/.project 2009-05-12 19:40:05 UTC (rev 26481)
@@ -5,12 +5,8 @@
<projects>
</projects>
<buildSpec>
+
<buildCommand>
- <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
@@ -30,8 +26,14 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/build.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/build.xml (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/build.xml 2009-05-12 19:40:05 UTC (rev 26481)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="mvccsample.ejb" basedir="." default="usage">
+
+ <target name="build">
+ <echo>EJB module build task was executed.</echo>
+
+ <javac destdir="${build.dir}/classes" classpathref="COMPILE_DEPENDENCIES" debug="true" target="1.6">
+ <src path="${basedir}/src/main/java"/>
+ <!--
+ <src path="${basedir}/src/test/java"/>
+ -->
+ </javac>
+
+ <jar jarfile="${artifact-target}/MVCCSampleEJB.jar" manifest="${basedir}/src/main/resources/META-INF/MANIFEST.MF">
+ <fileset dir="${build.dir}/classes">
+ <include name="uk/ac/ncl/sdia/**"/>
+ <patternset refid="testcase.filename.patternset"/>
+ </fileset>
+
+ <fileset dir="${basedir}/src/main/resources">
+ <include name="import.sql" />
+ </fileset>
+
+ <metainf dir="${basedir}/src/main/resources/META-INF">
+ <include name="*"/>
+ </metainf>
+
+ </jar>
+ </target>
+
+
+ <target name="usage">
+ <echo>Please do not call this build file directly. Use master build script in ../MVCCSample-build directory.</echo>
+ </target>
+</project>
\ No newline at end of file
Added: labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/pom.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/pom.xml (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/MVCCSampleEJB/pom.xml 2009-05-12 19:40:05 UTC (rev 26481)
@@ -0,0 +1,45 @@
+<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>MVCCSampleEJB</artifactId>
+ <packaging>ejb</packaging>
+ <version>0.0.1-SNAPSHOT</version>
+ <parent>
+ <artifactId>MVCCSample</artifactId>
+ <groupId>uk.ac.ncl.sdia.a8905943</groupId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <dependencies>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.5</version>
+ <scope>test</scope>
+ </dependency>
+
+
+
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ <generateClient>true</generateClient>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ <archive>
+ <manifest>
+ <addClasspath>false</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
More information about the jboss-svn-commits
mailing list