You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by rl...@apache.org on 2002/12/17 18:10:31 UTC
cvs commit: jakarta-struts build-all-clean.bat.sample
rleland 2002/12/17 09:10:31
Modified: . build-all-clean.bat.sample
Log:
Update build script
Revision Changes Path
1.4 +18 -13 jakarta-struts/build-all-clean.bat.sample
Index: build-all-clean.bat.sample
===================================================================
RCS file: /home/cvs/jakarta-struts/build-all-clean.bat.sample,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- build-all-clean.bat.sample 27 Oct 2002 04:02:00 -0000 1.3
+++ build-all-clean.bat.sample 17 Dec 2002 17:10:31 -0000 1.4
@@ -1,4 +1,4 @@
-@echo on
+@echo off
rem This is an example "build-all-clean.bat" file, used to build struts from
rem a clean commons.
rem What is needed is a good top level commons build.xml for ant/maven.
@@ -28,38 +28,43 @@
cd ..
-rem
+rem goto manualbuild
+
rm -rf */*/dist
rm -rf */*/target
rm -rf */*/build
rm -rf jakarta-struts-current/dist
rm -rf jakarta-struts-current/target
+:manualbuild
+
+SET CLEAN=clean
+
cd jakarta-commons
cd logging
-call ant clean dist
+call ant %CLEAN% dist
cd ..\collections
-call ant clean dist
+call ant %CLEAN% dist
cd ..\beanutils
-call ant clean dist
+call ant %CLEAN% dist
cd ..\lang
-call ant clean dist
+call ant %CLEAN% dist
cd ..\pool
-call ant clean dist
+call ant %CLEAN% dist
cd ..\dbcp
-call ant clean dist
+call maven
cd ..\digester
-call ant clean dist
+call ant %CLEAN% dist
cd ..\validator
-call ant clean dist
+call ant %CLEAN% dist
cd ..\fileupload
call maven
@@ -70,9 +75,9 @@
call maven
cd ..\services
-call ant clean dist
+call ant %CLEAN% dist
cd ..\..\jakarta-struts-current
-call ant clean dist
+call ant %CLEAN% dist
pause
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>