[jboss-cvs] jboss-seam/seam-gen/build-scripts ...
Gavin King
gavin.king at jboss.com
Wed Nov 1 22:10:53 EST 2006
User: gavin
Date: 06/11/01 22:10:53
Modified: seam-gen/build-scripts build.xml
Log:
more fixes
Revision Changes Path
1.2 +8 -5 jboss-seam/seam-gen/build-scripts/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build-scripts/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- build.xml 28 Oct 2006 17:56:03 -0000 1.1
+++ build.xml 2 Nov 2006 03:10:53 -0000 1.2
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<project name="seam-demo" default="deploy" basedir=".">
+<project name="@projectName@" default="deploy" basedir=".">
<!-- Give user a chance to override without editing this file or typing -D -->
<property file="${basedir}/build.properties" />
@@ -56,7 +56,7 @@
<jar jarfile="${ear.dir}/@projectName at .jar" basedir="${classes.dir}">
<include name="**/*" />
<manifest>
- <attribute name="@projectName@" value="Seam Shell Sample" />
+ <attribute name="@projectName@" value="Seam Generated Application" />
</manifest>
</jar>
</target>
@@ -64,7 +64,6 @@
<target name="build-war" depends="compile" description="Build the distribution .war file">
<copy todir="${basedir}/exploded-archives/@projectName at .war">
<fileset dir="${basedir}/view" />
- <fileset dir="${basedir}/resources/WEB-INF" />
</copy>
<copy todir="${basedir}/exploded-archives/@projectName at .war/WEB-INF/lib">
<fileset dir="${lib.dir}">
@@ -76,6 +75,10 @@
</copy>
<copy todir="${basedir}/exploded-archives/@projectName at .war/WEB-INF">
<fileset dir="${basedir}/resources/WEB-INF" />
+ <filterset>
+ <filter token="jndiPattern" value="@projectName@/#{ejbName}/local"/>
+ <filter token="embeddedEjb" value="false"/>
+ </filterset>
</copy>
</target>
@@ -142,7 +145,7 @@
<copy todir="${test.dir}" flatten="true">
<fileset dir="${src.java.dir}">
- <include name="**/*-testng.xml" />
+ <include name="**/*Test.xml" />
</fileset>
</copy>
@@ -150,7 +153,7 @@
<classpath path="${test.dir}" />
<classpath path="${embedded-ejb3.dir}" />
<classpath refid="build.classpath" />
- <xmlfileset dir="${test.dir}" includes="*-testng.xml" />
+ <xmlfileset dir="${test.dir}" includes="*Test.xml" />
</testng>
</target>
</project>
More information about the jboss-cvs-commits
mailing list