Author: gert
Date: 2007-12-04 11:47:07 -0500 (Tue, 04 Dec 2007)
New Revision: 90695
Modified:
trunk/gert/standalone/bug345627/default.build
Log:
Use common build file.
Modified: trunk/gert/standalone/bug345627/default.build
===================================================================
--- trunk/gert/standalone/bug345627/default.build 2007-12-04 16:47:01 UTC
(rev 90694)
+++ trunk/gert/standalone/bug345627/default.build 2007-12-04 16:47:07 UTC
(rev 90695)
@@ -1,29 +1,8 @@
<project name="bug345627" default="rebuild">
- <target name="mono-1.0">
- <property name="csc.defines"
value="NET_1_0,NET_1_1,ONLY_1_1,MONO" />
- </target>
-
- <target name="mono-2.0">
- <property name="csc.defines"
value="NET_1_0,NET_1_1,NET_2_0,ONLY_2_0,MONO" />
- </target>
-
- <target name="net-1.1">
- <property name="csc.defines" value="NET_1_0,NET_1_1,ONLY_1_1" />
- </target>
-
- <target name="net-2.0">
- <property name="csc.defines"
value="NET_1_0,NET_1_1,NET_2_0,ONLY_2_0" />
- </target>
-
+ <include buildfile="../../build/common.build" />
+
<property name="frameworks" value="mono-1.0,mono-2.0,net-1.1,net-2.0" />
- <target name="init">
- <if test="${not
target::exists(nant.settings.currentframework)}">
- <fail>Framework '${nant.settings.currentframework}' is
not supported.</fail>
- </if>
- <call target="${nant.settings.currentframework}" />
- </target>
-
<target name="clean">
<delete>
<fileset>
@@ -37,20 +16,6 @@
</delete>
</target>
- <target name="build">
- <property name="original.targetframework"
value="${nant.settings.currentframework}" />
-
- <foreach property="framework" item="String" in="${frameworks}"
delim=",">
- <if test="${framework::exists(framework)}">
- <property name="nant.settings.currentframework"
value="${framework}" />
- <call target="run" />
- <call target="clean" />
- </if>
- </foreach>
-
- <property name="nant.settings.currentframework"
value="${original.targetframework}" />
- </target>
-
<target name="compile" depends="init">
<csc target="library" define="${csc.defines}"
output="localized/localized.dll" warnaserror="true" warninglevel="4">
<sources basedir="localized">
@@ -68,7 +33,7 @@
</csc>
</target>
- <target name="run" depends="compile">
+ <target name="run-test" depends="compile">
<move todir="main">
<fileset basedir="localized">
<include name="nl-BE/**" />
@@ -77,6 +42,4 @@
<exec program="main/main.exe" managed="true" output="out" />
<fail if="${file::exists('out')}" />
</target>
-
- <target name="rebuild" depends="clean, build" />
</project>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches