Changeset 3336
- Timestamp:
- 09/08/11 11:38:31
- Files:
-
- trunk/build/buildwar.xml (modified) (1 diff)
- trunk/build/quickstart/build.xml (modified) (1 diff)
- trunk/build/quickstart/linux/bw (modified) (3 diffs)
- trunk/build/quickstart/windows/bw.bat (modified) (5 diffs)
- trunk/config/bwbuild/.defaults/log4j.xml (added)
- trunk/config/bwbuild/.defaults/synch-config.xml (moved) (moved from trunk/config/bwbuild/jboss-postgresql/synch-config.xml)
- trunk/config/bwbuild/default/build.properties (modified) (1 diff)
- trunk/config/bwbuild/default/log4j.xml (deleted)
- trunk/config/bwbuild/derby/build.properties (modified) (1 diff)
- trunk/config/bwbuild/derby/log4j.xml (deleted)
- trunk/config/bwbuild/jboss-h2/build.properties (modified) (1 diff)
- trunk/config/bwbuild/jboss-h2/log4j.xml (deleted)
- trunk/config/bwbuild/jboss-mysql/build.properties (modified) (1 diff)
- trunk/config/bwbuild/jboss-mysql/log4j.xml (deleted)
- trunk/config/bwbuild/jboss-postgresql/build.properties (modified) (1 diff)
- trunk/config/bwbuild/jboss-postgresql/log4j.xml (deleted)
- trunk/docs/CalWs-SOAP.odt (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build/buildwar.xml
r3311 r3336 190 190 <then> 191 191 <copy todir="${app.dest.properties}"> 192 <filelist dir="${org.bedework. config.home}"192 <filelist dir="${org.bedework.extra.properties.dir}" 193 193 files="${org.bedework.extra.properties}"/> 194 194 <filterset refid="property.filters" /> trunk/build/quickstart/build.xml
r3333 r3336 118 118 119 119 <!-- ================================================================= 120 "deploy .log4j" target121 ================================================================= --> 122 123 <target name="deploy .log4j" depends="init"120 "deploylog4j" target 121 ================================================================= --> 122 123 <target name="deploylog4j" depends="init" 124 124 description="Copy the log4j config into the appserver"> 125 125 <copy tofile="${org.bedework.log4j.config}" 126 file="${org.bedework.config. home}/log4j.xml"126 file="${org.bedework.config.logging}" 127 127 overwrite="true" /> 128 128 </target> trunk/build/quickstart/linux/bw
r3333 r3336 45 45 # Special targets - avoiding dependencies 46 46 47 deploylog4j= 47 48 dirstart= 48 49 … … 179 180 return 180 181 fi 182 183 if [ "$deploylog4j" != "" ] ; then 184 cd $QUICKSTART_HOME 185 specialTarget=deploylog4j 186 deploylog4j= 187 return 188 fi 181 189 182 190 # projects … … 497 505 ;; 498 506 # ------------------------Special targets 507 deploylog4j) 508 deploylog4j="yes" 509 pkgdefault= 510 shift 511 ;; 499 512 dirstart) 500 513 dirstart="yes" trunk/build/quickstart/windows/bw.bat
r3333 r3336 58 58 SET action= 59 59 60 :: Special targets - avoiding dependencies 61 62 SET deploylog4j= 63 SET dirstart= 64 65 SET specialTarget= 66 60 67 :: check for command-line arguments and branch on them 61 68 IF "%1noargs" == "noargs" GOTO usage … … 121 128 :build-debug 122 129 SET bw_loglevel="-Dorg.bedework.build.inform=true -Dorg.bedework.build.noisy=true -Dorg.bedework.build.debug=true " 130 SHIFT 131 GOTO branch 132 133 :: ----------------------- Special targets 134 :deploylog4j 135 SET deploylog4j="yes" 136 SET pkgdefault= 137 SHIFT 138 GOTO branch 139 140 :dirstart 141 SET dirstart="yes" 142 SET pkgdefault= 123 143 SHIFT 124 144 GOTO branch … … 349 369 350 370 :: This below reflects the dependency ordering 371 :: Special targets first 372 IF NOT "%dirstart%empty" == "empty" GOTO cdDirstart 373 IF NOT "%deploylog4j%empty" == "empty" GOTO cdDeploylog4j 374 :: Now projects 351 375 IF NOT "%bwxml%empty" == "empty" GOTO cdBwxml 352 376 IF NOT "%rpiutil%empty" == "empty" GOTO cdRpiutil … … 377 401 GOTO runBedework 378 402 403 :dospecial 404 ECHO WORKING DIRECTORY = %cd% 405 ECHO COMMAND = "%JAVA_HOME%\bin\java.exe" -classpath %CLASSPATH% %offline% -Dant.home="%ANT_HOME%" org.apache.tools.ant.launch.Launcher "%BWCONFIG%" %ant_listener% %ant_logger% %ant_loglevel% %bw_loglevel% %specialTarget% 406 ECHO. 407 ECHO. 408 "%JAVA_HOME%\bin\java.exe" -classpath %CLASSPATH% %offline% -Dant.home="%ANT_HOME%" org.apache.tools.ant.launch.Launcher "%BWCONFIG%" %ant_listener% %ant_logger% %ant_loglevel% %bw_loglevel% %specialTarget% 409 410 GOTO runBedework 411 412 :: Special targets 413 414 :cdDirstart 415 cd %QUICKSTART_HOME% 416 SET dirstart= 417 SET specialTarget="dirstart" 418 GOTO dospecial 419 420 :cdDeploylog4j 421 cd %QUICKSTART_HOME% 422 SET deploylog4j= 423 SET specialTarget="deploylog4j" 424 GOTO dospecial 425 426 :: Projects 379 427 :cdAccess 380 428 cd %QUICKSTART_HOME%\access … … 462 510 :: (otherwise, we could just "GOTO %1") 463 511 :branch 512 :: Special targets 513 IF "%1" == "deploylog4j" GOTO deploylog4j 514 IF "%1" == "dirstart" GOTO dirstart 515 :: projects 464 516 IF "%1" == "-quickstart" GOTO quickstart 465 517 IF "%1" == "-bwchome" GOTO bwchome trunk/config/bwbuild/default/build.properties
r3334 r3336 26 26 27 27 org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 28 29 # Where we deploy the logging config from 30 org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml trunk/config/bwbuild/derby/build.properties
r3334 r3336 26 26 27 27 org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 28 29 # Where we deploy the logging config from 30 org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml trunk/config/bwbuild/jboss-h2/build.properties
r3334 r3336 26 26 27 27 org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 28 29 # Where we deploy the logging config from 30 org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml trunk/config/bwbuild/jboss-mysql/build.properties
r3334 r3336 26 26 27 27 org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 28 29 # Where we deploy the logging config from 30 org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml trunk/config/bwbuild/jboss-postgresql/build.properties
r3334 r3336 26 26 27 27 org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 28 29 # Where we deploy the logging config from 30 org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml
