[Yanel-commits] rev 39114 - public/yanel/trunk/src/test

michi at wyona.com michi at wyona.com
Thu Oct 2 14:42:45 CEST 2008


Author: michi
Date: 2008-10-02 14:42:45 +0200 (Thu, 02 Oct 2008)
New Revision: 39114

Modified:
   public/yanel/trunk/src/test/build.xml
Log:
bug fixed re if resource types config exists

Modified: public/yanel/trunk/src/test/build.xml
===================================================================
--- public/yanel/trunk/src/test/build.xml	2008-10-02 11:56:42 UTC (rev 39113)
+++ public/yanel/trunk/src/test/build.xml	2008-10-02 12:42:45 UTC (rev 39114)
@@ -77,8 +77,8 @@
   </target>
 
   <target name="build-resources" depends="init" description="Build tests of resources">
-    <condition property="local.yanel.config.exists">
-      <available file="${local.conf.dir}/local.yanel.xml" type="file"/>
+    <condition property="local.resource-types.config.exists">
+      <available file="${local.conf.dir}/local.resource-types.xml" type="file"/>
     </condition>
     <antcall target="generate-resources-test-build-from-default"/>
     <antcall target="generate-resources-test-build-from-local"/>
@@ -95,11 +95,12 @@
     <ant antfile="${build.dir}/test-resources.xml" target="build-test-resources" inheritRefs="true"/>
   </target>
   
-  <target name="generate-resources-test-build-from-default" depends="init" unless="local.yanel.config.exists">
+  <target name="generate-resources-test-build-from-default" depends="init" unless="local.resource-types.config.exists">
     <xslt in="${conf.dir}/resource-types.xml" out="${build.dir}/test-resources.xml" style="test-resources.xsl" force="false"/>
   </target>
 
-  <target name="generate-resources-test-build-from-local" depends="init" if="local.yanel.config.exists">
+  <target name="generate-resources-test-build-from-local" depends="init" if="local.resource-types.config.exists">
+    <echo>Create ant build file '${build.dir}/test-resources.xml' in order to build tests of resources</echo>
     <xslt in="${local.conf.dir}/local.resource-types.xml" out="${build.dir}/test-resources.xml" style="test-resources.xsl" force="true"/>
   </target>
   



More information about the Yanel-commits mailing list