[jboss-cvs] /jboss-seam ...
James Williams
james.williams at jboss.com
Thu Nov 9 08:47:03 EST 2006
User: jwilliams
Date: 06/11/09 08:47:03
Added: jboss-seam seam.bat
Log:
checking in new seam.bat file for re-factored seam-gen targets.
Revision Changes Path
1.9 +20 -27 /jboss-seam/seam.bat
(In the diff below, changes in quantity of whitespace are not shown.)
Index: seam.bat
===================================================================
RCS file: seam.bat
diff -N seam.bat
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ seam.bat 9 Nov 2006 13:47:03 -0000 1.9
@@ -0,0 +1,45 @@
+ at echo off
+ at if not "%ECHO%" == "" echo %ECHO%
+ at if "%OS%" == "Windows_NT" setlocal
+
+set DIRNAME=.\
+
+if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
+set PROGNAME=seam.bat
+if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
+
+set SEAMGENDIR=%DIRNAME%\seam-gen
+
+rem Read all command line arguments
+set SEAMTASK=%1%
+set PROJECTNAME=%2%
+
+if %SEAMTASK% == setup ant setup -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == new-project ant new-project -buildfile=%SEAMGENDIR%\build.xml -Dproject.name=%PROJECTNAME%
+
+if %SEAMTASK% == explode ant explode -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == unexplode ant unexplode -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == deploy ant deploy -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == undeploy ant undeploy -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == restart ant restart -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == new-action ant new-action -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == new-form ant new-form -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == new-conversation ant new-conversation -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == new-entity ant new-entity -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == generate-entities ant generate-entities -buildfile=%SEAMGENDIR%\build.xml
+
+if %SEAMTASK% == help more %SEAMGENDIR%\README
+
+goto END_NO_PAUSE
+
+:END_NO_PAUSE
More information about the jboss-cvs-commits
mailing list