diff --git a/docs/faq.html b/docs/faq.html index 1ca2a30a2..31ba33241 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -1353,9 +1353,37 @@ shell-prompt> cat < foo regular expressions in your editor that would account for this.

You can disable this banner by invoking Ant with the - -emacs switch. Alternatively, you can add the - following snippet to your .emacs to make Emacs - understand Ant's output.

+ -emacs switch. To make Ant autodetect + Emacs' compile mode, put this into your + .antrc (contributed by Ville Skyttä).

+
+ + + + + + + + + + + + + + + + +
+# Detect (X)Emacs compile mode
+if [ "$EMACS" = "t" ] ; then 
+  ANT_ARGS="$ANT_ARGS -emacs" 
+  ANT_OPTS="$ANT_OPTS -Dbuild.compiler.emacs=true" 
+fi 
+
+
+

Alternatively, you can add the following snippet to your + .emacs to make Emacs understand Ant's + output.

diff --git a/docs/projects.html b/docs/projects.html index 45d2e0e9c..6fbdbea50 100644 --- a/docs/projects.html +++ b/docs/projects.html @@ -188,12 +188,12 @@

AntDoc is a tool that generates HTML documentation from Ant - buildfiles; the generated HTML is inspired from what javadoc - yields. It also offers a simple Ant target launcher named - AntDoc GUI. Ant targets may be launched from the generated - AntDoc HTML pages.

+ buildfiles; the generated HTML is inspired from what javadoc + yields. It also offers a simple Ant target launcher named + AntDoc GUI. Ant targets may be launched from the generated + AntDoc HTML pages.

AntDoc can be run via an Ant task, AntDoc GUI can be run - via an Ant task, or via a JVM launch.

+ via an Ant task, or via a JVM launch.

cat < foo this.

You can disable this banner by invoking Ant with the - -emacs switch. Alternatively, you can add the - following snippet to your .emacs to make Emacs - understand Ant's output.

+ -emacs switch. To make Ant autodetect + Emacs' compile mode, put this into your + .antrc (contributed by Ville Skyttä).

+ + + +

Alternatively, you can add the following snippet to your + .emacs to make Emacs understand Ant's + output.