You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by James M Snell <ja...@gmail.com> on 2006/06/21 19:04:24 UTC

Retroweaver and jdk 1.4.2

Ok, so I've been playing around with retroweaver for producing the JDK
1.4.2 compatible build and it appears to be working beautifully so long
as we stay within a reasonable subset of the new Java5 features. Given
that, so far, we're only using generics and iterable, we're safe.  It's
also very fast and can be easily incorporated into the build.  The
license is such that we can include it in our svn with appropriate
license/notice files.  There is an additional runtime dependency for
1.4.2 builds.

I propose that we go ahead and incorporate retroweaver into our build.

- James

Re: Retroweaver and jdk 1.4.2

Posted by James M Snell <ja...@gmail.com>.
Yes, it would be entirely optional.  We should also assume that it's not
necessarily a long term solution; that is, as you point out, retroweaver
is not a complete solution.  It solves an immediate need that makes life
easier for those of use who want a 1.4.2 build without giving up the
quite helpful java5 features.

- James

Garrett Rooney wrote:
> On 6/21/06, James M Snell <ja...@gmail.com> wrote:
>> Ok, so I've been playing around with retroweaver for producing the JDK
>> 1.4.2 compatible build and it appears to be working beautifully so long
>> as we stay within a reasonable subset of the new Java5 features. Given
>> that, so far, we're only using generics and iterable, we're safe.  It's
>> also very fast and can be easily incorporated into the build.  The
>> license is such that we can include it in our svn with appropriate
>> license/notice files.  There is an additional runtime dependency for
>> 1.4.2 builds.
>>
>> I propose that we go ahead and incorporate retroweaver into our build.
> 
> Would this be an optional dependency?  Assuming it's a separate
> "build.jdk14" target or something like that I'm totally cool with it,
> retroweaver seems like some pretty cool technology.
> 
> I assume eventually we may run into situations where we want to use
> parts of the 1.5 jdk that retroweaver can't emulate for us, but we
> don't seem to be at that point today, and we can jump off that bridge
> when we come to it.
> 
> -garrett
> 

Re: Retroweaver and jdk 1.4.2

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 6/21/06, James M Snell <ja...@gmail.com> wrote:
> Ok, so I've been playing around with retroweaver for producing the JDK
> 1.4.2 compatible build and it appears to be working beautifully so long
> as we stay within a reasonable subset of the new Java5 features. Given
> that, so far, we're only using generics and iterable, we're safe.  It's
> also very fast and can be easily incorporated into the build.  The
> license is such that we can include it in our svn with appropriate
> license/notice files.  There is an additional runtime dependency for
> 1.4.2 builds.
>
> I propose that we go ahead and incorporate retroweaver into our build.

Would this be an optional dependency?  Assuming it's a separate
"build.jdk14" target or something like that I'm totally cool with it,
retroweaver seems like some pretty cool technology.

I assume eventually we may run into situations where we want to use
parts of the 1.5 jdk that retroweaver can't emulate for us, but we
don't seem to be at that point today, and we can jump off that bridge
when we come to it.

-garrett