Hi All, Hope all is well. Just tried to build the latest Cocoon 2 CVS sources using jdk 1.2.2 and it failed due to the use of javax.naming.* classes in the LDAPTransformer. Is this intended or accidental ? Nevertheless, attached is a patch to build.xml to conditionally compile the LDAPTransformer if javax.naming classes are available. Cheers, Marcus -- ..... ,,$$$$$$$$$, Marcus Crafter ;$' '$$$$: Computer Systems Engineer $: $$$$: Open Software Associates GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$, _/\ &&:' 60327 Frankfurt Germany ' /( &&& \_&&&&' Email : [EMAIL PROTECTED] &&&&. Business Hours : +49 69 9757 200 &&&&&&&: After Hours : +49 69 49086750
Index: build.xml =================================================================== RCS file: /home/cvspublic/xml-cocoon2/build.xml,v retrieving revision 1.20 diff -u -r1.20 build.xml --- build.xml 2001/06/22 16:35:28 1.20 +++ build.xml 2001/06/28 09:57:01 @@ -231,6 +231,9 @@ <available property="mail.present" classname="javax.mail.Session"> <classpath refid="classpath"/> </available> + <available property="naming.present" classname="javax.naming.Context"> + <classpath refid="classpath"/> + </available> </target> <!-- =================================================================== --> @@ -251,6 +254,7 @@ <exclude name="**/http/RequestWrapper2*.java"/> <exclude name="**/Ora*.java" unless="ora.driver.present"/> <exclude name="**/Sendmail*.java" unless="mail.present"/> + <exclude name="**/LDAPTransformer*.java" unless="naming.present"/> <exclude name="**/browser/*.x*"/> </fileset> </copy>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]