[jboss-cvs] jboss-seam ...
Gavin King
gavin.king at jboss.com
Fri Nov 10 00:48:27 EST 2006
User: gavin
Date: 06/11/10 00:48:27
Modified: jboss-seam seam seam.bat
Log:
finishing touches
Revision Changes Path
1.10 +2 -11 jboss-seam/seam
(In the diff below, changes in quantity of whitespace are not shown.)
Index: seam
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- seam 8 Nov 2006 02:13:12 -0000 1.9
+++ seam 10 Nov 2006 05:48:26 -0000 1.10
@@ -7,20 +7,11 @@
cd seam-gen
-if [ "${1}" = new-project ]
+if [ "${1}" == help ]
then
-
- ant new-project ${3} ${4} ${5} ${6} ${7} -Dproject.name=${2}
-
-elif [ "${1}" = new-wtp-project ]
-then
-
- ant new-wtp-project ${3} ${4} ${5} ${6} ${7} -Dproject.name=${2}
-
+ cat README
else
-
ant ${1} ${2} ${3} ${4} ${5} ${6} ${7}
-
fi
cd ..
\ No newline at end of file
1.13 +2 -6 jboss-seam/seam.bat
(In the diff below, changes in quantity of whitespace are not shown.)
Index: seam.bat
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam.bat,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- seam.bat 9 Nov 2006 15:35:48 -0000 1.12
+++ seam.bat 10 Nov 2006 05:48:27 -0000 1.13
@@ -11,18 +11,14 @@
set SEAMGENDIR=%DIRNAME%\seam-gen
set SEAMTASK=%1%
-set PROJECTNAME=%2%
set ARGS=%ARGS% %*
if [%1] == [] (goto usage)
:help
-if %SEAMTASK% == help ( goto help ) else (goto new-project)
+if %SEAMTASK% == help (goto help) else (goto tasks)
-:new-project
-if %SEAMTASK% == new-project ( ant new-project -buildfile=%SEAMGENDIR%\build.xml -Dproject.name=%PROJECTNAME% ) else (goto other-tasks)
-
-:other-tasks
+:tasks
ant %ARGS% -buildfile=%SEAMGENDIR%\build.xml
:usage
More information about the jboss-cvs-commits
mailing list