- generate a wrapper for scalaint

- renamed sbp files without the "2" (scala vs. scala2, etc.)


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5795 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
spoon 2006-02-20 03:03:23 +00:00
parent 086a4c4dbd
commit 0c79e7d55a
1 changed files with 47 additions and 3 deletions

View File

@ -69,6 +69,7 @@ PROPERTIES
<property name="scala.exec.name" value="${dist.name}"/> <property name="scala.exec.name" value="${dist.name}"/>
<property name="scalai.exec.name" value="scalai"/> <property name="scalai.exec.name" value="scalai"/>
<property name="scalac.exec.name" value="scalac"/> <property name="scalac.exec.name" value="scalac"/>
<property name="scalaint.exec.name" value="scalaint"/>
<property name="scalatok.exec.name" value="scalatok"/> <property name="scalatok.exec.name" value="scalatok"/>
<!-- Shorcut names --> <!-- Shorcut names -->
<property name="locker.lib.dir" value="${locker.dir}/${lib.dir.name}"/> <property name="locker.lib.dir" value="${locker.dir}/${lib.dir.name}"/>
@ -78,8 +79,9 @@ PROPERTIES
<property name="strap.lib.dir" value="${strap.dir}/${lib.dir.name}"/> <property name="strap.lib.dir" value="${strap.dir}/${lib.dir.name}"/>
<property name="strap.comp.dir" value="${strap.dir}/${comp.dir.name}"/> <property name="strap.comp.dir" value="${strap.dir}/${comp.dir.name}"/>
<!-- sbaz properties --> <!-- sbaz properties -->
<property name="scala.sbaz.name" value="scala2"/> <property name="scala.sbaz.name" value="scala"/>
<property name="scalac.sbaz.name" value="scalac2"/> <property name="scalac.sbaz.name" value="scalac"/>
<property name="scalaint.sbaz.name" value="scalaint"/>
<!-- =========================================================================== <!-- ===========================================================================
INITIALISATION INITIALISATION
@ -474,6 +476,15 @@ BUILD QUICK-TEST LAYER
perm="ugo+rx"/> perm="ugo+rx"/>
<chmod file="${quick.dir}/${exec.dir.name}/${scala.exec.name}" <chmod file="${quick.dir}/${exec.dir.name}/${scala.exec.name}"
perm="ugo+rx"/> perm="ugo+rx"/>
<lockertool file="${quick.dir}/${exec.dir.name}/${scalaint.exec.name}"
name="Scala interpreter"
class="scala.tools.nsc.MainInterpreter"
version="${version.number}"
copyright="${copyright}"
classpath=""
javaFlags="-Xmx256M -Xms16M"/>
<chmod file="${quick.dir}/${exec.dir.name}/${scalaint.exec.name}"
perm="ugo+rx"/>
</target> </target>
<target name="test.quick" depends="build"> <target name="test.quick" depends="build">
@ -560,6 +571,15 @@ TEST
perm="ugo+rx"/> perm="ugo+rx"/>
<chmod file="${strap.dir}/${exec.dir.name}/${scala.exec.name}" <chmod file="${strap.dir}/${exec.dir.name}/${scala.exec.name}"
perm="ugo+rx"/> perm="ugo+rx"/>
<quicktool file="${strap.dir}/${exec.dir.name}/${scalaint.exec.name}"
name="Scala interpreter"
class="scala.tools.nsc.MainInterpreter"
version="${version.number}"
copyright="${copyright}"
classpath=""
javaFlags="-Xmx256M -Xms16M"/>
<chmod file="${strap.dir}/${exec.dir.name}/${scalaint.exec.name}"
perm="ugo+rx"/>
</target> </target>
<target name="test.stability" depends="build.strap"> <target name="test.stability" depends="build.strap">
@ -643,6 +663,17 @@ GENERATES A DISTRIBUTION
perm="ugo+rx"/> perm="ugo+rx"/>
<chmod file="${dist.current.dir}/bin/${scala.exec.name}" <chmod file="${dist.current.dir}/bin/${scala.exec.name}"
perm="ugo+rx"/> perm="ugo+rx"/>
<lockertool file="${dist.current.dir}/bin/${scalaint.exec.name}"
name="Scala interpreter"
class="scala.tools.nsc.MainInterpreter"
version="${version.number}"
copyright="${copyright}"
classpath=""
javaFlags="-Xmx256M -Xms16M"/>
<chmod file="${dist.current.dir}/bin/${scalaint.exec.name}"
perm="ugo+rx"/>
<if><isset property="os.unix"/> <if><isset property="os.unix"/>
<then> <then>
<symlink link="${dist.latest.dir}" <symlink link="${dist.latest.dir}"
@ -659,9 +690,10 @@ GENERATES A DISTRIBUTION
version="${version.number}" version="${version.number}"
desc="The Scala compiler. This is used to compile Scala programs desc="The Scala compiler. This is used to compile Scala programs
into Java .class files." into Java .class files."
depends="${scalac.sbaz.name}-support"> depends="scalac2-support">
<libset dir="${dist.current.dir}/lib" includes="${dist.name}-compiler.jar"/> <libset dir="${dist.current.dir}/lib" includes="${dist.name}-compiler.jar"/>
<binset dir="${dist.current.dir}/bin" includes="${scalac.exec.name}"/> <binset dir="${dist.current.dir}/bin" includes="${scalac.exec.name}"/>
<binset dir="${dist.current.dir}/bin" includes="${scalac.exec.name}.bat"/>
<manset dir="${docs.dir}/man" includes="${scalac.exec.name}.1"/> <manset dir="${docs.dir}/man" includes="${scalac.exec.name}.1"/>
</quicksbaz> </quicksbaz>
@ -675,6 +707,7 @@ by default, sets up a large CLASSPATH including the Scala library
as well as all jars installed in the lib directory of the sbaz- as well as all jars installed in the lib directory of the sbaz-
managed directory."> managed directory.">
<binset dir="${dist.current.dir}/bin" includes="${scala.exec.name}"/> <binset dir="${dist.current.dir}/bin" includes="${scala.exec.name}"/>
<binset dir="${dist.current.dir}/bin" includes="${scala.exec.name}.bat"/>
<manset dir="${docs.dir}/man" includes="${scala.exec.name}.1"/> <manset dir="${docs.dir}/man" includes="${scala.exec.name}.1"/>
</quicksbaz> </quicksbaz>
@ -686,6 +719,17 @@ managed directory.">
desc="The base Scala library, required for running all Scala programs."> desc="The base Scala library, required for running all Scala programs.">
<libset dir="${dist.current.dir}/lib" includes="${dist.name}-library.jar"/> <libset dir="${dist.current.dir}/lib" includes="${dist.name}-library.jar"/>
</quicksbaz> </quicksbaz>
<quicksbaz
file="${dist.dir}/${scalaint.sbaz.name}-${version.number}.sbp"
adfile="${dist.dir}/${scalaint.sbaz.name}-${version.number}.advert"
name="${scalaint.sbaz.name}"
version="${version.number}"
depends="${scalac.sbaz.name}"
desc="A command-line interpreter for Scala.">
<binset dir="${dist.current.dir}/bin" includes="${scalaint.exec.name}"/>
<binset dir="${dist.current.dir}/bin" includes="${scalaint.exec.name}.bat"/>
</quicksbaz>
</target> </target>
<!-- =========================================================================== <!-- ===========================================================================