File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -201,9 +201,17 @@ PROPERTIES
201
201
INITIALISATION
202
202
============================================================================ -->
203
203
204
- <target name =" init" >
205
- <available file =" ${ lib.dir } /scala-library.jar" property =" starr.present" />
206
- <fail unless =" starr.present" message =" Could not find STARR. Have your run the pull-binary-libs.sh script?" />
204
+ <condition property =" starr.absent" >
205
+ <not ><available file =" ${ lib.dir } /scala-library.jar" /></not >
206
+ </condition >
207
+
208
+ <target name =" init.starr" if =" starr.absent" >
209
+ <echo level =" warn" message =" Downloading bootstrap libs. (To do this by hand, run ./pull-binary-libs.sh)" />
210
+ <exec osfamily =" unix" executable =" pull-binary-libs.sh" failifexecutionfails =" true" />
211
+ <exec osfamily =" windows" executable =" pull-binary-libs.sh" failifexecutionfails =" true" />
212
+ </target >
213
+
214
+ <target name =" init" depends =" init.starr" >
207
215
<!-- scalac.args.optimise is selectively overridden in certain antcall tasks. -->
208
216
<property name =" scalac.args.optimise" value =" " />
209
217
<!-- scalac.args.quickonly are added to quick.* targets but not others (particularly, locker.)
You can’t perform that action at this time.
0 commit comments