[jboss-cvs] jboss-seam/seam-gen ...
Gavin King
gavin.king at jboss.com
Tue Nov 7 22:50:36 EST 2006
User: gavin
Date: 06/11/07 22:50:36
Modified: seam-gen build.xml README
Log:
improve
Revision Changes Path
1.30 +7 -8 jboss-seam/seam-gen/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.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- build.xml 8 Nov 2006 01:48:43 -0000 1.29
+++ build.xml 8 Nov 2006 03:50:36 -0000 1.30
@@ -142,7 +142,7 @@
<include name="stylesheet/*"/>
</fileset>
- <target name="file-copy" depends="copy-lib">
+ <target name="file-copy" unless="${wtp}">
<echo message="Copying project resources ..." />
<copy todir="${project.home}/resources">
@@ -171,7 +171,7 @@
</target>
- <target name="file-copy-wtp" depends="copy-lib">
+ <target name="file-copy-wtp" if="${wtp}">
<echo message="Copying project resources ..." />
<copy todir="${project.home}EJB/ejbModule" overwrite="true">
@@ -269,12 +269,11 @@
</fail>
</target>
- <target name="new-project" depends="validate-project,file-copy,set-default-project">
- <echo message="A new Seam project called '${project.name}' was created in the ${workspace.home} directory"/>
- </target>
-
- <target name="new-wtp-project" depends="validate-project,file-copy-wtp,set-default-project">
- <echo message="A new WTP project was created in the ${workspace.home} directory"/>
+ <target name="new-project" depends="validate-project,copy-lib,file-copy-wtp,file-copy,set-default-project">
+ <condition property="wtp">
+ <equals arg1="${eclipse.wtp}" arg2="Y"/>
+ </condition>
+ <echo message="A new Seam project was created in the ${workspace.home} directory"/>
</target>
<target name="update-project" depends="validate-project">
1.16 +1 -1 jboss-seam/seam-gen/README
(In the diff below, changes in quantity of whitespace are not shown.)
Index: README
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/README,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- README 6 Nov 2006 22:54:26 -0000 1.15
+++ README 8 Nov 2006 03:50:36 -0000 1.16
@@ -19,7 +19,7 @@
Example: seam setup
new-project
- Create a new seam project that has all dependencies and minimal
+ Create a new eclipse project that has all dependencies and basic
configuration. Refers to build.properties for project attributes.
Example: seam new-project hello-world
More information about the jboss-cvs-commits
mailing list