Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 87853 invoked from network); 30 Jul 2002 14:52:18 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 30 Jul 2002 14:52:18 -0000 Received: (qmail 21189 invoked by uid 97); 30 Jul 2002 14:52:35 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 21167 invoked by uid 97); 30 Jul 2002 14:52:34 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 21156 invoked by uid 97); 30 Jul 2002 14:52:34 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 30 Jul 2002 14:52:10 -0000 Message-ID: <20020730145210.76022.qmail@icarus.apache.org> From: bodewig@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/xdocs faq.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bodewig 2002/07/30 07:52:10 Modified: docs faq.html projects.html xdocs faq.xml Log: Shell snippet that autodetects Emacs' compile mode and then passes -emacs as well as build.compiler.emacs to Ant. PR: 11056, 11057 Submitted by: Ville Skytt� Revision Changes Path 1.33 +31 -3 jakarta-ant/docs/faq.html Index: faq.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/faq.html,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- faq.html 15 Jul 2002 11:45:35 -0000 1.32 +++ faq.html 30 Jul 2002 14:52:10 -0000 1.33 @@ -1353,9 +1353,37 @@ 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.

1.14 +5 -5 jakarta-ant/docs/projects.html Index: projects.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/projects.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- projects.html 23 Jul 2002 07:29:48 -0000 1.13 +++ projects.html 30 Jul 2002 14:52:10 -0000 1.14 @@ -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.

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.

For additional commands, e-mail: