diff options
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -201,9 +201,17 @@ PROPERTIES INITIALISATION ============================================================================ --> - <target name="init"> - <available file="${lib.dir}/scala-library.jar" property="starr.present"/> - <fail unless="starr.present" message="Could not find STARR. Have your run the pull-binary-libs.sh script?"/> + <condition property="starr.absent"> + <not><available file="${lib.dir}/scala-library.jar"/></not> + </condition> + + <target name="init.starr" if="starr.absent"> + <echo level="warn" message="Downloading bootstrap libs. (To do this by hand, run ./pull-binary-libs.sh)"/> + <exec osfamily="unix" executable="pull-binary-libs.sh" failifexecutionfails="true" /> + <exec osfamily="windows" executable="pull-binary-libs.sh" failifexecutionfails="true" /> + </target> + + <target name="init" depends="init.starr"> <!-- scalac.args.optimise is selectively overridden in certain antcall tasks. --> <property name="scalac.args.optimise" value=""/> <!-- scalac.args.quickonly are added to quick.* targets but not others (particularly, locker.) |