examples/java/build.xml in aslakhellesoy-cucumber-0.3.7.5 vs examples/java/build.xml in aslakhellesoy-cucumber-0.3.8

- old
+ new

@@ -4,9 +4,16 @@ <javac srcdir="src" destdir="build" /> </target> <target name="cucumber" depends="compile" description="Run Cucumber"> <property environment="ENV" /> + <fail unless="ENV.JRUBY_HOME"> + (::) ERROR (::) + Define JRUBY_HOME in your shell. For example: + + export JRUBY_HOME=/usr/local/jruby + set JRUBY_HOME=C:\jruby + </fail> <java classname="org.jruby.Main" fork="true" failonerror="true"> <classpath> <pathelement path="${ENV.JRUBY_HOME}/lib/jruby.jar"/> <pathelement path="build"/> </classpath> \ No newline at end of file