ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Rename directories in Ant
Date Thu, 21 Jun 2007 07:41:14 GMT


as other ant users might also use jruby in ant
and still run under jdk1.4 ...

just tested retroweaver with  jruby-complete-1.0.jar
(see original mail below) to make it work for jdk1.4

it's as simple as =

<taskdef name="retroweaver"
    <fileset dir="${ant.extrablibs}/retroweaver" includes="**/*"/>


<retroweaver inputjar="V:\test\jruby-1.0\jruby-complete-1.0.jar"

the generated jar works for my small script , didn't check it
with other stuff though.

i would like to use the jruby-complete-1.0.jar 
with jdk1.4 in production

providing a special jar for jdk1.4 @
would be cleaner ...

still waiting ... 
should i fill a bugreport ?!


-----Original Message-----
From: Gilbert Rebhan [] 
Sent: Friday, June 15, 2007 10:25 PM
To: Ant Users List
Subject: Re: Rename directories in Ant


2. the jruby-complete-1.0.jar, as it contains all
    needed ruby libraries the script includes with
    'require ...' (like import in java)
    the normal jruby.jar will not be enough
    get it here =

Notice =

1. the distributed jruby-complete-1.0.jar is build
    with jdk1.5, so if you're running with 1.4, you'll
    get a "Unsupported major.minor version 49.0"
    ** i'll ask the developers to provide a version for 1.4
    in the meantime you may try to backport it with
    retroweaver, get it here =
    (mostly it's only 1.5 because they used StringBuilder and stuff)


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

View raw message