Hello. Here are various problems i had running ant. I had a look in mailing archive and saw the "encoding needed" problem has already been reported, but not the others. I'm trying to figure each time if the problem comes from ant or from the software. I'm running linux, and used binary ant 1.3 and 1.4 distribution, with either IBM 1.3 or Sun 1.3.1 JDK each time.
1) crimson-1.1.2b2 build fails with ant 1.4 (works with ant 1.3) Only the first used target works (unless usage target), all other fails with message "The encoding declaration is required in the text declaration." with xerces-j 1.4.3 and "Expected "encoding=...". with crimson (unknown version packaged with ant 1.4). Also reported on xml-project general list (no crimson-dedicated list avaialble), with a response from Edwin Goei that reproduced this one time. 2) tomcat 3.2.3 compilation fails when jsse not in classpath Compilations fails for unresolved dependencies in SSLSocketFactory.java, altough the ant build script task take cares of excluding this class from compilation if jsse is not present. <exclude name="**/SSLSocketFactory.java" � � � � � � � � � � unless="jsse.present" /> It seems that is the EmbededTomcat.java class that causes problem, that get always compiled unless injava 1 environment, as excluding it solves the problem: <exclude name="**/EmbededTomcat.java" � � � � � � � � � � unless="jdk12.present"/> Also reported on tomcat-dev mailing list, with no response. Also, building with 1.4 stops when file copy task fails to find files, where 1.3 just continuated. 3) xalan-j2-Dx javadocs fails with Sun JDK (works with IBM) "javadocs" target fails with this error message when using Sun JDK: [javadoc] javadoc: In doclet class xalanjdoc.Standard, method optionLength has thrown an exception java.lang.reflect.InvocationTargetException [javadoc] java.lang.Error: Fatal: Resource for javadoc doclets is missing: com.sun.tools.javadoc.resources.standard [javadoc] 1 error [javadoc] at com.sun.tools.doclets.MessageRetriever.<init>(MessageRetriever.java:39) [javadoc] at xalanjdoc.ConfigurationStandard.<init>(ConfigurationStandard.java:147) [javadoc] at xalanjdoc.Standard.configuration(Standard.java:55) [javadoc] at xalanjdoc.Standard.optionLength(Standard.java:210) [javadoc] at java.lang.reflect.Method.invoke(Native Method) [javadoc] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:193) [javadoc] at com.sun.tools.javadoc.DocletInvoker.optionLength(DocletInvoker.java:121) [javadoc] at com.sun.tools.javadoc.Main.main(Main.java:187) everything is fine with IBM JDK Also reported on xalan-dev with no response. -- Guillaume Rousse <[EMAIL PROTECTED]> GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html
