Applying the one half of Miles's patch.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15057 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
washburn 2008-05-18 12:53:20 +00:00
parent 7a54c6efcd
commit ac22c9f6fc
3 changed files with 48 additions and 56 deletions

View File

@ -1,13 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src/compiler"/> <classpathentry kind="src" path="src/compiler"/>
<classpathentry kind="lib" path="build/quick/lib/compiler/"/>
<classpathentry kind="lib" path="lib/fjbg.jar"/>
<classpathentry kind="lib" path="lib/msil.jar"/>
<classpathentry kind="lib" path="lib/ant/ant-contrib.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="lib" path="lib/msil.jar"/>
<classpathentry exported="true" kind="lib" path="build/quick/lib/library" sourcepath="src/library"/>
<classpathentry kind="lib" path="lib/jline.jar"/> <classpathentry kind="lib" path="lib/jline.jar"/>
<classpathentry kind="output" path="build/quick/lib/compiler"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="lib" path="lib/fjbg.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath> </classpath>

View File

@ -1,52 +1,16 @@
Manifest-Version: 1.0 Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: Scala Distribution Bundle-Name: Scala Distribution
Bundle-SymbolicName: scala;singleton:=true Bundle-SymbolicName: scala.tools.nsc;singleton:=true
Bundle-Version: 2.6.1.B1 Bundle-Version: 2.7.1.final
Eclipse-LazyStart: true Eclipse-LazyStart: true
Bundle-ClassPath: lib/fjbg.jar, Bundle-ClassPath:
lib/msil.jar, .,
lib/, bin,
build/quick/lib/library/, lib/fjbg.jar,
build/quick/lib/actors/, lib/jline.jar,
build/quick/lib/dbc/, lib/msil.jar
build/quick/lib/compiler/ Export-Package:
Export-Package: ch.epfl.lamp.fjbg,
scala,
scala.collection,
scala.collection.jcl,
scala.collection.immutable,
scala.collection.mutable,
scala.compat,
scala.concurrent,
scala.io,
scala.mobile,
scala.ref,
scala.reflect,
scala.runtime,
scala.testing,
scala.text,
scala.util,
scala.util.automata,
scala.util.grammar,
scala.util.logging,
scala.util.parsing,
scala.util.parsing.ast,
scala.util.parsing.combinator,
scala.util.parsing.combinator.lexical,
scala.util.parsing.combinator.syntactical,
scala.util.parsing.combinator.testing,
scala.util.parsing.input,
scala.util.parsing.json,
scala.util.parsing.syntax,
scala.util.regexp,
scala.xml,
scala.xml.dtd,
scala.xml.factory,
scala.xml.parsing,
scala.xml.path,
scala.xml.pull,
scala.xml.transform,
scala.tools.nsc, scala.tools.nsc,
scala.tools.nsc.util, scala.tools.nsc.util,
scala.tools.nsc.io, scala.tools.nsc.io,
@ -55,4 +19,6 @@ Export-Package: ch.epfl.lamp.fjbg,
scala.tools.nsc.ast, scala.tools.nsc.ast,
scala.tools.nsc.ast.parser, scala.tools.nsc.ast.parser,
scala.tools.nsc.reporters scala.tools.nsc.reporters
Require-Bundle: org.apache.ant Require-Bundle:
org.apache.ant,
scala.library

View File

@ -513,6 +513,24 @@ PACKED QUICK BUILD (PACK)
</jar> </jar>
</target> </target>
<target name="pack.pre-libsrc" depends="pack.start">
<uptodate
property="pack.libsrc.available"
targetfile="${build-pack.dir}/lib/scala-library-src.jar"
srcfile="${build-quick.dir}/librarysrc.complete"/>
</target>
<target name="pack.libsrc" depends="pack.pre-libsrc">
<mkdir dir="${build-pack.dir}/src"/>
<jar destfile="${build-pack.dir}/src/scala-library-src.jar">
<fileset dir="${src.dir}/library"/>
<fileset dir="${src.dir}/actors"/>
</jar>
<jar destfile="${build-pack.dir}/src/scala-dbc-src.jar">
<fileset dir="${src.dir}/dbc"/>
</jar>
</target>
<target name="pack.pre-comp" depends="pack.lib"> <target name="pack.pre-comp" depends="pack.lib">
<uptodate <uptodate
property="pack.comp.available" property="pack.comp.available"
@ -521,8 +539,13 @@ PACKED QUICK BUILD (PACK)
</target> </target>
<target name="pack.comp" depends="pack.pre-comp" unless="pack.comp.available"> <target name="pack.comp" depends="pack.pre-comp" unless="pack.comp.available">
<mkdir dir="${build-pack.dir}/META-INF"/>
<copy file="META-INF/MANIFEST.MF" toDir="${build-pack.dir}/META-INF"/>
<manifest file="${build-pack.dir}/META-INF/MANIFEST.MF" mode="update">
<attribute name="Bundle-Version" value="${version.number}"/>
</manifest>
<mkdir dir="${build-pack.dir}/lib"/> <mkdir dir="${build-pack.dir}/lib"/>
<jar destfile="${build-pack.dir}/lib/scala-compiler.jar"> <jar destfile="${build-pack.dir}/lib/scala-compiler.jar" manifest="${build-pack.dir}/META-INF/MANIFEST.MF">
<fileset dir="${build-quick.dir}/classes/compiler"/> <fileset dir="${build-quick.dir}/classes/compiler"/>
<zipfileset src="${fjbg.jar}"/> <zipfileset src="${fjbg.jar}"/>
<zipfileset src="${msil.jar}"/> <zipfileset src="${msil.jar}"/>
@ -597,6 +620,12 @@ PACKED QUICK BUILD (PACK)
<delete dir="${build-pack.dir}" includeemptydirs="yes" quiet="yes" failonerror="no"/> <delete dir="${build-pack.dir}" includeemptydirs="yes" quiet="yes" failonerror="no"/>
</target> </target>
<!-- ===========================================================================
PACKED QUICK BUILD FOR ECLIPSE PLUGIN DEVELOPMENT (PLUGIN)
============================================================================ -->
<target name="plugin.quick" depends="pack.lib, pack.libsrc"/>
<!-- =========================================================================== <!-- ===========================================================================
BOOTSTRAPPING BUILD (STRAP) BOOTSTRAPPING BUILD (STRAP)
============================================================================ --> ============================================================================ -->