Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Joe Buehler <jbuehler@hekimian.com>
Subject: Re: [BUG] emacs cygwin compile.el next-error fails with Ant
Date: Wed, 23 Jul 2003 09:52:23 -0400
Organization: Spirent Communications, Inc.
Lines: 24
Message-ID: <3F1E9317.9040204@hekimian.com>
References: <a0he5dd5yv.fsf@panix3.panix.com>
Reply-To: jbuehler@hekimian.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
In-Reply-To: <a0he5dd5yv.fsf@panix3.panix.com>
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime

Mark Evenson wrote:

> With M-x compile invoked with "ant -emacs" one gets errors like:
> 
> ----------------------------------------------------------------------
> cd ~/work/cs9/
> ant -find build.xml
> Searching for build.xml ...
> Buildfile: C:\cygwin\home\evenson\work\cs9\build.xml
> 
> classes:
> 
> compile:
> Compiling 2 source files to C:\cygwin\home\evenson\work\cs9\classes
> C:\cygwin\home\evenson\work\cs9\src\org\unodc\data\sql\BaseQueryCommand.java:21:

Try this:

ant -emacs | sed 's=\\=/=g'

If you want to preserve the "ant" exit code you can write a shell script.
-- 
Joe Buehler



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

