JRuby build demands network connectivity despite bundling the same files in the
repository
------------------------------------------------------------------------------------------
Key: JRUBY-3529
URL: http://jira.codehaus.org/browse/JRUBY-3529
Project: JRuby
Issue Type: Bug
Components: Miscellaneous
Affects Versions: JRuby 1.2
Reporter: Trejkaz
Priority: Minor
The gems which JRuby already ships with in the source directory, still get
fetched the hard way when you build the project.
This appears to be either a waste of space or a waste of time (depending on
which you consider to be appropriate -- shipping the files or fetching them at
build-time.)
The workaround in my own build file which wraps around JRuby's looks like this:
<target name="copy-gem-snapshot" description="Copies a snapshot of the
installed gems from dist/lib/ruby, of using the network to download them.">
<mkdir
dir="${project.srcdir}/build/jar-complete/META-INF/jruby.home/lib/ruby/gems"/>
<copy
todir="${project.srcdir}/build/jar-complete/META-INF/jruby.home/lib/ruby/gems">
<fileset dir="dist/lib/ruby/gems"/>
</copy>
</target>
Presumably a similar strategy would work in the real build.
--
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