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 <[email protected]> 
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 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 of source file contents.
> 
> Cheers,
> Reto
> 
> 1. 
> http://svn.apache.org/viewvc/incubator/clerezza/trunk/scala-scripting/script-engine/src/main/scala/org/apache/clerezza/scala/scripting/CompilerService.scala?view=markup
> On Tue, Nov 30, 2010 at 4:20 PM, peter lawrey <[email protected]> wrote:
>> 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.
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to