[jboss-cvs] /jboss-seam ...
James Williams
james.williams at jboss.com
Thu Nov 16 01:01:54 EST 2006
User: jwilliams
Date: 06/11/16 01:01:54
Modified: jboss-seam seam seam.bat
Log:
JBSEAM-504 - remove separate ant install dependency.
shell script won't work in cygwin.
Revision Changes Path
1.11 +3 -3 /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.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- seam 10 Nov 2006 05:48:26 -0000 1.10
+++ seam 16 Nov 2006 06:01:54 -0000 1.11
@@ -7,11 +7,11 @@
cd seam-gen
-if [ "${1}" == help ]
+if [ "${1}" = help ]
then
- cat README
+ cat README:
else
- ant ${1} ${2} ${3} ${4} ${5} ${6} ${7}
+ java -cp ${JAVA_HOME}/lib/tools.jar:../lib/ant-nodeps.jar:../lib/ant-launcher.jar:../lib/ant.jar:../ -Dant.home=../lib org.apache.tools.ant.launch.Launcher ${1} ${2} ${3} ${4} ${5} ${6} ${7}
fi
cd ..
\ No newline at end of file
1.14 +2 -1 /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.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- seam.bat 10 Nov 2006 05:48:27 -0000 1.13
+++ seam.bat 16 Nov 2006 06:01:54 -0000 1.14
@@ -19,7 +19,8 @@
if %SEAMTASK% == help (goto help) else (goto tasks)
:tasks
-ant %ARGS% -buildfile=%SEAMGENDIR%\build.xml
+java -cp %JAVA_HOME%\lib\tools.jar;.\lib\ant.jar;.\lib\ant-nodeps.jar;.\lib\ant-launcher.jar -Dant.home=%DIRNAME%\lib org.apache.tools.ant.launch.Launcher -buildfile %SEAMGENDIR%\build.xml %ARGS%
+goto END_NO_PAUSE
:usage
more %SEAMGENDIR%\USAGE
More information about the jboss-cvs-commits
mailing list