Lots of interesting responses, particularly the link to retroweaver, thanks
Hervé.

Of course you are right Xavier, Ivy isn't "only" an ant plugin (forgot about
the standalone, and use as a lib).

So I agree, stick with 1.4.


On 5/29/07, Nascif Abousalh-Neto <[EMAIL PROTECTED]> wrote:

I agree with keeping with 1.4 - until we have a fundamental reason to move
to 1.5, supporting a larger audience is a more important requirement.

-----Original Message-----
From: Bourzeix, Hervé [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 9:37 AM
To: [email protected]
Subject: RE: jdk version required (was Re: Extending IvyBuildList)

Here is the link of the weaver tool:
http://retroweaver.sourceforge.net/


Hervé

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: mardi 29 mai 2007 15:32
To: [email protected]
Subject: AW: jdk version required (was Re: Extending IvyBuildList)


Ant has build requirement JDK 1.3 (three).
There are some classes which use 1.4+, but they are compiled optional
(using <selector>s).

The use of Java5 in Ivy would mean that the build can not run on a JDK 1.4-
environment. For an open source project it is difficult (impossible?) to get
information from the audience ("Which JDK do you use?").

I would say: keep 1.4 so you'll earn a bigger audience.

In Ant we have some "Generics" just for comment:
     Collection/*<Task>*/ getTasks()
and of course the javadoc
     /** @return Collection of Tasks */
or   /** @return Collection<Task> of Tasks */



Jan


>-----Ursprüngliche Nachricht-----
>Von: John Gill [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 29. Mai 2007 15:16
>An: [email protected]
>Betreff: Re: jdk version required (was Re: Extending IvyBuildList)
>
>Well for one, it is "only" an ant plugin, so it's not like it is
>forcing everyone to write their programs using generics, but it would
>mean they would need java5 to run ANT/IVY. I think all they have to do
>in their ant builds is specify the source and target attributes for the
>javac task to specify what they are building. So if they want java 1.4
>they can use <javac source="1.4" target="1.4"... />
>
>Maybe a snap poll of some kind to see if anyone would mind and what
>most of the community is using.
>
>What about other apache projects (ant, maven would be the main ones I
>guess), have any of them moved to generics, or do you know if they plan
>to?
>
>It really doesn't bother me that much if IVY stays on 1.4, but generics
>makes a big difference to readability. There is nothing worse than a
>method that returns a Collection, and you wonder "A collection of
>what?"
>
>In the end though, if moving to 1.5 prevents moving to IVY, then it's
>probably not a good idea.
>
>On 5/29/07, Xavier Hanin <[EMAIL PROTECTED]> wrote:
>>
>> On 5/29/07, John Gill <[EMAIL PROTECTED]> wrote:
>> >
>> > No Generics!!! It makes the code so much cleaner... I
>wonder how many
>> > developers are still stuck on 1.4 (Ivy/Ant/Maven users in
>particular)?
>> > 1.4is two version behind the latest now...
>>
>>
>> Indeed, this is something that can be discussed. It's been a
>long time
>> since
>> I don't use 1.4 myself, but it's difficult to estimate for
>the whole user
>> community.
>>
>> Any thoughts?
>>
>> Xavier
>>
>> On 5/29/07, Xavier Hanin <[EMAIL PROTECTED]> wrote:
>> > >
>> > > Hi,
>> > >
>> > > Simple and interesting change, indeed, I think it
>doesn't hurt to open
>> > an
>> > > issue :). For the patch, the only thing is that we are jdk
>> 1.4compliant,
>> > > so
>> > > the use of generics is prohibited.
>> > >
>> > > Xavier
>> > >
>> > > On 5/29/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
>> > > >
>> > > > Hi Ivy,
>> > > >
>> > > > Thanks for  providing this  great API,  and more
>particularly the
>> > > > IvyBuildList  Ant  task  that  I  extend  to  generate
> my  Hudson
>> > > > configuration  files  automatically  for continuous
>build  of  my
>> > > > project.
>> > > >
>> > > > I only  had to slightly modify  it to be  able to get
>the  list of
>> > > > sorted modules,  and the  list of build  files.  See
>the attached
>> > > > patch.
>> > > >
>> > > > NOTE: this patch is based on  Ivy 1.4.1, but it should
>be possible
>> > > > to do the same thing on trunk (the patch does not
>apply on trunk).
>> > > >
>> > > > If this change makes sense to you, I can file a JIRA issue.
>> > > >
>> > > > WDYT?
>> > > > --
>> > > >      Jean-Baptiste Quenot
>> > > > aka  John Banana   Qwerty
>> > > > http://caraldi.com/jbq/
>> > > >
>> > > >
>> > >
>> > >
>> > > --
>> > > Xavier Hanin - Independent Java Consultant Manage your
>> > > dependencies with Ivy!
>> > > http://incubator.apache.org/ivy/
>> > >
>> >
>> >
>> >
>> > --
>> > Regards,
>> > John Gill
>> >
>>
>>
>>
>> --
>> Xavier Hanin - Independent Java Consultant Manage your dependencies
>> with Ivy!
>> http://incubator.apache.org/ivy/
>>
>
>
>
>--
>Regards,
>John Gill
>




--
Regards,
John Gill

Reply via email to