[Yanel-commits] rev 39989 - public/yanel/trunk/src/build/targets
michi at wyona.com
michi at wyona.com
Mon Nov 17 14:14:35 CET 2008
Author: michi
Date: 2008-11-17 14:14:35 +0100 (Mon, 17 Nov 2008)
New Revision: 39989
Modified:
public/yanel/trunk/src/build/targets/build-binary-snapshot.xml
Log:
resources path fixed
Modified: public/yanel/trunk/src/build/targets/build-binary-snapshot.xml
===================================================================
--- public/yanel/trunk/src/build/targets/build-binary-snapshot.xml 2008-11-17 13:06:20 UTC (rev 39988)
+++ public/yanel/trunk/src/build/targets/build-binary-snapshot.xml 2008-11-17 13:14:35 UTC (rev 39989)
@@ -28,10 +28,11 @@
</fail>
<mkdir dir="${snapshot.dir.win}"/>
+ <antcall target="prepare-tomcat"/>
+
<property name="tmp.dir" value="${snapshot.dir}/tmp"/>
+ <mkdir dir="${tmp.dir}"/>
- <antcall target="prepare-tomcat"/>
-
<antcall target="copy-realms-resources"/>
<!-- Windows specific snapshot -->
@@ -45,7 +46,9 @@
-->
<!--<delete dir="${snapshot.dir}"/>-->
+<!--
<delete dir="${tmp.dir}"/>
+-->
</target>
<target name="prepare-tomcat">
@@ -122,13 +125,13 @@
<copy file="${yanel.source.home}/conf/resource-types.xml" tofile="${tmp.dir}/WEB-INF/classes/resource-types.xml" overwrite="true"/>
<replace file="${tmp.dir}/WEB-INF/classes/resource-types.xml" value="../../resources">
- <replacetoken>../src/resources</replacetoken>
+ <replacetoken>@YANEL_SRC_DIR@/src/resources</replacetoken>
</replace>
<replace file="${tmp.dir}/WEB-INF/classes/resource-types.xml" value="../../resources">
- <replacetoken>../src/contributions/resources</replacetoken>
+ <replacetoken>@YANEL_SRC_DIR@/src/contributions/resources</replacetoken>
</replace>
<replace file="${tmp.dir}/WEB-INF/classes/resource-types.xml" value="../../resources">
- <replacetoken>../src/realms/welcome-admin/yanel/resources</replacetoken>
+ <replacetoken>@YANEL_SRC_DIR@/src/realms/welcome-admin/yanel/resources</replacetoken>
</replace>
<copy todir="${tmp.dir}/resources">
More information about the Yanel-commits
mailing list