Re: Using the Compiler API in Java.

2010-12-01 Thread Gmail
Hi I used Janino Compiler to generate code on the fly. It works fine :) Regards, Charbel On Nov 30, 2010, at 17:26, Reto Bachmann-Gmuer wrote: > I've recently façaded the scala compiler as a service[1], I guess the > scala compiler api is quite different, but if you manage to do > something an

Re: Using the Compiler API in Java.

2010-11-30 Thread Reto Bachmann-Gmuer
I've recently façaded the scala compiler as a service[1], I guess the scala compiler api is quite different, but if you manage to do something analogous for java this would be a welcome contribution to clerezza. The basic feature of the service it that it returns an array of Classes from an array

Using the Compiler API in Java.

2010-11-30 Thread peter lawrey
Hello, Has anyone using the Java Compiler API from OSGi? I have it working from outside a container, but adapting it to OSGi appears to be non-trivial. Has anyone tried this? Regards, Peter.