improved retroweaver support for jdk 1.4
----------------------------------------
Key: JRUBY-2142
URL: http://jira.codehaus.org/browse/JRUBY-2142
Project: JRuby
Issue Type: Task
Reporter: Xavier Le Vourch
Assignee: Thomas E Enebo
Fix For: JRuby 1.1
Attachments: retroweaver_patch.txt
The attached patch makes it possible to use the weaved jruby jar files with jdk
1.4.
Retroweaver needs to be updated to 2.0.5 and the concurrent backport library
needs to be added in build_lib.
Both jar files will be added to the jruby.jar file using a jarjar task so that
the weaved jruby.jar is self contained and no additional configuration is
needed to run the weaved jruby with jdk 1.4, i.e. "bin/jruby" can be used just
like with jdk 1.5+.
New ant targets have been added: test-1.4 and test-all-1.4. They mirror the
equivalent jdk1.5+ tasks and as of revision 5972, both tasks are successful
with jdk 1.4.
The test class path was modified as joni.jar was included twice and only one of
them was weaved so there were incompatible class errors during the tests with
1.4.
By default, the junit test is using "java" as the test jvm but this can be
changed by modifying the jruby.test.jvm property. For instance, I used:
jruby.test.jvm=/usr/java/j2sdk1.4.2_16/jre/bin/java
to test my changes on Linux.
Let me know if some changes are not clear or need to be modified.
Xavier
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email