Browse Source

the fix to DotnetCompile forced vbc to explicitly reference things. hmm.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275291 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 22 years ago
parent
commit
89e17e984c
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      src/etc/testcases/taskdefs/optional/WsdlToDotnet.xml

+ 8
- 1
src/etc/testcases/taskdefs/optional/WsdlToDotnet.xml View File

@@ -19,6 +19,9 @@
<property name="endpoint.wsdl" <property name="endpoint.wsdl"
value="http://nagoya.apache.org:5049/Axis/StockQuoteService.jws?wsdl" /> value="http://nagoya.apache.org:5049/Axis/StockQuoteService.jws?wsdl" />
<property name="vb.references"
value="System.Web.dll,System.xml.dll,System.dll,System.Web.Services.dll"/>
<target name="init" depends="validate"> <target name="init" depends="validate">
<mkdir dir="${build.dir}"/> <mkdir dir="${build.dir}"/>
<mkdir dir="${cache.dir}"/> <mkdir dir="${cache.dir}"/>
@@ -148,7 +151,10 @@
srcDir="${src.dir}" srcDir="${src.dir}"
destFile="${out.app}" destFile="${out.app}"
targetType="${out.type}" targetType="${out.type}"
/>
references="${vb.references}"
>
</vbc>
<available property="app.created" file="${out.app}"/> <available property="app.created" file="${out.app}"/>
<fail unless="app.created">No app created</fail> <fail unless="app.created">No app created</fail>
</target> </target>
@@ -167,6 +173,7 @@
optionExplicit="true" optionExplicit="true"
optionStrict="false" optionStrict="false"
optionCompare="text" optionCompare="text"
references="${vb.references}"
/> />
<available property="app.created" file="${out.app}"/> <available property="app.created" file="${out.app}"/>
<fail unless="app.created">No app created</fail> <fail unless="app.created">No app created</fail>


Loading…
Cancel
Save