Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
Rename directories in Ant

Rename directories in Ant

2007-06-21       - By Rebhan, Gilbert
Reply:     <<     11  


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 [mailto:ant@(protected)]
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

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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.