[Yanel-commits] rev 22301 - public/yanel/trunk/src/build

michi at wyona.com michi at wyona.com
Wed Jan 31 11:49:19 CET 2007


Author: michi
Date: 2007-01-31 11:49:17 +0100 (Wed, 31 Jan 2007)
New Revision: 22301

Modified:
   public/yanel/trunk/src/build/build.xml
Log:
tomcat.version and clean-all target added

Modified: public/yanel/trunk/src/build/build.xml
===================================================================
--- public/yanel/trunk/src/build/build.xml	2007-01-31 10:48:23 UTC (rev 22300)
+++ public/yanel/trunk/src/build/build.xml	2007-01-31 10:49:17 UTC (rev 22301)
@@ -168,7 +168,7 @@
   <target name="create-local-build-properties" if="local.build.properties.does.not.exist.yet" depends="init">
     <echo>Build configuration ${yanel.home.dir}/local.build.properties does not exist yet!</echo>
 
-    <input message="Do you have an existing Tomcat instance which you want to use as servlet engine for Yanel? If so, please enter the path of your Tomcat instance (e.g. /home/yanel/jakarta-tomcat-5.0.30), or otherwise just hit return (recommended to first time users :-) and Tomcat 5.5.20 will be installed at ${default.tomcat.home.dir} (You will always be able to change this setting at some later time within src/build/local.build.properties): " defaultvalue="${default.tomcat.home.dir.forward.slashes}" addproperty="pathOfUserSpecificTomcat"/>
+    <input message="Do you have an existing Tomcat instance which you want to use as servlet engine for Yanel? If so, please enter the path of your Tomcat instance (e.g. /home/yanel/jakarta-tomcat-5.0.30), or otherwise just hit return (recommended to first time users :-) and Tomcat ${tomcat.version} will be installed at ${default.tomcat.home.dir} (You will always be able to change this setting at some later time within src/build/local.build.properties): " defaultvalue="${default.tomcat.home.dir.forward.slashes}" addproperty="pathOfUserSpecificTomcat"/>
 
     <echo>User specific Tomcat: ${pathOfUserSpecificTomcat}</echo>
 
@@ -229,9 +229,9 @@
 -->
 
 <!--
-<property name="default.tomcat.home.dir" value="${yanel.home.dir}/local/apache-tomcat-5.5.20"/>
+<property name="default.tomcat.home.dir" value="${yanel.home.dir}/local/apache-tomcat-${tomcat.version}"/>
 -->
-    <property name="default.tomcat.home.dir" location="${yanel.home.dir}/local/apache-tomcat-5.5.20"/>
+    <property name="default.tomcat.home.dir" location="${yanel.home.dir}/local/apache-tomcat-${tomcat.version}"/>
     <path id="default.tomcat.home.dir.ref">
       <pathelement location="${default.tomcat.home.dir}"/>
     </path>
@@ -690,6 +690,15 @@
     <antcall target="ask-to-clean-tomcat-cluster-node2"/>
   </target>
 
+  <target name="clean-all" description="Clean All (including local configuration!)" depends="init, clean">
+    <delete dir="${build.dir}"/>
+    <delete dir="${yanel.home.dir}/local"/>
+<!--
+    <delete file="${yanel.home.dir}/src/build/local.build.properties"/>
+    <delete dir="${yanel.home.dir}/${local.config.dir}"/>
+-->
+  </target>
+
   <target name="ask-to-clean-tomcat-cluster-node1" if="property-tomcat-cluster-node1-is-set" description="Clean Tomcat cluster node 1">
     <input message="Do you really want to delete your deployed (maybe productive) Yanel version at '${tomcat1.webapps.dir}/${servlet.context.prefix}'? (yes/NO):" addproperty="answer"/>
     <condition property="yes-delete-tomcat-cluster-node1">




More information about the Yanel-commits mailing list