- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
FWIW: Request for a scripting-style compilation option
Here's a request for the Scala team; put an option into scalac/fsc
that will recursively recompile dependencies, in the same way that
Python and Ruby automatically recompile source file dependencies (when
the source file is available, of course).
I have a personal reason for asking this; neither the NetBeans nor
Eclipse plugins function properly on my system (don't ask me why), so
I don't have an automated build/run system. I do my builds and runs on
the command line. More generally, I think such an option would give
people the ability to use their editor of choice (TextMate, Emacs,
etc.) without also worrying about the build system.
IMHO, scripting languages have succeeded so well because they made
things easier, and at least allowing for an automatic recursive build
process, without the need for build files, would only be a plus for
Scala.
Cheers,
Ken










Re: FWIW: Request for a scripting-style compilation option
http://github.com/jsuereth/scalac-dependency-plugin/tree
There's also http://code.google.com/p/simple-build-tool/ which offers a slightly more comprehensive range of build related tasks.
On Sat, Jan 24, 2009 at 3:03 AM, Kenneth McDonald <kenneth [dot] m [dot] mcdonald [at] sbcglobal [dot] net> wrote:
Re: FWIW: Request for a scripting-style compilation option
find src -name \*.scala | xargs scalac -d build &&
scala -classpath build mcdonald.kenneth.Main
Stick that in a build.sh, and set makeprg in vim to it, or compile-command in emacs.
If you want TextMate instructions, send me a Mac.
donald [at] sbcglobal [dot] net>
Re: FWIW: Request for a scripting-style compilation option
Hello ken!
I've read about your problems. I got myself a macbook(intel) and scala runs
fine on eclipse and even better on netbeans. So this is my offer to you for
solving your problems.
Please give some details like: what OS version do you use. Is your hardware
PPC or x86?
I think we can work it out :)