[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in sablecc ant task?
Etienne M. Gagnon wrote:
I think it is actually a bug in SableCC. SableCC does not report an
error exit code on exceptions.
I looked at the code, and SableCC does already exit with "System.exit(1)" on
exception.
Which version of AntTask are you using? (1.1 I guess).
Do you have a simple and complete example of how to reproduce the bug?
Thanks,
Etienne
I will make SableCC return an appropriate exit code. You should test the
new version (once I announce it) against ant-task again.
Thanks for the bug report,
Etienne
Etienne M. Gagnon wrote:
----- Forwarded message -----
Date: Thu, 17 Oct 2002 09:45:54 +0300
From: Antti-Juhani Kaijanaho <gaia@iki.fi>
To: sablecc-list@sable.mcgill.ca
Subject: Bug in sablecc ant task?
Hi,
It appears that the SableCC ant task indicates a successful build
even if conflicts are reported.
ii sablecc 2.16.2-1 An Object-Oriented Compiler Framework
ii ant 1.5-1 Java based build tool like make
java - status is auto.
link currently points to /usr/lib/j2sdk1.3/bin/java
i j2sdk1.3 1.3.1-1 Blackdown Java(TM) 2 SDK, Standard
Edition
--
Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/
SableVM: http://www.sablevm.org/
SableCC: http://www.sablecc.org/