Updated build.xml to cache gems used by jar-complete task. ----------------------------------------------------------
Key: JRUBY-2670 URL: http://jira.codehaus.org/browse/JRUBY-2670 Project: JRuby Issue Type: Improvement Components: Miscellaneous Reporter: Stephen Bannasch Attachments: 0001-Updated-build.xml-to-cache-gems-used-by-jar-complete.patch Updated build.xml to cache gems used by jar-complete task and install from cached *.gem file. Added new gems.dir in default.build.properties. Gems are fetched into gems.dir only if they don't already exist. After the gems are cached in the build/gems dir the ant target jar-complete on my slow home network speeds up from about 90s to 24s. jar-complete now uses: {code} <antcall target="install-rake-gem-into-jar-complete"/> <antcall target="install-rspec-gem-into-jar-complete"/> {code} This code could probably be helpful for the ant target <target name="install-gems"> but I'm not sure what it does? The new targets specify the versions for rake and rspec: 1.1.4, and 0.8.1. The versions appear in 3 places and if I knew ant better I'd refactor it so the version only is specified once. -- 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