summaryrefslogtreecommitdiff
path: root/build.xml
Commit message (Collapse)AuthorAgeFilesLines
* Added a rootdoc page for the compiler API scaladocVlad Ureche2012-02-061-2/+3
|
* Automatically fetch jars as neededGeoff Reedy2012-02-061-14/+19
| | | | | Use mappers with uptodate and touch tasks to detect if any jars need to be downloaded based on the modification time of the desired.sha1 files
* Revert "Added a rootdoc page for the compiler API scaladoc"Paul Phillips2012-02-051-3/+2
| | | | This reverts commit e34098b7f6e37420198fa5c7c2820d0443b46cc4.
* Added a rootdoc page for the compiler API scaladocVlad Ureche2012-02-051-2/+3
|
* Fixing build string.Paul Phillips2012-02-011-9/+4
| | | | | | | | Version number turning up more than once. Looking at the situation I could only see the former mechanism as trouble. I deleted build.number and in ant am generating the build string only from tools/get-scala-revision. We may need to revisit when the time comes to build a release.
* Have ant notice starr out of date.Paul Phillips2012-01-301-2/+13
| | | | | If your compiler .desired.sha1 is newer than the jar, it will go download it.
* Merge remote-tracking branches 'axel22/issue/4147', 'schmmd/codec' and ↵Paul Phillips2012-01-121-4/+0
|\ | | | | | | 'soc/SI-4627' into develop
| * Clean up standard/swing library by deprecating/moving code examplesSimon Ochsenreither2011-12-071-4/+0
| | | | | | | | | | | | | | | | | | Deprecate scala/xml/include/sax/Main.scala. Move scala/swing/test/* to docs/examples. Saves 160KB in scala-swing.jar. Fixes SI-4627.
* | Merge remote-tracking branch 'kepler/topic/antbuildlocker' into developPaul Phillips2011-12-281-2/+84
|\ \
| * | buildlocker for antEugene Burmako2011-12-281-2/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new command is more or less equivalent to regular "build". It is capable of: 1) automatically unlocking locker 2) not building stuff that hasn't changed 3) packing locker classes into JARs at build\palo\lib 4) populating bin directory at build\palo\bin All in all, buildlocker lets one work with locker as if it were quick. Except that it is rebuilds quicker than quick by a factor of 2x. Fastlocker does exactly the same, but without packing stuff into JARs. This makes things even faster. Of course, both targets don't build anything except library and compiler, so they aren't appropriate for all workflows, but, it was useful for me! P.S. Good news: you can use partest with locker, but it's not obvious. First, you need to transplant missing stuff that is necessary to run partest. I did it by maintaining a parallel clone of my repository that is used only to produce partest dependencies (partest itself, scalap and library/actors). Second, partest has to be switched into "testClasses" mode, which is tricky. I honestly tried to find out how to do this, but then fell back to a hack: https://gist.github.com/1525721. Finally, you need a special launcher (I haven't made friends with std script). The launcher is quite simple and looks as follows: https://gist.github.com/1525720
| | |
| \ \
*-. \ \ Merge remote-tracking branches 'ijuma/issue/5341', ↵Paul Phillips2011-12-271-1/+10
|\ \ \ \ | |_|/ / |/| | | | | | | 'kepler/topic/reifyclosuretests', 'kepler/topic/antscalacheck', 'szabolcsberecz/SI-5104', 'kepler/ticket/5334' and 'kepler/topic/miscfixes' into develop
| * | | scalacheck now also has pre-scalacheck and its personal timerEugene Burmako2011-12-261-1/+10
| |/ /
* / / Addresses a bug in SimpleDateFormatterEugene Burmako2011-12-251-1/+1
|/ /
* | Merge branch 'dec10-version-string'Paul Phillips2011-12-121-4/+2
|\ \ | | | | | | | | | | | | Conflicts: build.xml
| * | More build.xml massaging.Paul Phillips2011-12-121-17/+29
| | | | | | | | | | | | | | | Backporting auto starr download to 2.8.x and 2.9.x build.xmls. Trying to get build strings consistent.
* | | Print out more useful info in ant.Paul Phillips2011-12-091-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decided to stop guessing at what ant was doing. % ant -Dscalac.args="-Xcheckinit" init init: [echo] build time: 9 December 2011, 21:47:22 [echo] java version: Java HotSpot(TM) 64-Bit Server VM 1.6.0_29 [echo] java args: -Xms1536M -Xmx1536M -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC [echo] javac args: [echo] scalac args: -Xcheckinit [echo] build number: 2.10.0.dev-1340-ga890d60
* | | Ensure sha files don't go to productionJosh Suereth2011-12-081-1/+3
| |/ |/| | | | | | | | | | | | | | | | | This commit filters out the sha files that have been going into the docs area of a distribution. Really, I think examples might belong in a separate project moreso than in the distro, but for now just preventing the build information from leaking into the distro is helpful. Review by: @soundrabbit
* | Use git-describe to create build string.Paul Phillips2011-12-041-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Created dev tag which is the merge-base of master and 2.9.1 (merge-base is the last common commit), and told ant to generate build strings based on that. So distributions look like scala-2.10.0.dev-1289-gbba3918 Where the 1289 means you are 1289 commits ahead of "dev" and the last segment (minus the g) is the sha-1 hash. This no doubt breaks windows even further. Help getting it back on its feet greatly appreciated.
* | Enabled continuations plugin by default.Paul Phillips2011-12-041-3/+3
| | | | | | | | | | | | We're not buying anything with it off by default. Added a -P:continuations:disable option to disable. -P:continuations:enable lives on as a no-op. Review by @odersky.
* | Tweaking ant bootstrap download.Paul Phillips2011-12-021-2/+2
| |
* | Have ant auto-download the bootstrap libraries.Paul Phillips2011-12-021-3/+11
| | | | | | | | This probably doesn't work on windows, help appreciated.
* | Add pull-binary-libs.sh warning.Josh Suereth2011-12-021-0/+2
| | | | | | | | | | Added better warning message if you've forgotten to run pull-binary-libs.sh after initial checkout.
* | Fix for build.xml classpaths.Paul Phillips2011-11-291-5/+10
| | | | | | | | | | | | | | | | Found the cause of plugin build failures which have long haunted me at inopportune times. It's all built against locker instead of quick. Kind of a buzzkill to be fixing this during the "Ant End Times" but better now than never.
* | added support for ant tests to partestmichelou2011-11-271-0/+14
| |
* | Enabling the use of 'compilerarg' with 'scalacf...Stefan Zeiger2011-11-231-6/+2
| | | | | | | | | | | | | | | | | | Enabling the use of 'compilerarg' with 'scalacfork' task in the build process. 'compilerarg' was added in r26030 and pushed into starr with r26055. No review.
* | Make partest work with spaces in the path (from...Stefan Zeiger2011-11-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make partest work with spaces in the path (from batch script and ant task). - The 'partest' ant task gets a new 'compilerargs' element for scalac - options (like in scalacfork and javac). Fixed argument list handling - in partest task. Further improvements to argument list handling for - all ant tasks. Fixed argument list handling in DirectTest (used by - partest shell scripts) Fixed path handling in several test cases. Closes SI-622. Review by phaller.
* | Enable the use of spaces in paths for the Scala...Stefan Zeiger2011-11-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the use of spaces in paths for the Scala build on Windows -- take 2. (The original commit in r26026, reverted in r26027, used the new compilerargs element in the Scala build -- we cannot do this until it's in starr.) - Revert r25995 which was fixing it only partly and in the wrong place. - Properly encode argument files for scalac in scalac ant task. - Allow 'compilerarg' elements in scalac ant task (like in ant's built-in javac task) to allow passing extra parameters like plugindir path with proper encoding of spaces and file names. - Fix space handling in get-scala-revision.bat. Closes SI-3047.
* | Revert "Enable the use of spaces in paths for t...Paul Phillips2011-11-181-6/+2
| | | | | | | | | | | | | | | | | | | | | | Revert "Enable the use of spaces in paths for the Scala build on Windows." This reverts the previous commit due to failure to build: BUILD FAILED /scratch/trunk1/build.xml:639: scalacfork doesn't support the nested "compilerarg" element.
* | Enable the use of spaces in paths for the Scala...Paul Phillips2011-11-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the use of spaces in paths for the Scala build on Windows. Revert r25995 which was fixing it only partly and in the wrong place. Properly encode argument files for scalac in scalac ant task. Allow 'compilerarg' elements in scalac ant task (like in ant's built-in javac task) to allow passing extra parameters like plugindir path with proper encoding of spaces and file names, and use it in the Scala build. Fix space handling in get-scala-revision.bat. (Patch by Stefan Zeiger.) Closes SI-3047.
* | ScalaClassLoader changes.Paul Phillips2011-11-031-5/+3
| | | | | | | | | | Lots of fiddling in the interests of a better classloading future.
* | Add some basic tests for Scaladoc.Kato Kazuyoshi2011-10-041-2/+3
| |
* | fixed svn props and scaladoc tags, did some cle...michelou2011-09-201-9/+9
| | | | | | | | | | fixed svn props and scaladoc tags, did some cleanup
* | Fixes build issue involving missing rootdoc.txt...Heather Miller2011-09-171-0/+1
| | | | | | | | | | | | Fixes build issue involving missing rootdoc.txt in strap build. No review.
* | Adds ability to document root package, as well ...Heather Miller2011-09-171-1/+3
| | | | | | | | | | | | | | Adds ability to document root package, as well the first cut of an introduction to the API. Contributed by Iain McGinniss during the September doc spree.
* | Removed leading tabs in build.xmlmichelou2011-09-171-6/+6
| |
* | Get svn revision on Windowsmichelou2011-09-171-2/+3
| |
* | updated scaladoc comments, did some cleanupmichelou2011-09-131-1/+2
| |
* | Fixing the optimized build.Paul Phillips2011-09-101-2/+2
| | | | | | | | | | | | Continuations suddenly needs fjbg.jar on its classpath due to transitive dependency, no review.
* | Added footer command line option to ScalaDoc so...Heather Miller2011-09-071-0/+1
| | | | | | | | | | | | | | | | Added footer command line option to ScalaDoc so ScalaDoc users aren't forced to have the EPFL/Typesafe copyright notice in their API docs. Now comes with the ability for users to add their own footer. Review by ureche.
* | Added extraneous test where classes are verifie...Josh Suereth2011-08-291-0/+4
| | | | | | | | | | | | | | Added extraneous test where classes are verified by loading them in non-boot classloaders one at a time. These are not wired into the standard workflow, but available optionally. Review by rytz
* | [scaladoc] Improve visual design and layout of ...Donna Malayeri2011-04-111-1/+3
| | | | | | | | | | | | [scaladoc] Improve visual design and layout of Scaladoc, using contributions from Heather Miller. No review.
* | Deleted SourcelessComments.Paul Phillips2011-04-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Nothing and Null with improved documentation of their particulars and convinced scaladoc to parse them without leaving scalac institutionalized. Now rather than seeing our hardcoded documentation strings bitrot in a shadowy flight from classes which do not exist, we are championing the cause of the innocent and powerless. Nothing and Null aren't above the law! So now any responsible party can fire up their text editor and go to town on Nothing.scala. As I'm sure they will. Review by malayeri.
* | Removed some bitrotted ant directives which wer...Paul Phillips2011-03-281-4/+0
| | | | | | | | | | | | | | Removed some bitrotted ant directives which were keeping us from getting Manifest docs. Thanks to dmharrah. Also removed RichUnit, fare thee well. Closes #4404, no review.
* | [scaladoc] Add HtmlFactoryTest and reorganize d...Kato Kazuyoshi2011-03-211-2/+2
| | | | | | | | | | | | [scaladoc] Add HtmlFactoryTest and reorganize directory structure. Reviewed by pedrofurla.
* | Added presentation compiler tests.Iulian Dragos2011-01-241-2/+5
| |
* | Updated copyright notices to 2011Antonio Cunei2011-01-201-1/+1
| |
* | Added specialized test to ant build, and ported...Aleksandar Pokopec2011-01-171-1/+3
| | | | | | | | | | | | | | | | Added specialized test to ant build, and ported old specialized 'run' tests to check the number of boxings. No review.
* | Adapted specialization tests to track number of...Aleksandar Pokopec2011-01-171-0/+1
| | | | | | | | | | | | | | Adapted specialization tests to track number of boxings. Review by dragos
* | Moved the painful-in-ant git/svn revision getti...Paul Phillips2010-11-261-21/+4
| | | | | | | | | | | | | | | | | | Moved the painful-in-ant git/svn revision getting logic into bash where it's at least somewhat less painful. Made it more flexible for easy use in more places since we presently have all kinds of revision figuring logic variations in other build files (sbaz, installer, scala-documentation, scala-tool-support, etc.) No review.
* | Some profiling infrastructure.Paul Phillips2010-11-161-7/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I avoided creating any dependency on yourkit. In addition, there was no way to give arguments to the JVM without losing the ones defined in ANT_OPTS, which has been a massive pain for a while. So there is now "jvm.opts" which is simply appended to ANT_OPTS, e.g. % ant -Djvm.opts=-verbose [echo] Forking with JVM opts: -Xms1536M -Xmx2g -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC -verbose There is a minimal stub defining a profiler interface: scala.tools.util.Profiling Then the yourkit wrapper implements that interface. Once your locker has been rebuilt once, you can do this: ant yourkit.run And it will build quick.lib/comp with profiling enabled, assuming it can find the necessary files. See the yourkit.init target for values to change: or ant -Dyourkit.home=/path/to/it might be enough. Review by dragos.