diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-07-17 11:31:53 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-07-17 11:31:53 +0000 |
commit | 51ff43f81193caed211017c3b92644b7a33667f5 (patch) | |
tree | 6a29ab0efb606756b526a0010678d6237d56d536 /build.xml | |
parent | a840917b32e1c0f25b846f48bd0f12088fe170b2 (diff) | |
download | scala-51ff43f81193caed211017c3b92644b7a33667f5.tar.gz scala-51ff43f81193caed211017c3b92644b7a33667f5.tar.bz2 scala-51ff43f81193caed211017c3b92644b7a33667f5.zip |
Support jline in the interactive shell.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -41,7 +41,9 @@ PROPERTIES <property name="fjbg.jar" value="${lib.dir}/fjbg.jar"/> <property name="msil.jar" value="${lib.dir}/msil.jar"/> <property name="ant.jar" value="${ant.home}/lib/ant.jar"/> + <property name="jline.jar" value="${lib.dir}/jline.jar"/> <property name="ant-contrib.jar" value="${lib.dir}/ant-contrib.jar"/> + <!-- Sets location of build folders --> <property name="build.dir" value="${basedir}/build"/> <property name="locker.dir" value="${build.dir}/locker"/> @@ -181,6 +183,7 @@ SETUP <pathelement location="${fjbg.jar}"/> <pathelement location="${msil.jar}"/> <pathelement location="${ant.jar}"/> + <pathelement location="${jline.jar}"/> </path> <!-- Creating boot-level tasks --> <taskdef @@ -298,6 +301,15 @@ BUILD SUPPORT MACROS resource="${msil.jar}" overwrite="yes" failonerror="no"/> </else></if> </then></if> + <if><not><available file="@{build.dir}/lib/jline.jar"/></not><then> + <if><isset property="os.win"/><then> + <copy file="${jline.jar}" tofile="@{build.dir}/lib/jline.jar"/> + </then><else> + <symlink + link="@{build.dir}/lib/jline.jar" + resource="${jline.jar}" overwrite="yes" failonerror="no"/> + </else></if> + </then></if> </sequential> </macrodef> @@ -372,6 +384,7 @@ BUILD LOCAL REFERENCE (LOCKER) LAYER <pathelement location="${fjbg.jar}"/> <pathelement location="${msil.jar}"/> <pathelement location="${ant.jar}"/> + <pathelement location="${jline.jar}"/> </classpath> <include name="**/*.scala"/> <excludesfile name="${nsc.excludes.file}" if="excludes.avail"/> @@ -539,6 +552,7 @@ BUILD QUICK-TEST LAYER <pathelement location="${fjbg.jar}"/> <pathelement location="${msil.jar}"/> <pathelement location="${ant.jar}"/> + <pathelement location="${jline.jar}"/> </classpath> <include name="**/*.scala"/> <excludesfile name="${nsc.excludes.file}" if="excludes.avail"/> @@ -922,6 +936,7 @@ TEST <pathelement location="${fjbg.jar}"/> <pathelement location="${msil.jar}"/> <pathelement location="${ant.jar}"/> + <pathelement location="${jline.jar}"/> </classpath> <include name="**/*.scala"/> <excludesfile name="${nsc.excludes.file}" if="excludes.avail"/> @@ -1059,6 +1074,7 @@ DOCUMENTATION <pathelement location="${fjbg.jar}"/> <pathelement location="${msil.jar}"/> <pathelement location="${ant.jar}"/> + <pathelement location="${jline.jar}"/> </classpath> <include name="**/*.scala"/> <excludesfile name="${nsc.excludes.file}" if="excludes.avail"/> |