The scripts that can be compiled in advance :-
* If they are compiled - they can be run from java as normal classes with groovy jar on classpath.
* If they are not compiled - then you can run them embedded in java code. See here:
http://groovy.codehaus.org/Embedding+Groovy
-- Roshan
On Wed, Nov 4, 2009 at 10:58 PM, Skeptic .
<skeptic2000@...> wrote:
Hi,
Let say I have some scripts that can be compiled in advance (no need to update them at runtime), how I should run them from Java code ?
Thanks for help.
Tirez parti d'une offre Windows 7 exceptionnelle, et voyez comment il fonctionne exactement comme vous le voulez.
Découvrez maintenant les offres associées à Windows 7.