Skip to content

Commit

Permalink
Switrched from an arbitrary version number for jRuby and dependencies…
Browse files Browse the repository at this point in the history
… to a hash.

The hash is generated via the build-tasks.properties files so any change to the prioperties will update jRuby as well.
  • Loading branch information
LaurentGoderre committed Oct 22, 2012
1 parent 7f8199b commit 1ea0fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build/build-tasks.properties
Expand Up @@ -12,8 +12,6 @@ antcontribs.jar=${lib.dir}/ant-contrib-1.0b3.jar
cssurlembed.jar=${lib.dir}/cssembed-0.4.5.jar

#jRuby Properties
jruby.depends=1.0.0
jruby.jar=jruby-v${jruby.depends}.jar
jruby.version=1.6.7.2

#Gems
Expand Down
2 changes: 2 additions & 0 deletions build/build-tasks.xml
Expand Up @@ -72,6 +72,8 @@
</target>

<target name="-jruby.jar.check">
<checksum file="${tasks.basedir}/build-tasks.properties" property="jruby.depends"/>
<property name="jruby.jar" value="jruby-${jruby.depends}.jar" />
<condition property="jruby.jar.exists">
<available file="${lib.dir}/${jruby.jar}" type="file"/>
</condition>
Expand Down

0 comments on commit 1ea0fa1

Please sign in to comment.