sbailliez 01/08/23 15:00:32
Modified: . build.xml
Log:
Dump some properties from Xalan to check for various XML/XSL/JAXP
information. Hopefuly this will give additional details when running GUMP
or running unit tests and figure out problems.
Revision Changes Path
1.178 +9 -2 jakarta-ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/build.xml,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -r1.177 -r1.178
--- build.xml 2001/08/18 15:02:35 1.177
+++ build.xml 2001/08/23 22:00:32 1.178
@@ -158,7 +158,9 @@
<available property="trax.impl.present"
resource="META-INF/services/javax.xml.transform.TransformerFactory"
classpathref="classpath"/>
-
+ <available property="xalan.envcheck"
+ classname="org.apache.xalan.xslt.EnvironmentCheck"
+ classpathref="classpath" />
<condition property="javamail.complete">
<and>
<available classname="javax.activation.DataHandler"
@@ -642,7 +644,7 @@
</javac>
</target>
- <target name="dump-info">
+ <target name="dump-info" depends="xml-check">
<echo message="java.vm.info=${java.vm.info}" />
<echo message="java.vm.name=${java.vm.name}" />
<echo message="java.vm.vendor=${java.vm.vendor}" />
@@ -652,6 +654,11 @@
<echo message="os.version=${os.version}" />
<echo message="file.encoding=${file.encoding}" />
<echo message="user.language=${user.language}" />
+ </target>
+
+ <!-- helper class from Xalan2 to check for jar versioning of xml/xsl
processors -->
+ <target name="xml-check" depends="check_for_optional_packages"
if="xalan.envcheck">
+ <java classname="org.apache.xalan.xslt.EnvironmentCheck"/>
</target>
<!--