Changeset 3336

Show
Ignore:
Timestamp:
09/08/11 11:38:31
Author:
douglm
Message:

Suppress some warnings from compiler.

Move the config log4j.xml into the .defaults directory

Change the way extra properties are handled - only used by synch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build/buildwar.xml

    r3311 r3336  
    190190      <then> 
    191191        <copy todir="${app.dest.properties}"> 
    192           <filelist dir="${org.bedework.config.home}" 
     192          <filelist dir="${org.bedework.extra.properties.dir}" 
    193193                    files="${org.bedework.extra.properties}"/>  
    194194          <filterset refid="property.filters" /> 
  • trunk/build/quickstart/build.xml

    r3333 r3336  
    118118 
    119119  <!-- ================================================================= 
    120        "deploy.log4j" target 
    121        ================================================================= --> 
    122  
    123   <target name="deploy.log4j" depends="init" 
     120       "deploylog4j" target 
     121       ================================================================= --> 
     122 
     123  <target name="deploylog4j" depends="init" 
    124124          description="Copy the log4j config into the appserver"> 
    125125    <copy tofile="${org.bedework.log4j.config}"  
    126           file="${org.bedework.config.home}/log4j.xml
     126          file="${org.bedework.config.logging}
    127127            overwrite="true" /> 
    128128  </target> 
  • trunk/build/quickstart/linux/bw

    r3333 r3336  
    4545# Special targets - avoiding dependencies 
    4646 
     47deploylog4j= 
    4748dirstart= 
    4849 
     
    179180          return 
    180181        fi 
     182 
     183        if [ "$deploylog4j" != "" ] ; then 
     184          cd $QUICKSTART_HOME 
     185          specialTarget=deploylog4j 
     186      deploylog4j= 
     187          return 
     188        fi 
    181189         
    182190#     projects 
     
    497505      ;; 
    498506# ------------------------Special targets 
     507        deploylog4j) 
     508          deploylog4j="yes" 
     509      pkgdefault= 
     510      shift 
     511      ;; 
    499512        dirstart) 
    500513          dirstart="yes" 
  • trunk/build/quickstart/windows/bw.bat

    r3333 r3336  
    5858SET action= 
    5959 
     60:: Special targets - avoiding dependencies 
     61 
     62SET deploylog4j= 
     63SET dirstart= 
     64 
     65SET specialTarget= 
     66 
    6067:: check for command-line arguments and branch on them 
    6168IF "%1noargs" == "noargs" GOTO usage 
     
    121128:build-debug 
    122129  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= 
    123143  SHIFT 
    124144  GOTO branch 
     
    349369 
    350370:: 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 
    351375  IF NOT "%bwxml%empty" == "empty" GOTO cdBwxml 
    352376  IF NOT "%rpiutil%empty" == "empty" GOTO cdRpiutil 
     
    377401  GOTO runBedework 
    378402     
     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     
    379427:cdAccess 
    380428  cd %QUICKSTART_HOME%\access 
     
    462510:: (otherwise, we could just "GOTO %1") 
    463511:branch 
     512:: Special targets  
     513IF "%1" == "deploylog4j" GOTO deploylog4j 
     514IF "%1" == "dirstart" GOTO dirstart 
     515:: projects 
    464516IF "%1" == "-quickstart" GOTO quickstart 
    465517IF "%1" == "-bwchome" GOTO bwchome 
  • trunk/config/bwbuild/default/build.properties

    r3334 r3336  
    2626 
    2727org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 
     28 
     29# Where we deploy the logging config from  
     30org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml 
  • trunk/config/bwbuild/derby/build.properties

    r3334 r3336  
    2626 
    2727org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 
     28 
     29# Where we deploy the logging config from  
     30org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml 
  • trunk/config/bwbuild/jboss-h2/build.properties

    r3334 r3336  
    2626 
    2727org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 
     28 
     29# Where we deploy the logging config from  
     30org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml 
  • trunk/config/bwbuild/jboss-mysql/build.properties

    r3334 r3336  
    2626 
    2727org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 
     28 
     29# Where we deploy the logging config from  
     30org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml 
  • trunk/config/bwbuild/jboss-postgresql/build.properties

    r3334 r3336  
    2626 
    2727org.bedework.config.sysevents.properties=${org.bedework.configuration.defaults}/sysevents.properties 
     28 
     29# Where we deploy the logging config from  
     30org.bedework.config.logging=${org.bedework.configuration.defaults}/log4j.xml