stevel 2002/10/15 17:28:20
Modified: java/xmls properties.xml targets.xml
Log:
probes and config for the .net apps and IIS. the presence of both does not guarantee
that .aspx and .asmx support on IIS is functional; tests need to determine that.
Revision Changes Path
1.32 +7 -0 xml-axis/java/xmls/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/xml-axis/java/xmls/properties.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- properties.xml 7 Oct 2002 14:35:09 -0000 1.31
+++ properties.xml 16 Oct 2002 00:28:20 -0000 1.32
@@ -101,3 +101,10 @@
<property name="foreach.fork" value="no"/>
<property name="ant.inheritAll" value="false"/>
<property name="ant.inheritRefs" value="false"/>
+
+<!-- to test against .NET, we need a local IIS instance-->
+<property name="iis.base" location="c:\inetpub\wwwroot" />
+<property name="iis.hostname" value="127.0.0.1"/>
+<property name="iis.port" value="80"/>
+
+
1.43 +35 -0 xml-axis/java/xmls/targets.xml
Index: targets.xml
===================================================================
RCS file: /home/cvs/xml-axis/java/xmls/targets.xml,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- targets.xml 11 Oct 2002 23:24:54 -0000 1.42
+++ targets.xml 16 Oct 2002 00:28:20 -0000 1.43
@@ -194,6 +194,41 @@
<available classname="org.exolab.castor.xml.MarshalException"
classpathref="classpath" />
</condition>
+
+ <!-- look for WSDL support on the platform -->
+ <condition property="wsdl.found">
+ <or>
+ <available file="wsdl" filepath="${env.PATH}"/>
+ <available file="wsdl.exe" filepath="${env.PATH}"/>
+ <available file="wsdl.exe" filepath="${env.Path}"/>
+ </or>
+ </condition>
+ <echo level="verbose">wsdl.found=${wsdl.found}</echo>
+ <condition property="csc.found">
+ <or>
+ <available file="csc" filepath="${env.PATH}"/>
+ <available file="csc.exe" filepath="${env.PATH}"/>
+ <available file="csc.exe" filepath="${env.Path}"/>
+ </or>
+ </condition>
+ <echo level="verbose">csc.found=${csc.found}</echo>
+ <condition property="dotnetapps.found">
+ <and>
+ <isset property="csc.found"/>
+ <isset property="wsdl.found"/>
+ </and>
+ </condition>
+ <echo level="verbose">dotnetapps.found=${dotnetapps.found}</echo>
+ <!-- look for IIS -->
+ <condition property="iis.found">
+ <and>
+ <os family="windows" />
+ <available file="${iis.base}" type="dir" />
+ </and>
+ </condition>
+ <echo level="verbose">iis.found=${iis.found}</echo>
+ <echo level="verbose">iis.base=${iis.base}</echo>
+
</target>
<!-- print out the current enviroment.