[Yanel-commits] rev 41335 - public/yanel/trunk/src/build/targets
michi at wyona.com
michi at wyona.com
Wed Feb 4 12:26:06 CET 2009
Author: michi
Date: 2009-02-04 12:26:06 +0100 (Wed, 04 Feb 2009)
New Revision: 41335
Modified:
public/yanel/trunk/src/build/targets/realms.xml
Log:
check realms config before actually building realms
Modified: public/yanel/trunk/src/build/targets/realms.xml
===================================================================
--- public/yanel/trunk/src/build/targets/realms.xml 2009-02-04 10:19:26 UTC (rev 41334)
+++ public/yanel/trunk/src/build/targets/realms.xml 2009-02-04 11:26:06 UTC (rev 41335)
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<project name="realms" default="realms" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
+<project name="realms" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<target name="deploy-libs-of-realms" description="Deploy libraries of realms" depends="generate-realms-build">
<ant antfile="${yanel.source.home}/build/build-realms.xml" target="deploy-realms"/>
@@ -8,6 +8,11 @@
<!-- Build Realms -->
<target name="build-realms" description="Build realms" depends="generate-realms-build">
+ <condition property="local.realms.config.exists">
+ <available file="${yanel.source.home}/${local.config.dir}/local.realms.xml" type="file"/>
+ </condition>
+ <antcall target="check-config-version-realms-xml"/>
+
<ant antfile="${yanel.source.home}/build/build-realms.xml" target="build-realms"/>
<ant antfile="${yanel.source.home}/build/build-realms.xml" target="copy-dependencies"/>
</target>
@@ -42,4 +47,4 @@
</replace>
</target>
-</project>
\ No newline at end of file
+</project>
More information about the Yanel-commits
mailing list