|
|
@@ -1470,7 +1470,7 @@ shell-prompt> m4 foo.m4 > foo |
|
|
|
</p> |
|
|
|
<p> |
|
|
|
Ant implements the Java |
|
|
|
<a href="http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html">Jar |
|
|
|
<a href="http://download.oracle.com/javase/1.4.2/docs/guide/jar/jar.html">Jar |
|
|
|
file specification</a>. Please refer to the notes section where it |
|
|
|
discusses the maximum allowable length of a line and the concept of |
|
|
|
continuation characters. |
|
|
@@ -1672,7 +1672,7 @@ while(<STDIN>) { |
|
|
|
BuildListener that sends out an email |
|
|
|
in the buildFinished() method. Will Glozer |
|
|
|
<will.glozer@jda.com> has written such a listener based |
|
|
|
on <a href="http://java.sun.com/products/javamail/">JavaMail</a>. |
|
|
|
on <a href="http://www.oracle.com/technetwork/java/index-jsp-139225.html">JavaMail</a>. |
|
|
|
The source is:</p> |
|
|
|
<pre class="code"> |
|
|
|
import java.io.*; |
|
|
@@ -1811,7 +1811,7 @@ ant -listener BuildMonitor -logfile build.log |
|
|
|
</pre> |
|
|
|
<p>Make sure that <code>mail.jar</code> from JavaMail and |
|
|
|
<code>activation.jar</code> from the |
|
|
|
<a href="http://java.sun.com/products/javabeans/glasgow/jaf.html">Java |
|
|
|
<a href="http://www.oracle.com/technetwork/java/javase/jaf-135115.html">Java |
|
|
|
Beans Activation Framework</a> are in your <code>CLASSPATH</code>.</p> |
|
|
|
<p class="faq"> |
|
|
|
<a name="listener-properties"></a> |
|
|
@@ -1941,7 +1941,7 @@ mv /tmp/foo $ANT_HOME/bin/antRun |
|
|
|
requires you to have <code>junit.jar</code> in Ant's startup |
|
|
|
classpath even if <code>ant-junit.jar</code> is present there.</p> |
|
|
|
<p>Ant's class loader implementation uses Java's |
|
|
|
delegation model, see <a href="http://java.sun.com/products/jdk/1.2/docs/api/java/lang/ClassLoader.html">http://java.sun.com/products/jdk/1.2/docs/api/java/lang/ClassLoader.html</a> |
|
|
|
delegation model, see <a href="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html">http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html</a> |
|
|
|
the paragraph</p> |
|
|
|
<blockquote>The <code>ClassLoader</code> class uses a |
|
|
|
delegation model to search for classes and resources. Each |
|
|
|