Changeset 2024
- Timestamp:
- 01/15/09 22:13:14
- Files:
-
- trunk/build.xml (modified) (2 diffs)
- trunk/build/quickstart/antlib (added)
- trunk/build/quickstart/antlib/log4j.xml (added)
- trunk/build/quickstart/build.xml (modified) (3 diffs)
- trunk/build/quickstart/linux/bw (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build.xml
r2014 r2024 63 63 <loadfile property="org.bedework.README" 64 64 srcFile="${org.bedework.project.bedework}/docs/README"/> 65 <echo message="${org.bedework.README}" />65 <echo level="info" message="${org.bedework.README}" /> 66 66 </target> 67 67 68 68 <target name="usage" depends="init" 69 69 description="Describe targets and their usage"> 70 <echo message="As distributed the package should be ready to go."/>71 <echo message="Ensure ant is on your path, (a version is in the" />72 <echo message="package)"/>73 <echo message=""/>74 <echo message="First in one window do"/>75 <echo message=" ant hsqldb"/>76 <echo message="This will start the hsqldb server ready for the "/>77 <echo message="application."/>78 <echo message=""/>79 <echo message="In another window do"/>80 <echo message=" ant tomcatstart"/>81 <echo message=""/>82 <echo message="Once tomcat is running you should be able to go to a"/>83 <echo message="browser and connect to"/>84 <echo message=" http://localhost:8080/bedework"/>85 <echo message="and follow the instructions."/>86 <echo message=""/>87 <echo message="To build the calendar do"/>88 <echo message=" ant deploy or "/>89 <echo message=" ant deploy.debug "/>90 <echo message="which does a build and deploy of all components"/>91 <echo message=""/>92 <echo message="To rebuild the calendar do"/>93 <echo message=" ant clean.deploy or "/>94 <echo message=" ant clean.deploy.debug "/>95 <echo message="which does a clean, build and deploy of all components"/>96 <echo message=""/>97 <echo message="See documentation in the docs directory or on bedework.org"/>98 <echo message="for instructions on creating a locally configured calendar application"/>99 <echo message=""/>70 <echo level="info" message="As distributed the package should be ready to go."/> 71 <echo level="info" message="Ensure ant is on your path, (a version is in the" /> 72 <echo level="info" message="package)"/> 73 <echo level="info" message=""/> 74 <echo level="info" message="First in one window do"/> 75 <echo level="info" message=" ant hsqldb"/> 76 <echo level="info" message="This will start the hsqldb server ready for the "/> 77 <echo level="info" message="application."/> 78 <echo level="info" message=""/> 79 <echo level="info" message="In another window do"/> 80 <echo level="info" message=" ant tomcatstart"/> 81 <echo level="info" message=""/> 82 <echo level="info" message="Once tomcat is running you should be able to go to a"/> 83 <echo level="info" message="browser and connect to"/> 84 <echo level="info" message=" http://localhost:8080/bedework"/> 85 <echo level="info" message="and follow the instructions."/> 86 <echo level="info" message=""/> 87 <echo level="info" message="To build the calendar do"/> 88 <echo level="info" message=" ant deploy or "/> 89 <echo level="info" message=" ant deploy.debug "/> 90 <echo level="info" message="which does a build and deploy of all components"/> 91 <echo level="info" message=""/> 92 <echo level="info" message="To rebuild the calendar do"/> 93 <echo level="info" message=" ant clean.deploy or "/> 94 <echo level="info" message=" ant clean.deploy.debug "/> 95 <echo level="info" message="which does a clean, build and deploy of all components"/> 96 <echo level="info" message=""/> 97 <echo level="info" message="See documentation in the docs directory or on bedework.org"/> 98 <echo level="info" message="for instructions on creating a locally configured calendar application"/> 99 <echo level="info" message=""/> 100 100 </target> 101 101 … … 108 108 location="${user.home}/bedework.build.properties" /> 109 109 110 <echo message="Load user properties from ${org.bedework.user.build.properties}" />110 <echo level="info" message="Load user properties from ${org.bedework.user.build.properties}" /> 111 111 112 112 <!-- Load user property definition overrides --> trunk/build/quickstart/build.xml
r1944 r2024 39 39 <target name="usage" depends="init" 40 40 description="Describe targets and their usage"> 41 <echo message="As distributed the package should be ready to go."/>42 <echo message="Ensure ant is on your path, (a version is in the" />43 <echo message="package)"/>44 <echo message=""/>45 <echo message="First in one window do"/>46 <echo message=" ant hsqldb"/>47 <echo message="This will start the hsqldb server ready for the "/>48 <echo message="application."/>49 <echo message=""/>50 <echo message="In another window do"/>51 <echo message=" ant tomcatstart"/>52 <echo message=""/>53 <echo message="Once tomcat is running you should be able to go to a"/>54 <echo message="browser and connect to"/>55 <echo message=" http://localhost:8080/bedework"/>56 <echo message="and follow the instructions."/>57 <echo message=""/>58 <echo message="To build the calendar do"/>59 <echo message=" ant deploy or "/>60 <echo message=" ant deploy.debug "/>61 <echo message="which does a build and deploy of all components"/>62 <echo message=""/>63 <echo message="To rebuild the calendar do"/>64 <echo message=" ant clean.deploy or "/>65 <echo message=" ant clean.deploy.debug "/>66 <echo message="which does a clean, build and deploy of all components"/>67 <echo message=""/>68 <echo message="See documentation in the docs directory or on bedework.org"/>69 <echo message="for instructions on creating a locally configured calendar application"/>70 <echo message=""/>41 <echo level="info" message="As distributed the package should be ready to go."/> 42 <echo level="info" message="Ensure ant is on your path, (a version is in the" /> 43 <echo level="info" message="package)"/> 44 <echo level="info" message=""/> 45 <echo level="info" message="First in one window do"/> 46 <echo level="info" message=" ant hsqldb"/> 47 <echo level="info" message="This will start the hsqldb server ready for the "/> 48 <echo level="info" message="application."/> 49 <echo level="info" message=""/> 50 <echo level="info" message="In another window do"/> 51 <echo level="info" message=" ant tomcatstart"/> 52 <echo level="info" message=""/> 53 <echo level="info" message="Once tomcat is running you should be able to go to a"/> 54 <echo level="info" message="browser and connect to"/> 55 <echo level="info" message=" http://localhost:8080/bedework"/> 56 <echo level="info" message="and follow the instructions."/> 57 <echo level="info" message=""/> 58 <echo level="info" message="To build the calendar do"/> 59 <echo level="info" message=" ant deploy or "/> 60 <echo level="info" message=" ant deploy.debug "/> 61 <echo level="info" message="which does a build and deploy of all components"/> 62 <echo level="info" message=""/> 63 <echo level="info" message="To rebuild the calendar do"/> 64 <echo level="info" message=" ant clean.deploy or "/> 65 <echo level="info" message=" ant clean.deploy.debug "/> 66 <echo level="info" message="which does a clean, build and deploy of all components"/> 67 <echo level="info" message=""/> 68 <echo level="info" message="See documentation in the docs directory or on bedework.org"/> 69 <echo level="info" message="for instructions on creating a locally configured calendar application"/> 70 <echo level="info" message=""/> 71 71 </target> 72 72 … … 124 124 target="build" /> 125 125 <tstamp prefix="endbuild" /> 126 <echo message="=================> Build finished at ${endbuild.TODAY}" />126 <echo level="info" message="=================> Build finished at ${endbuild.TODAY}" /> 127 127 </target> 128 128 … … 151 151 </tstamp> 152 152 153 <echo message="=================> deploy.debug finished at ${deploydebug.time}" />153 <echo level="info" message="=================> deploy.debug finished at ${deploydebug.time}" /> 154 154 </target> 155 155 trunk/build/quickstart/linux/bw
r2008 r2024 6 6 # 7 7 8 if [ -z "$JAVA_HOME" -o ! -d "$JAVA_HOME" ] ; then9 errorUsage "JAVA_HOME is not defined correctly for bedework."10 fi11 12 8 ANT_HOME=`dirname "$PRG"`/apache-ant-1.7.0 13 9 ANT_HOME=`cd "$ANT_HOME" && pwd` 14 10 15 echo "" 11 #ant_listener="-listener org.apache.tools.ant.listener.Log4jListener" 12 #ant_xmllogfile="-DXmlLogger.file=log.xml" 13 #ant_logger="-logger org.apache.tools.ant.XmlLogger" 14 15 ant_listener= 16 ant_xmllogfile= 17 ant_logger= 18 16 19 echo "" 17 20 echo " Bedework Calendar System" … … 49 52 exit 1 50 53 } 54 55 if [ -z "$JAVA_HOME" -o ! -d "$JAVA_HOME" ] ; then 56 errorUsage "JAVA_HOME is not defined correctly for bedework." 57 fi 51 58 52 59 saveddir=`pwd` … … 130 137 131 138 CLASSPATH=$ANT_HOME/lib/ant-launcher.jar 139 CLASSPATH=$CLASSPATH:$QUICKSTART_HOME/bedework/build/quickstart/antlib 140 CLASSPATH=$CLASSPATH:$QUICKSTART_HOME/bedework/applib/log4j-1.2.8.jar 132 141 133 $JAVA_HOME/bin/java -classpath $CLASSPATH $ offline -Dant.home=$ANT org.apache.tools.ant.launch.Launcher $BWCONFIG$*142 $JAVA_HOME/bin/java -classpath $CLASSPATH $ant_xmllogfile $offline -Dant.home=$ANT org.apache.tools.ant.launch.Launcher $BWCONFIG $ant_listener $ant_logger $*
