This page is no longer maintained — Please continue to the home page at www.scala-lang.org

2.9 Pres.Compiler -- how to tell when finished?

1 reply
Aemon Cannon
Joined: 2010-03-21,
User offline. Last seen 1 year 24 weeks ago.

Is there some way to hook into the Presentation Compiler in 2.9 to
receive notification when all compilation is finished (when outOfDate
flips to false)?

Say I want a command 'compile all' that reloads all sources and pops up
a error/warning dialog when compilation is totally done.. Doable?

In 2.8 I was overloading recompile(..). Not pretty, but it worked.

Thanks,
Aemon

Chris Twiner
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
Re: 2.9 Pres.Compiler -- how to tell when finished?

Salivating at the implication :-)

On 5 Jun 2011 09:14, "Aemon Cannon" <aemoncannon@gmail.com> wrote:

Is there some way to hook into the Presentation Compiler in 2.9 to receive notification when all compilation is finished (when outOfDate flips to false)?

Say I want a command 'compile all' that reloads all sources and pops up
a error/warning dialog when compilation is totally done.. Doable?

In 2.8 I was overloading recompile(..). Not pretty, but it worked.

Thanks,
Aemon

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland