Commit Graph

274 Commits

Author SHA1 Message Date
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