Interesting . . .  thanks for the link.

jenesis is kinda what I am doing (although I don't have as intricate
and detailed a Language model as you have.)

Thanks.

On 2/13/02 1:11 PM, "Paul Cody" <[EMAIL PROTECTED]> wrote:

>> 
>> On Wednesday 13 February 2002 18:49, you wrote:
>>> Thanks for the quick response  . . . but no ;-)
>>> 
>>> I want to accomplish this in Java by calling the Ant API.
>>> 
>>> I need to dynamically:
>>>   - generate source code
>>>   - compile what was generated
>>>   - classload it
>>>   - execute it
>>> 
>>> And I need to do all this as part of a larger application.
>>> 
>>> How's THAT for fun ?
>>> 
> 
> FYI:  I wrote a tool called 'jenesis' [ http://www.inxar.org/jenesis ] that
> is used to generate sourcecode.  You can use it to do the emit, compile, and
> reflect steps within a running application.
> 
> As for using ant within your application, here's what I do:
> 
> File buildFile = ...
> Project project = new Project();
> project.addBuildListener(new Log4JListener());
> project.init();
> project.setUserProperty("ant.file", buildFile.getAbsolutePath());
> ProjectHelper.configureProject(project, buildFile);
> project.executeTarget("compile");
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to