[antlr-interest] Exit Status from ANTLR

Kay Roepke kroepke at classdump.org
Mon Nov 20 00:50:53 PST 2006


On 20. Nov 2006, at 9:40 , Oliver Zeigermann wrote:

> I do not think so. Using System.exit in an IDE like e.g. Eclipse will
> either tear down the whole IDE or cause a security exception. Neither
> option is desirable.

mmh. but isn't there a possibilty for a java process to signal  
something to its
caller? surely there must be.
If ANTLR is embedded I see what you mean, but it's not likely that a  
plugin of some sort
would use the stock Tool class without modification, or is it?
Coming from a *nix world, I'm not too familiar how these Java  
thingies do their magic.
However, for build systems (make et al) this is desirable, so I think  
the enhancement ticket
I opened is somewhat sensible. I don't think it will get high  
priority just yet, since there
are more important matters that need to be dealt with.

Of course, someone could step up and have a look at the issues  
involved - there's no harm in that.
The code involved is rather confined, so it would be a good  
opportunity to get one's feet wet ;)

I'm updating the ticket with your concerns, Oliver.

cheers,
-k
-- 
Kay Röpke
http://classdump.org/






More information about the antlr-interest mailing list