You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2004/11/11 16:49:14 UTC
cvs commit: ant/docs/manual platform.html
stevel 2004/11/11 07:49:14
Modified: docs/manual platform.html
Log:
Comments about Java versions
Revision Changes Path
1.10 +33 -1 ant/docs/manual/platform.html
Index: platform.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/platform.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- platform.html 3 Aug 2004 23:12:58 -0000 1.9
+++ platform.html 11 Nov 2004 15:49:14 -0000 1.10
@@ -7,6 +7,37 @@
<h1>Platform Issues</h1>
+<h2>Java versions</h2>
+<h3>Java 1.5</h3>
+
+You may need a bigger stack than default, especially if you are using the built in
+XSLT engine. We recommend you use Apache Xalan; indeed, some tasks (JUnit report in XML,
+for example) may not work against the shipping XSL engine.
+
+<h3>Java 1.2</h3>
+
+
+You may sometimes see messages like
+<pre>
+A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
+occurred in :
+ 'org/apache/tools/ant/Project.addReference
+(Ljava/lang/String;Ljava/lang/Object;)V': Interpreting method.
+ Please report this error in detail to
+ http://java.sun.com/cgi-bin/bugreport.cgi
+</pre>
+These are caused by subtle incompatibilities between the Java1.4+ compiled
+release; bugs in the Java runtime that Sun won't fix. Possible solutions:-
+<ol>
+<li>Upgrade your JVM.
+<li>Recompile Ant on a Java1.2 machine
+<li>Add <tt>-Djava.compiler=NONE</tt> to
+the value of your ANT_OPTS environment variable. This turns the JIT off.
+<li>Ignore the messages.
+</ol>
+
+
+
<h2>Unix and Linux</h2>
@@ -47,7 +78,8 @@
<p>
Ant can often not delete a directory which is open in an Explorer window.
There is nothing we can do about this short of spawning a program to kill
-the shell before deleting directories.
+the shell before deleting directories.
+Nor can files that are in use be overwritten.
<h2>Cygwin</h2>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org