ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Debic <de...@epiphany.com>
Subject Calling Ant from a Java Class
Date Wed, 04 Apr 2001 00:20:06 GMT
Hi there, 

What would be the right way to call ant tasks from Java, instead of doing it
from shell or batch files.
I am thinking about adding a new class that would essentially be a copy of
Main.java but without the system.exit()'s. I was hoping to set it up in such
a way that we can catch build exceptions directly in a top level driver
class. 

Does anyone see any problems with this approach? Has anyone done something
similar?

Thanks.
Boris Debic.

Mime
View raw message