« Return to Thread: [scala-tools] Plugins

Re: [scala-tools] Plugins

by bearfeeder :: Rate this Message:

Reply to Author | View in Thread

An example would be great... and how do you specify the plugin from maven?

My plugin will initially enforce json serializability, then I'll add serializers automagically and if that works, I'll emit javascript that reflects the scala defined methods (scala to javascript conversion for a subset of the scala language.)

On Jun 8, 2009 5:56 PM, "Josh Suereth" <joshua.suereth@...> wrote:

I remember running into an issue where StdPhase was not visible from the package I was using.  I simple extended Phase (has the same constructor as StdPhase), and kept moving along.

If you want an example of creating/testing a scalac plugin (using maven), check out: http://github.com/jsuereth/osgi-scalac-plugin/tree/master

I hope to finalize that project if/when I start using OSGi in production again.

-Josh

On Mon, Jun 8, 2009 at 7:06 PM, David Pollak <feeder.of.the.bears@...> wrote: > > > > On Mon...

 « Return to Thread: [scala-tools] Plugins