Skip to content
Permalink
Browse files
Add tests for compilation with response file
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/dotnet/trunk@498912 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
bodewig committed Jan 23, 2007
1 parent feebaef commit 4d34a9155c4f021541efa22f7262a501163f99f4
Showing 1 changed file with 42 additions and 0 deletions.
@@ -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>

0 comments on commit 4d34a91

Please sign in to comment.