I like the idea of an ENV and I *really* like the idea of invocation-point selection (buildr myproject:shell:jirb). How can this be done? I know how to declare a task relevant to a project, but how do I setup the :jirb subtask?
Daniel On Mon, Jan 5, 2009 at 4:00 PM, Alex Boisvert <[email protected]> wrote: > On Mon, Jan 5, 2009 at 1:44 PM, Daniel Spiewak <[email protected]> > wrote: > > > The Scala shell *is* basically done. It's missing JavaRebel support, > which > > is kind-of a minor thing (incidentally, how should options like this be > > passed to tasks?). > > > I think this is a good candidate for an environment variable. > (which can also be set via the buildr command-line) > > It also spawns a sub-process, rather than running in the > > existing JVM. I'm actually not sure that this is a bad idea, although it > > does impose slightly more overhead. > > > I don't think this is a bad idea. It might also be necessary for irb + > rjb. > > Another thought: coming back to the generic framework, perhaps the shell > > launched should be configurable? It could default to whatever shell was > > associated with the compile.language, but the user could also override in > > the project definition to choose a different shell provider. For > example, > > I > > use jirb a lot with Java projects (scala too come to think of it). > > > I would like that as well (smart default, project override) and even > command-line selection, e.g. > > buildr myproject:shell:jirb > > alex >
