You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Gmail <el...@gmail.com> on 2010/12/01 14:41:54 UTC
Re: Using the Compiler API in Java.
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 <re...@trialox.org> 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 <pe...@edgeci.com> 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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org