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