Changeset 1940
- Timestamp:
- 10/30/08 17:21:01
- Files:
-
- trunk/build/bw.bat (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build/bw.bat
r1908 r1940 1 :: This file is included by the quickstart script file "..\..\bw.bat" so that 1 :: This file is included by the quickstart script file "..\..\bw.bat" so that 2 2 :: we may keep this script under version control in the svn repository. 3 3 … … 31 31 SET quickstart="yes" 32 32 SHIFT 33 IF "%1noarg" == "noarg" GOTO doneWithArgs34 33 GOTO branch 35 36 :bwchome 34 35 :bwchome 37 36 :: Define location of configs 38 37 SHIFT 39 38 SET BWCONFIGS=%1 40 39 SHIFT 41 IF "%1noarg" == "noarg" GOTO doneWithArgs42 40 GOTO branch 43 41 … … 46 44 SET bwc=%1 47 45 SHIFT 48 IF "%1noarg" == "noarg" GOTO doneWithArgs49 46 GOTO branch 50 47 51 48 :offline 52 49 ECHO Setting to offline mode; libraries will not be downloaded ... 53 50 SET offline="-Dorg.bedework.offline.build=yes" 54 51 SHIFT 55 IF "%1noarg" == "noarg" GOTO doneWithArgs56 52 GOTO branch 57 53 58 54 :doneWithArgs 59 55 60 56 IF NOT "%quickstart%empty" == "empty" GOTO checkBwConfig 61 57 IF NOT "%BWCONFIGS%empty" == "empty" GOTO DoneQB … … 92 88 :runBedework 93 89 :: Make available for ant 94 SET BWCONFIG=-Dorg.bedework.user.build.properties=%BEDEWORK_CONFIG%\build.properties "95 90 SET BWCONFIG=-Dorg.bedework.user.build.properties=%BEDEWORK_CONFIG%\build.properties 91 96 92 ECHO. 97 93 ECHO BWCONFIGS = %BWCONFIGS% 98 94 ECHO BWCONFIG = %BWCONFIG% 99 ECHO. 100 95 ECHO. 96 101 97 SET ANT_HOME=%QUICKSTART_HOME%\apache-ant-1.7.0 102 98 103 99 SET CLASSPATH="%ANT_HOME%\lib\ant-launcher.jar" 104 105 "%JAVA_HOME%\bin\java.exe" -classpath %CLASSPATH% %offline% -Dant.home=%ANT_HOME% org.apache.tools.ant.launch.Launcher %BWCONFIG% % *%106 100 101 "%JAVA_HOME%\bin\java.exe" -classpath %CLASSPATH% %offline% -Dant.home=%ANT_HOME% org.apache.tools.ant.launch.Launcher %BWCONFIG% %1 102 107 103 GOTO:EOF 108 104 109 105 110 106 :: Iterate over the command line arguments; 111 107 :: DOS Batch labels can't contain hyphens, so convert them … … 116 112 IF "%1" == "-bwc" GOTO bwc 117 113 IF "%1" == "-offline" GOTO offline 118 114 GOTO doneWithArgs 115 119 116 :usage 120 117 ECHO Usage: … … 122 119 ECHO %0 [ -quickstart OR -bwchome path ] [ -bwc configname ] [ -offline ] [ target ] 123 120 ECHO. 124 ECHO -quickstart Use the current quickstart configurations. 121 ECHO -quickstart Use the current quickstart configurations. 125 122 ECHO -bwchome Specify path to configurations 126 123 ECHO -bwc Specify configuration name … … 131 128 ECHO directory which contains one directory per configuration. 132 129 ECHO. 133 ECHO Within each configuration directory we expect a file called 134 ECHO build.properties which should point to the property and options file 130 ECHO Within each configuration directory we expect a file called 131 ECHO build.properties which should point to the property and options file 135 132 ECHO needed for the deploy process. 136 133 ECHO.
