Re: Ant versions to target, gump saga, etc

Stefan Bodewig <[email protected]> Wed, 01 Aug 2007 06:03:31 +0200
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
On Tue, 31 Jul 2007, Curt Arnold <[email protected]> wrote:
> On Jul 31, 2007, at 11:50 AM, Matthew Inger wrote:

>> I've been working on some changes to ant-contrib anyway to break it
>> out by ant version, as the differences in ant versions are now
>> become very vast.  Things such as resources which were added in
>> 1.7, macros in 1.6, and so forth,

You mean newer versions of Ant have added features that are desirable
to use in ant-contrib.  We can certainly stick with supporting Ant 1.5
or 1.6 and it will work with trunk (but not support resources, of
course).

>> basically leave two choices with ant-contrib:
>>
>> a)  support one version of ant
>> b)  build seperate libraries for each ant version.
>>
> 
> That is an ugly choice.  On general principle and without looking at
> the issues, I think it would be best to develop only one version
> targeting Ant trunk but make reasonable efforts to stay compatible
> with the later 1.6.x's and forget earlier versions .

If you want to support resources there is no way to make it work with
Ant 1.6.x.

Just like Curt I wouldn't care much for 1.5.x.

> Are certain tasks more affected by the changes?

Basically the tasks that work on filesets or paths.  That would be
foreach/for or outofdate.

> I've been thrashing on trying to get ant-contrib/trunk building on
> Gump.  Hopefully, fifteenth time is the charm.  Now I'm back to
> using build.xml with an -Dno-ivy option.  We will see if that keeps
> Gump happy.

I have no idea.  I just logged in into vmgump and the file that causes
the build failure is there and readable, at least right now:

bodewig@vmgump:~$ ls -l /home/gump/.ivy/cache/[email protected] 
-rw-r--r-- 1 1628 users 1099 2007-07-01 23:36 /home/gump/.ivy/cache/[email protected]

I don't know enough about Ivy to help.

> What is the backstory on the ant-contrib/trunk/docs directory?  Are
> they hand-written HTML documentation for the tasks, or were they
> generated by some tool and then checked in.

Handwritten.

Stefan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/