ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre-John mas <>
Subject Re: Ant Version
Date Tue, 10 Dec 2013 13:43:25 GMT

On 2013-12-10, at 0:18, Stefan Bodewig <> wrote:

> On 2013-12-09, Andre-John Mas wrote:
>> It is what I used and how the patch was accepted, but since I was told
>> it wasn't ideal I wanted to see if there were ways to deal with this
>> going forward.
> It was me who said it wasn't ideal.  My concern is IDE integration which
> might start Ant differently and bypass Main so the static methods on
> Main don't work properly.
> Andre-John's contribution made me look at the implementation again and
> since the methods are static and only rely on ther version.txt file
> being present, I no longer see a problem.  An implementation outside of
> Main wouldn't look any different and I highly doubt an IDE integration
> would remove the Main class completely.
> Stefan

Thanks for the insight. At the same time your original comment got me thinking about class
dependencies on whether it would make better architectural sense to have a class that represents
the application's environment, to avoid any potential two way dependencies with Main?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message