You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2007/01/23 05:24:10 UTC
svn commit: r498912 - /ant/antlibs/dotnet/trunk/src/tests/antunit/dir with
spaces/compilation-test.xml
Author: bodewig
Date: Mon Jan 22 20:24:07 2007
New Revision: 498912
URL: http://svn.apache.org/viewvc?view=rev&rev=498912
Log:
Add tests for compilation with response file
Modified:
ant/antlibs/dotnet/trunk/src/tests/antunit/dir with spaces/compilation-test.xml
Modified: ant/antlibs/dotnet/trunk/src/tests/antunit/dir with spaces/compilation-test.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/src/tests/antunit/dir%20with%20spaces/compilation-test.xml?view=diff&rev=498912&r1=498911&r2=498912
==============================================================================
--- ant/antlibs/dotnet/trunk/src/tests/antunit/dir with spaces/compilation-test.xml (original)
+++ ant/antlibs/dotnet/trunk/src/tests/antunit/dir with spaces/compilation-test.xml Mon Jan 22 20:24:07 2007
@@ -135,4 +135,46 @@
<au:assertFileExists file="${testIlasm.exe}"/>
</target>
+ <target name="testCSCResponseFile" depends="probe_for_apps" if="csc.found">
+ <property name="testCSC.exe"
+ location="${dest.dir}/ExampleCsc.exe" />
+ <au:assertFileDoesntExist file="${testCSC.exe}"/>
+ <dn:csc
+ destFile="${testCSC.exe}"
+ targetType="exe"
+ srcDir="${source.dir}"
+ useResponseFile="true"
+ >
+ </dn:csc>
+ <au:assertFileExists file="${testCSC.exe}"/>
+ </target>
+
+ <target name="testJSharpcResponseFile" depends="probe_for_apps" if="jsharp.found">
+ <property name="testJSharp.exe"
+ location="${dest.dir}/jsharp.exe" />
+ <au:assertFileDoesntExist file="${testJSharp.exe}"/>
+ <dn:jsharpc
+ destFile="${testJSharp.exe}"
+ targetType="exe"
+ useResponseFile="true"
+ >
+ <src dir="${source.dir}" includes="*.java"/>
+ </dn:jsharpc>
+ <au:assertFileExists file="${testJSharp.exe}"/>
+ </target>
+
+ <target name="testVBCResponseFile" depends="probe_for_apps" if="vbc.found">
+ <property name="testVBC.exe"
+ location="${dest.dir}/ExampleVbc.exe" />
+ <au:assertFileDoesntExist file="${testVBC.exe}"/>
+ <dn:vbc
+ destFile="${testVBC.exe}"
+ targetType="exe"
+ srcDir="${source.dir}"
+ useResponseFile="true"
+ >
+ </dn:vbc>
+ <au:assertFileExists file="${testVBC.exe}"/>
+ </target>
+
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org