also includes *.args files in package scala-test
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7762 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
f263283246
commit
d0a8391198
|
@ -350,6 +350,7 @@ BUILD LOCAL REFERENCE (LOCKER) LAYER
|
||||||
file="${locker.dir}/bin/${fsc.exec.name}"
|
file="${locker.dir}/bin/${fsc.exec.name}"
|
||||||
name="Fast Scala compiler"
|
name="Fast Scala compiler"
|
||||||
class="scala.tools.nsc.CompileClient"
|
class="scala.tools.nsc.CompileClient"
|
||||||
|
toolflags='-JDjava.class.path="$MERGED_CLASSPATH"'
|
||||||
version="${version.number}"
|
version="${version.number}"
|
||||||
copyright="${copyright.string}"
|
copyright="${copyright.string}"
|
||||||
javaFlags="-Xmx256M -Xms16M"/>
|
javaFlags="-Xmx256M -Xms16M"/>
|
||||||
|
@ -477,8 +478,9 @@ BUILD QUICK-TEST LAYER
|
||||||
copyright="${copyright.string}"/>
|
copyright="${copyright.string}"/>
|
||||||
<quicktool
|
<quicktool
|
||||||
file="${quick.dir}/bin/${fsc.exec.name}"
|
file="${quick.dir}/bin/${fsc.exec.name}"
|
||||||
name="Scala scripting tool"
|
name="Fast Scala compiler"
|
||||||
class="scala.tools.nsc.CompileClient"
|
class="scala.tools.nsc.CompileClient"
|
||||||
|
toolflags='-JDjava.class.path="$MERGED_CLASSPATH"'
|
||||||
version="${version.number}"
|
version="${version.number}"
|
||||||
copyright="${copyright.string}"/>
|
copyright="${copyright.string}"/>
|
||||||
<chmod perm="ugo+rx"
|
<chmod perm="ugo+rx"
|
||||||
|
@ -607,8 +609,9 @@ TEST
|
||||||
copyright="${copyright.string}"/>
|
copyright="${copyright.string}"/>
|
||||||
<straptool
|
<straptool
|
||||||
file="${strap.dir}/bin/${fsc.exec.name}"
|
file="${strap.dir}/bin/${fsc.exec.name}"
|
||||||
name="Scala scripting tool"
|
name="Fast Scala compiler"
|
||||||
class="scala.tools.nsc.CompileClient"
|
class="scala.tools.nsc.CompileClient"
|
||||||
|
toolflags='-JDjava.class.path="$MERGED_CLASSPATH"'
|
||||||
version="${version.number}"
|
version="${version.number}"
|
||||||
copyright="${copyright.string}"/>
|
copyright="${copyright.string}"/>
|
||||||
<chmod perm="ugo+rx"
|
<chmod perm="ugo+rx"
|
||||||
|
@ -865,7 +868,7 @@ GENERATES A DISTRIBUTION
|
||||||
includes="clitest,diff.exe,lib*.dll,scalatest,scalatest.bat"/>
|
includes="clitest,diff.exe,lib*.dll,scalatest,scalatest.bat"/>
|
||||||
<miscset
|
<miscset
|
||||||
dir="${basedir}/test"
|
dir="${basedir}/test"
|
||||||
includes="files/**/*.check,files/**/*.java,files/**/*.scala,files/cli/**/*.check.*"/>
|
includes="files/**/*.args,files/**/*.check,files/**/*.java,files/**/*.scala,files/cli/**/*.check.*"/>
|
||||||
</quicksbaz>
|
</quicksbaz>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
* @author Martin Odersky
|
* @author Martin Odersky
|
||||||
*/
|
*/
|
||||||
// $Id: Main.scala 7679 2006-06-02 14:36:18 +0000 (Fri, 02 Jun 2006) odersky $
|
// $Id: Main.scala 7679 2006-06-02 14:36:18 +0000 (Fri, 02 Jun 2006) odersky $
|
||||||
|
|
||||||
package scala.tools.nsc
|
package scala.tools.nsc
|
||||||
|
|
||||||
import scala.tools.util.StringOps
|
import scala.tools.util.StringOps
|
||||||
|
@ -56,8 +57,10 @@ object CompileClient {
|
||||||
|
|
||||||
def main(args: Array[String]): unit = {
|
def main(args: Array[String]): unit = {
|
||||||
val Pair(vmArgs, serverAdr) = normalize(args)
|
val Pair(vmArgs, serverAdr) = normalize(args)
|
||||||
if (args exists ("-verbose" ==))
|
if (args exists ("-verbose" ==)) {
|
||||||
System.out.println("[Server arguments: " + args.mkString("", " ", "]"))
|
System.out.println("[Server arguments: " + args.mkString("", " ", "]"))
|
||||||
|
System.out.println("[VM arguments: " + vmArgs + "]")
|
||||||
|
}
|
||||||
val socket = if (serverAdr == "") CompileSocket.getOrCreateSocket(vmArgs)
|
val socket = if (serverAdr == "") CompileSocket.getOrCreateSocket(vmArgs)
|
||||||
else CompileSocket.getSocket(serverAdr)
|
else CompileSocket.getSocket(serverAdr)
|
||||||
val out = new PrintWriter(socket.getOutputStream(), true)
|
val out = new PrintWriter(socket.getOutputStream(), true)
|
||||||
|
|
Loading…
Reference in New Issue