Commit Graph

541 Commits

Author SHA1 Message Date
spoon e3de1bbbe7 Support jline in the interactive shell.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12332 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-17 11:31:53 +00:00
dubochet fd9bab914e Changed organisation of Scalac's command-line options to split them into three categories: every-day use, advanced (-X) and private (-Y).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12319 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-16 12:16:33 +00:00
michelou 41c2a36217 fixed name in .NET script
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12075 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-06-19 09:31:30 +00:00
michelou 047ea73713 fixed includes
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12071 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-06-18 16:40:32 +00:00
michelou 593cbed63c added sbaz package "scala-msil"
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12068 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-06-18 13:52:54 +00:00
michelou fbb689d324 added missing chmod
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12060 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-06-18 08:36:29 +00:00
michelou 354ce47160 removed .NET specifics from Scala commands
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12059 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-06-18 08:26:33 +00:00
mihaylov 21b1235cf6 Added build support for the J2ME version of the library
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12004 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-06-13 12:14:52 +00:00
michelou d765982c63 reverted change #11979
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11983 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-06-11 16:08:31 +00:00
michelou c01172f6fb fixed 2 quirks on .NET
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11979 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-06-11 15:23:21 +00:00
michelou ee89ff4889 reverted change in build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11101 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-21 09:28:34 +00:00
michelou 95efbab3ae minor changes
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11100 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-21 08:32:16 +00:00
michelou e73c5d1fc5 updated OSGi manifest headers
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11076 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-16 18:05:52 +00:00
michelou 4ace1792ad fixed OSGi version number
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11064 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-16 12:56:00 +00:00
michelou 0f2af6c225 added missing blank in bundle settings
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11048 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-15 17:38:33 +00:00
michelou a65326001a added OSGi bundle support
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11047 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-15 17:00:38 +00:00
michelou a2e0976429 runtime.Properties -> util.Properties
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11040 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-15 11:56:51 +00:00
michelou 993ae34237 merged Burak's destructive rev11032 with rev11031
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11034 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-15 09:11:48 +00:00
michelou 4609ba6ad0 added property file to scala-library.jar
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11012 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-11 13:16:31 +00:00
dubochet faee55dce7 [#1058] Sabbus warns the user when having less than 600MB of memory — which has Scaladoc thrashing during a dist.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10989 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-10 14:06:54 +00:00
dubochet 90b57236a2 New STARR based on rev. 10902. Fixed build to correctly add fjbg.jar to the STARR classpath. Removed BoxedValue classes that are now useless.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10916 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-01 16:18:11 +00:00
mihaylov f9a81714a6 Made mutable.{Set, BitSet} platform-independent
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10901 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-01 11:47:56 +00:00
phaller 88cd61e3e1 Package scala.actors now included in scala-library.jar
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10897 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-05-01 09:41:21 +00:00
michelou 707ecd9e89 added data files for shootout tests
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10868 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-27 13:24:25 +00:00
michelou e5cf1b5e47 generates constant values in API doc
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10824 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-25 17:17:03 +00:00
michelou e22da49fa9 fixed scaladoc option
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10810 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-25 09:03:09 +00:00
dubochet f7ae675d67 Updated SABBUS to also pass nsc.params to Starr when building Locker (until now, it was only passed to Locker when building Starr).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10801 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-24 16:25:09 +00:00
michelou 6d1a9badd0 updated check files
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10686 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-13 12:07:34 +00:00
dubochet 778384acd8 Fixed dependencies for some clean targets in SABBUS.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10672 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-12 14:49:30 +00:00
michelou 945373bed4 added unchecked
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10658 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-10 17:13:47 +00:00
michelou e028d55ecc added options to scaladoc Ant task
removed several unchecked warnings


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10657 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-10 15:53:35 +00:00
michelou 62c3660cdd removed unsealedClass in Definitions
improved symlink handling in build.xml


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10609 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-03 11:13:36 +00:00
michelou 4633302043 now supports 'build' and 'dists' defined as symbolic links
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10565 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-03-29 11:13:45 +00:00
michelou 8f94318a60 fixed initialization of svn.number property
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10555 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-03-28 09:26:13 +00:00
michelou 42f29d362a also generates sources tarball
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10547 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-03-27 11:24:08 +00:00
michelou 45ce0056b1 added Array.deepEquals, improved external links to sources in API doc
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10417 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-03-20 17:59:27 +00:00
michelou 06da7cab54 reverted last change
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10411 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-03-20 11:47:18 +00:00
michelou 944f7ca02f added resource 'source.png' in DocGenerator
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10407 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-03-20 10:39:52 +00:00
michelou 5b827456ad added ${version.suffix}
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10404 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-03-20 10:13:38 +00:00
phaller dd034e6794 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10039 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2007-02-19 14:52:03 +00:00
phaller c728a843c6 changes to build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10037 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-19 14:22:00 +00:00
phaller 274ef535ca Included FJ files in build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10033 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-19 11:33:47 +00:00
odersky f10ed434bd re-enabled stability test; added sections.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10016 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-16 17:38:35 +00:00
mihaylov 967910c1d0 - renamed msil.predef build target to msil
- added clean.msil target


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9974 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-13 08:35:18 +00:00
mihaylov fdfd5e2f11 Preliminary support for building .NET version of the Scala library
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9946 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-09 17:09:49 +00:00
odersky 484d6ab5b3 Disabled stability test
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9927 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-08 11:34:33 +00:00
mihaylov d7a62c5089 Merged the dotnet-scala branch
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9896 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-06 16:06:34 +00:00
phaller c80a38caa6 build.xml: fixed problem building ScalaDoc on JDK 1.4.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9858 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-02 11:40:34 +00:00
phaller 10ad3aa9b6 Excluded scala/actors/ThreadPoolScheduler.scala from building docs on JDK 1.4.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9845 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-02-01 11:06:11 +00:00
dubochet 3a80868546 Reverted to old slightly-less-broken scheme for guessing SVN revision number.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9838 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-01-31 17:38:08 +00:00
phaller 25d37e2d4d scala.actors: fixed build on JDK 1.4
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9835 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-01-31 16:50:32 +00:00
michelou afdf67138f excludes JDK5Scheduler.scala on Java 1.4
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9826 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-01-31 14:31:04 +00:00
dubochet 5d21cbfe7c Build script's SVN revision guessing compatible with svn 1.7.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9824 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-01-31 14:00:36 +00:00
michelou 836e29f567 moved version/copyright properties from source code to property file
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9792 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-01-29 16:53:19 +00:00
michelou d8102749d6 updated copyright date in build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9690 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-01-23 18:01:08 +00:00
michelou 3b96d42d10 fixed dependency test in all build.xml files
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9529 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-12-17 07:54:53 +00:00
michelou aa8ed156ab added dependency test for Ant-Contrib
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9525 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-12-15 14:34:27 +00:00
michelou 8c56cf55b7 scala test suite also contains jar files!
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9163 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-11-06 14:35:17 +00:00
michelou 5957bf765f added deprecation attribute to quick and star tasks
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9037 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-10-24 11:46:11 +00:00
michelou a3af33868e added '--ant' option to scalatest
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9009 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-10-20 18:42:49 +00:00
michelou 44a79e16e6 added 'deprecation' flag to ant/Scalac.scala and build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8998 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-10-20 09:44:06 +00:00
michelou 4ffc6ff858 changed location of diff files in scala-test-xxx.sbp
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8969 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-10-15 22:39:31 +00:00
michelou 2f5f157806 corrected copyright notice in script templates
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8948 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-10-11 20:08:10 +00:00
michelou a4d66bd665 removed temp.fix (quickdoc)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8731 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-09-21 13:13:43 +00:00
michelou eebb4f8e8a temp.fix: task "quickdoc" uses "starr.classpath" instead of "quick.classpath"
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8659 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-09-12 12:08:47 +00:00
spoon c2b874dfc4 distribute jars of the source files
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8496 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-08-24 13:16:02 +00:00
dubochet 99f5a0225e Removed "patch" hack in SABBUS.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8317 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-08-04 12:00:04 +00:00
michelou 0817e2637a version separator is now configurable and default is "patch" (was ".")
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8275 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-07-27 17:20:11 +00:00
michelou f7245cb1a5 added target 'binaries' to build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8262 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-07-25 15:01:32 +00:00
michelou edc7f0cfc4 removed 'toolflags' parameters for fsc in build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8248 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-07-24 15:05:28 +00:00
michelou ca43afb9da fixed EOLs for Windows batch files
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8167 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-07-14 17:33:32 +00:00
michelou 8073f2bdfd EXTENSION_CLASSPATH now contains both files/dirs on Windows
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8165 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-07-14 17:00:28 +00:00
dubochet b4ace59e71 Fixed the way variables are set in wrapper scripts to be multi-platform compliant.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8144 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-07-13 15:15:01 +00:00
michelou 707fce7e0b added fsc to the man pages
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8098 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-07-11 15:18:11 +00:00
michelou 0c130da5e3 also display version number when build is stable (or not)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8034 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-29 12:05:05 +00:00
michelou 4cb25601ee updated cli test, added test for multiline strings
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@8032 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-29 11:24:24 +00:00
phaller 8997e512ef Added actors library.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7941 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-21 12:35:21 +00:00
spoon 20c90b4c26 adjust the generated tool scripts to replace scala+scalaint+scalascript
by a single unified scala script


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7874 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-15 15:43:19 +00:00
michelou f547562189 fixed target directory for man pages in build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7859 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-15 13:23:32 +00:00
michelou 6319c6a0a1 moved docs/man/src to src/manual and updated build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7772 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-12 14:18:13 +00:00
dubochet a7d2d6424d Hack-fixed the FSC compiler to handle boot class path.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7769 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-11 19:11:01 +00:00
michelou d0a8391198 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
2006-06-08 18:50:25 +00:00
michelou f263283246 reactivated call to 'load' in file DocGenerator.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7754 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-08 15:11:48 +00:00
michelou 17bec35c84 now copy generated man pages to the distribution
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7711 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-07 13:29:28 +00:00
dubochet 139b8dc984 There is no unecessary output on stderr when building.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7710 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-07 12:52:09 +00:00
michelou bd07cb4369 added command 'fsc' for scala.tools.nsc.CompileClient
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7704 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-06-06 16:52:36 +00:00
michelou ef6d202f3d fixed error in file selection for scaladoc
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7588 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-24 13:59:49 +00:00
michelou 8626b6e2ec create a copy (and not a link) for "latest" on Windows
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7586 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-24 13:31:53 +00:00
michelou 55b21add90 updated file scala/tools/nsc/MainScript.scala to run it in the DOS console
added executables bin/scalascript* to the Scala distribution



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7449 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-18 15:48:23 +00:00
dubochet 0ed3472b93 TAR archive generate by SABBUS stores correct permissions for executable files.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7427 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-15 16:02:24 +00:00
michelou 5b5042e473 fixed error in file build.xml
fixed IBM J9 related error in file test/clitest



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7415 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-12 16:27:50 +00:00
dubochet 7f396e791f Seriously cleaned-up the build script. The compiler and runner scripts now load directories found in extdir to the classpath.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7408 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-11 15:29:25 +00:00
michelou c7db99cf1f fixed classpath for library file fjbg.jar (for nightly build)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7360 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-08 15:15:42 +00:00
michelou 4827b4617f added target 'dist.nightly' in file build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7354 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-08 11:53:59 +00:00
michelou 97bd823066 added target 'dist.quick' (no tests and docs) in file build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7338 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-04 12:18:57 +00:00
michelou f7c78b2c7d replaced Cygwin diff.exe with GNUWin32 version (standalone)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7267 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-27 12:13:16 +00:00
michelou 2c070fe2ea added batch file test/scalatest.bat
added companion file test/diff.exe (GNU diffutils 2.8.7)



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7258 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-26 16:00:17 +00:00
mihaylov fc93c03edd Removed the special treatment of scala/runtime/ScalaRunTime.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7233 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-25 09:27:15 +00:00
michelou 7b412a1daa corrected errors in script test/clitest
added cli tests to package 'scala-test'



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7227 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-24 15:15:56 +00:00
michelou 9289efa7c7 changed value of property 'copyright' in file build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7165 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-20 12:02:30 +00:00
michelou a888364289 released version 2.1.3 of the Scala distribution
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7139 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-13 14:40:26 +00:00
mihaylov 17b76a3ac7 Removed support for Java files in the compiler
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7130 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-13 07:57:25 +00:00
michelou 210b36f4aa added options '-windowtitle' and '-documenttitle' to command scaladoc
added attributes 'windowtitle' and 'documenttitle' to Ant task 'Scaladoc'
added option '-encoding iso-8859-1' in script test/scalatest
removed leading tabs in scala/xml/*.scala



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7124 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-12 16:55:00 +00:00
mihaylov 8b08e7ecb9 Introduced properties for the individual source directories (library, dbc, compiler)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7099 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-10 12:27:45 +00:00
michelou 02672e127d added attributes 'source', 'target' and 'deprecation' to task 'javac' in file build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7093 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-10 12:11:03 +00:00
mihaylov 45d28b3151 Replaced pico with javac
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7090 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-10 11:02:41 +00:00
michelou 9efeedb7f5 added timer for target 'dist' in file build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7059 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-05 11:48:35 +00:00
michelou 3c2a909d26 updated script 'test/scalatest' to also work when packaged with sbaz
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7053 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-04 14:37:34 +00:00
dubochet cd61e7e391 API for DBC is built again.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7043 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-04-03 09:16:43 +00:00
mihaylov 59a68b0451 replaced ${*.dir}/${exec.dir.name} with ${*.exec.dir} in build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6990 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-30 13:31:50 +00:00
dubochet ddc2197300 Exec Scripts (scala, scalac, etc.) are generated for every phase, now based on the source grabed at compile-time (no need to rebuild locker when testing the scripts anymore).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6989 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-30 12:42:03 +00:00
michelou 87821afae8 corrected link to sbaz universe in **/build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6973 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-29 13:22:54 +00:00
michelou 06a21fbb11 added sbaz package 'scala-test'
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6959 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-28 17:43:55 +00:00
dubochet 474cd02f0b Fixed bug #557: Testing available memory before running SABBUS is now more robust.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6900 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-24 16:32:26 +00:00
michelou b05c62fea5 added library scala-dbc.jar to package scala-library-*.sbp
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6892 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-24 12:57:10 +00:00
michelou 83ee5348c9 fixed missing link when generating advert file in build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6884 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-23 20:10:55 +00:00
michelou ddb6b266a9 removed placeholder packages in file scala/build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6882 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-23 16:59:16 +00:00
dubochet a65b8b6802 Corrected scripts to circumvent class loader bug in scala runtime. Every class loads in the same classloader so that boxed arrays can load their content.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6864 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-21 17:43:21 +00:00
dubochet 7faa69b844 1. Updated the tool generation script (UNIX) to be compatible with that defined on the wiki.
2. ScalaTool Ant task updated to be more flexible.
3. Build now generates a separate archive for DBC (also changed in source layout).

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6853 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-20 15:58:47 +00:00
michelou 334d8e6147 corrected handling of version number in build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6812 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-16 19:35:29 +00:00
michelou beb284a232 added license and readme files to the doc
corrected classpath handling in tool-unix.tmpl



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6782 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-15 16:59:10 +00:00
spoon aee0ec096c In the scalaint script, define scala.boot.class.path .
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6781 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-15 16:57:15 +00:00
michelou d303223e7b propagate property 'version.number' to all dependencies
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6762 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-14 23:54:05 +00:00
michelou 83d94218b1 added '-' in property 'time.short' to be sbaz friendly
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6759 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-14 20:55:42 +00:00
spoon 7461ef79b7 fix the classpath for the "quick" scalaint script
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6731 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-13 12:03:04 +00:00
dubochet 304d0d48c3 Reverted back Stephane's incorrect changes to the versioning scheme. It needs to REMAIN THAT WAY to be compatible with SBaz.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6728 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-13 10:36:32 +00:00
michelou 9d5bb419c7 uses major/minor/patch versions before incrementing them
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6722 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-12 22:35:28 +00:00
michelou 95a10b4198 corrected missing path conversion on Cygwin for file 'generic-unix.tmpl'
added handling of option '-cp/-classpath' in file 'tool-windows.tmpl'
use task <copy> instead of <symlink> on Windows in file 'build.xml'



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6693 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-11 18:13:53 +00:00
dubochet 3c4e90560d Fixed some distribution-related build dependencies and improved the way devel, patch and minor distributions can be requested. Updated README to match current build script.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6653 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-09 15:16:53 +00:00
michelou f0f520ec0e added directory 'examples' to generated distribution
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6648 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-09 14:13:01 +00:00
dubochet 09589be99b Updated SABBUS to:
1. Generate better local distributions, same layout as a sbaz-managed directory. 
2. Consolidate Sbaz packages into a smaller set. Compatibility packages are also generated. 
3. Added number management (triggered by 'release' property). 
4. Scaladoc HTML documentation is now part of the distribution. 
5. Target 'docs.compiler' generates HTML documentation for compiler. 
6. FJBG is now insert into 'scala-compiler.jar' archive for distribution.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6638 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-08 21:37:50 +00:00
dubochet fc02f5427c Added a Scaladoc ant task and extended SABBUS to use it.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6632 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-08 16:29:16 +00:00
michelou 8a89650451 removed task 'examples' from build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6631 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-08 15:56:20 +00:00
michelou 0531efdbb7 added generation of 'scaladoc' command
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6625 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-08 10:08:40 +00:00
michelou a144685c6b changed version numbering
added Ant task 'examples'



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@6619 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-07 16:42:36 +00:00
dubochet e06ba19bf3 Corrected clean-dependencies in SABBUS, cleaned-up style, plus various detail improvements.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5893 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-06 14:12:09 +00:00
michelou 80f843e4c2 also prints out hostname and OS in log file build.timers
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5891 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-06 12:14:04 +00:00
dubochet 112b107b77 Remove files that were not required for compilation. Clean ignore patterns.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5887 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-03 17:28:53 +00:00
mihaylov 743750f1a7 Use 'mixin class' instead of 'trait'
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5883 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-03 14:32:42 +00:00
michelou 2613f9c708 changed way to generate 'version.number' property,
added timers for locker, quick and strap phases



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5877 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-03-02 14:01:45 +00:00
spoon f263205894 be more tolerant of svnversion's output
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5863 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-02-27 16:38:50 +00:00
dubochet fca405c64f SABBUS is now less verbose by default.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5861 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-02-27 14:03:57 +00:00
michelou 7b7bf6bf11 version number now ends with svn revision number
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5846 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-02-24 18:04:17 +00:00
spoon 0c79e7d55a - 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
2006-02-20 03:03:23 +00:00
michelou 8c812563f0 renamed 'scala*2' to 'scala*' in Ant file build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5769 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-02-16 09:43:31 +00:00
dubochet e1105bc5c3 Updated SABBUS to provide more information about the environment in which it is running.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5741 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-02-10 18:19:09 +00:00
michelou 8dbc0952c6 - prints out Java environment when executing build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5732 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-02-10 14:12:49 +00:00
spoon 775cb95a6b Make the scalac2 sbaz package depend on scalac2-support
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5705 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-02-03 15:13:42 +00:00
dubochet a1e46fe89d Corrected a classpath problem in the generated scripts in 'build/'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5666 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-30 16:57:38 +00:00
dubochet 3c83163cf0 Removed the '-client' flag in the run scripts: it wasn't helpful after all.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5658 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-30 10:05:19 +00:00
michelou b9a575f621 - corrected value of nsc.excludes in file build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5640 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-26 12:39:54 +00:00
dubochet e0524c377a Scala now only works in client mode: server mode is too buggy for Scala.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5638 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-26 10:24:12 +00:00
dubochet 76ba4c3c7e Fixed some details in SABBUS so that it works flawlessly (hopefully).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5613 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-20 16:38:11 +00:00
dubochet 8e372f3cb2 Mmmh, SABBUS wasn't working after all. Now it should.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5611 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-20 16:18:24 +00:00
dubochet 3727c6708f Updated a rather improved version of SABBUS which takes care of dependencies much better. Have a look at the updated README file for details.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5610 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-20 16:15:13 +00:00
dubochet 992c0eebc4 Updated Scalac to support a mode (triggered by setting 'scalacdebugging' to true) that prints the compiled files and any stack trace generated by the compiler.
Use it in SABBUS for quick and strap.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5583 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 15:32:26 +00:00
spoon 233eea8ad3 Three things to be friendly with Scala Bazaars:
1. Generate three sbp packages, not just one
  2. Fix the name of the bin scripts, e.g. scala22 --> scala2
  3. Do not include a Main-Class in the scalac jar file


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5582 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 15:22:54 +00:00
dubochet 9f2e3501e6 Changed the product name in SABBUS to 'scala2'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5578 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 09:52:23 +00:00
dubochet c5f3ec19a4 Added the Scala Bazaar archive generation Ant task. Modified the SABBUS build script to use it.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5575 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 09:35:35 +00:00
dubochet dd5f16778b The build file only creates symbolic links on UNIX platforms, copies otherwise.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5507 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-12 09:55:02 +00:00
dubochet a5c72ef870 The Scalac Ant task now supports a 'addparams' parameter for passing custom parameters to the compiler. Build script updated to use it too: set nsc.params to add custom parameters.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5485 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:28:11 +00:00
dubochet 3f498a8b93 Improved the ScalaTool Ant task to be more cross-platform.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5478 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 17:19:23 +00:00
dubochet 7e9d82c77c Updated the Ant build system:
1. Minor aesthetic changes to Scalac.
2. Added Ant task ScalaTool that automatically constructs wrappers for a tool. Wrapper templates are in ant/templates.
3. Modified build.xml to use ScalaTool.
4. Removed nsc/ant/NSC which is now obsolete (replaced by ant/Scalac).
5. Added a antlib.xml file that allows to load all ant tasks in one operation in an ant script.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5469 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 13:07:02 +00:00
dubochet 98ec0e162b Modified the generation of scripts in build/ to work when linked to from a symbolic link.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5448 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-04 16:57:36 +00:00
dubochet 2511ab5dbc 1. Moved the Scalac Ant task to a new location and updated it thorougly.
2. Modified the build script to use the new optional Ant tasks that have been added to 'lib/', which is much cleaner.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5410 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-23 18:17:24 +00:00
michelou 94cfad1f62 - added properties 'os.win', 'os.cygwin' and 'os.unix'
- Task 'symlink' is now called only if 'os.unix' is set



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5408 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-22 18:21:56 +00:00
michelou ad6290fab9 - corrected generation of executables for Cygwin and Windows
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5406 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-22 01:50:44 +00:00
dubochet faca6374b5 1. Modified the way paths are used in NSC. Removed as much magic as possible from 'util.ClassPath' and 'nsc.Settings'.
2. Improved the generation of a distribution.
3. 'scalanstest' works again.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5402 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-21 20:31:59 +00:00
dubochet 204fef47fc 1. Changed the generated scripts for UNIX so that they actually work.
2. Removed dead text in ant/NSC.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5397 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-20 13:43:47 +00:00
dubochet 840ec80d10 1. 'build.xml' now generates a simplified distribution.
2. Scripts no longer use the wrapper script but are self-contained.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5394 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-19 17:17:19 +00:00
dubochet f677c469bd Switching to the new build system and to the new build system. This is a MAJOR commit, so be careful when updating.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5390 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-19 13:49:03 +00:00
michelou 1c5f9fb0f3 - added missing package 'reflect'
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5374 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-16 19:53:23 +00:00
dubochet b20732db7d - NSC ant task updated to compile with NSC
- Build script now compiles it with NSC


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5057 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-13 17:42:57 +00:00
michelou 63784272af - corrected typo in task 'distrib.cygwin'
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5042 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-09 23:59:05 +00:00
odersky fb95208bf3 *** empty log message ***
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5040 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-09 18:57:00 +00:00
odersky 6a4e8d3cd4 *** empty log message ***
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5039 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-09 18:55:10 +00:00
michelou 8d9dedea0f - added property 'os.cygwin'
- added task 'distrib.cygwin'


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5037 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-09 18:16:39 +00:00
michelou 38a871c7fa - removed old Scala jars from TOOLS_CPATH's value
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5030 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-07 14:46:10 +00:00
dubochet 141861d4be SCABBUS now also supports the "print" option.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4994 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-30 17:16:11 +00:00
dragos deda4d5dbf Added local variable debugging information in the jvm backend, and corresponding options in the ant task.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4991 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-30 16:31:54 +00:00
emir ec8df32932 cleaned up main
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4940 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-18 14:58:59 +00:00
dubochet 35dc17990b At last: the annoying two files that build.pico.nslib was rebuilding everytime now no longer are.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4914 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-15 16:47:34 +00:00
dubochet 2d2bbe3dab New JARs now overwrite old ones instead of merely updating them.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4906 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-13 14:29:06 +00:00
michelou e760834ead - added creation of md5 checksums.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4899 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-09 17:06:48 +00:00
dubochet 37926e1320 Added check in doc to see whether the required classes are available.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4878 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-05 22:19:45 +00:00
dubochet c5dfb2f8d0 skip.nsc can be used when building a non-working version of nsc.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4868 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-04 16:43:49 +00:00
dubochet 16ae4e01a5 Changed path to use config instead of build.support.
test target now simply runs the test script.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4858 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-03 18:14:53 +00:00
dubochet 43939fde6e Corrected more error message for IzPack.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4856 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-03 17:24:48 +00:00
dubochet a12f6c5b06 Corrected error message for IzPack.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4855 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-03 17:07:01 +00:00
dubochet 5e3cb812e5 IzPack now works with a non-patched distribution.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4846 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-03 13:16:26 +00:00
dubochet d68a5829fc Updated files for new directory structure.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4844 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-03 10:10:34 +00:00
dubochet 3494c6c3f7 Better support for names of executables and the distribution itself.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4836 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-02 18:04:19 +00:00
dubochet 2fbe3547b9 Bug correction: When the docs.skip flag was used, distrib was broken.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4833 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-02 17:34:59 +00:00
dubochet c90b3ee0e6 - Updated version nb. management: if the version.public property is set (-Dversion.public=yes), the version nb. of VERSION is used, otherwise, it is generated from date and time.
- Added IzPack creation directly in the build file.
- Default target is now distrib.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4832 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-02 17:16:53 +00:00
dubochet 0d6d1a604c Modified class path of nsc exec scripts to suit Iulian desires.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4829 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-02 14:52:44 +00:00
dubochet 4a4ecc003a Updated SABBUS to generate functioning scalac and scala script (bug #469).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4821 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-11-01 10:38:08 +00:00
michelou a74f52964f - fixed nasty bug introducted by Gilles in Windows distrib.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4815 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-28 12:30:15 +00:00
michelou 3c8b52f5dc - corrected typo.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4814 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-28 11:41:16 +00:00
michelou 2318830411 - corrected wrong path in target 'distrib.win'.
- added command 'scalap'.
- added 2nd VERSION file for Windows.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4813 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-28 11:36:01 +00:00
dubochet 3431ea2899 Corrected the classpath of the scala and scalac tools to use the old library instead of the new one.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4809 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-28 08:37:31 +00:00
dubochet 67a57e3fe1 Refactored the build.all system to be shorter, clearer.
Corrected some bugs that prevented rebuilding nsc without cleaning first.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4808 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-27 15:31:36 +00:00
michelou 0160c8686c - modified list of support files.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4807 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-27 13:52:34 +00:00
dubochet f96413f700 Checks if the classpath is empty. Runnning SABBUS with a non-empty classpath is a hopeless situation for the time being. This should be improved in the Scalac Ant task.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4794 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-20 13:47:28 +00:00
michelou 4a92404be0 - changed task 'distrib' (partial distrib).
- added task 'distrib.all' (full distrib).


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4784 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-18 12:07:44 +00:00
dubochet a5898e45b0 Added the log option.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4782 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-18 11:54:14 +00:00
michelou b2f1d6b39a - changed symbolic links.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4771 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-17 18:57:18 +00:00
michelou 80bd66b6b3 - added 'copyright.notice' property.
- added quotes around %SCALA_HOME% variables.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4763 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-16 20:35:20 +00:00
michelou 526ca79ac6 - added generation of 'bin/scala.bat'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4756 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-16 17:19:46 +00:00
michelou 0ef8a631a5 - added 'fixcrlf' action for batch commands.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4755 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-16 16:27:22 +00:00
michelou 5c1fce23c2 - added 'bin/scalap.bat' in Windows distribution.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4754 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-16 16:17:10 +00:00
michelou 349f5a8c4f - added 'izpack' target.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4746 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-16 00:32:03 +00:00
michelou 70fc084bed - added task 'build.jars' (build/lib).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4745 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-15 23:54:52 +00:00
michelou 62b59ef122 - corrected malformed zip action.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4742 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-15 23:17:46 +00:00
dragos 98813846b1 Added the source directory in the path of nsc.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4739 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-15 16:45:03 +00:00
michelou 24a16d9b42 - added generation of 'sources.zip'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4735 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-14 12:39:17 +00:00
michelou a8a0d55909 - added scalap tool.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4734 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-14 12:11:01 +00:00
michelou 9c79d51e6c - scala commands now refer to .nsc_wrapper on Unix.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4729 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-14 09:39:36 +00:00
michelou ab2607871e - added generation of scalac command (bin/scalac[.bat]).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4722 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-13 13:57:02 +00:00
dubochet f9aa88d63b Changed the build system back so that newsources is used again. Removing it generates a rather unexpected null pointer exception in scalac when building the old Scala distribution. Too bad.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4719 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-13 13:15:45 +00:00
dubochet 512aaf74f5 Changed the build system so that newsources is no longer required. When a .scala and .java file exist for the same class, the .scala file is used for NSC instead of the .java file.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4718 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-13 13:00:36 +00:00
dubochet 214d94f5fc Added a simple test to make sure that additional memory has been provided to the script.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4714 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-13 09:16:19 +00:00
michelou 1dd2d142b7 - added 2 tasks 'fixcrlf' in target 'distrib.unix'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4711 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-13 08:59:02 +00:00
michelou 6e8a41127a - added some comments.
- corrected target 'distrib.unix' (directory 'man').


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4710 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-13 08:53:20 +00:00
michelou 7dbe437fb2 - added gz and bz2 generation to target 'distrib.unix'.
- (mostly) implemented target 'distrib.win'.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4709 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-12 22:56:24 +00:00
michelou f692656804 - target 'distrib.unix' now also depends on 'docs'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4708 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-12 21:03:41 +00:00
michelou a7f0975104 - finished target 'docs' :-)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4704 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-12 15:13:24 +00:00
michelou ff64938c64 - added 'distrib.doc.dir'
- copy most files to 'distrib.doc.dir' directory.
- improved target 'docs'.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4702 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-12 14:16:18 +00:00
dubochet 5c6d4cfa45 Changed the way properties are set. Base properties can now be used to define user properties.
Added improved comments to properties files.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4697 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-12 13:13:13 +00:00
michelou 7fc8f8dfd3 - added id 'nsc.classpath'.
- started 'docs' target.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4695 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-12 11:56:30 +00:00
michelou 1c4166513a - added echo for ${oslib.src}.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4687 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-11 17:38:58 +00:00
fsalvi a625e34784 Try a 2nd fix for CVS Id problem
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4684 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-11 14:36:01 +00:00
michelou f2f5c80790 - splitted 'fail' actions in task 'init.osc'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4674 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-11 13:39:48 +00:00
dubochet 6435eb0a60 Removed two unecessary echos. Minor clean-ups in target descriptions.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4673 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-11 11:58:23 +00:00
dubochet bf832f261a Changed the way to set properties. Added a 'build.readme' file to explain how it all works.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4672 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-11 11:53:02 +00:00
michelou 80ebf661c1 - added CVS header.
- changed default target to 'build'.
- removed leading tabs.
- added 'help' target.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4670 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-11 09:39:32 +00:00
dubochet 23efd349e0 Auto-detect files in newsources so as not to compile their java version.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4665 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-10 19:20:02 +00:00
dubochet dc1d8bd5bf Cleaned-up some classpath incoherences and duplications and removed the build.nsbin target which should not have existed in the first place.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4664 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-10 18:00:07 +00:00
dubochet fab9787f31 The new build system in pure Ant.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@4662 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-10-10 17:25:44 +00:00
michelou 6fe1b1972b no longer needed (integrated in Makefile)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@992 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2003-07-10 16:32:31 +00:00
buraq 26e913e7dd pizzadoc experiment
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@901 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2003-07-02 18:03:38 +00:00
buraq a1237f65a5 build file for XML tool dtd2scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@798 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2003-06-13 12:39:47 +00:00