Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF Ant Task Model Plug-in Class
EMF Ant Task Model Plug-in Class [message #431691] Tue, 21 July 2009 16:56 Go to next message
John T.E. Timm is currently offline John T.E. TimmFriend
Messages: 160
Registered: July 2009
Senior Member
Is there a way to specify the model plug-in class as a parameter to the
EMF model importer ant tasks?

Thanks,

JT
Re: EMF Ant Task Model Plug-in Class [message #431692 is a reply to message #431691] Tue, 21 July 2009 17:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30687
Registered: July 2009
Senior Member
John,

No. It's best to create a GenModel and configure it with the IDE, and
then use it in an Ant task.


John T.E. Timm wrote:
> Is there a way to specify the model plug-in class as a parameter to
> the EMF model importer ant tasks?
>
> Thanks,
>
> JT
>
Re: EMF Ant Task Model Plug-in Class [message #431751 is a reply to message #431692] Thu, 23 July 2009 16:36 Go to previous message
John T.E. Timm is currently offline John T.E. TimmFriend
Messages: 160
Registered: July 2009
Senior Member
Ed,

I suppose another possibility might be a two-pass solution:

1. Generate initial GenModel using Ant task
2. Call custom ant task that programmatically "adjusts" GenModel with
Model Plug-In class parameter.
3. Regenerate Java source code with modified GenModel

Thanks,

JT

Ed Merks wrote:

> John,

> No. It's best to create a GenModel and configure it with the IDE, and
> then use it in an Ant task.


> John T.E. Timm wrote:
>> Is there a way to specify the model plug-in class as a parameter to
>> the EMF model importer ant tasks?
>>
>> Thanks,
>>
>> JT
>>
Previous Topic:[JET] Enhancement: public void generate(PrintStream stream, Object argument)
Next Topic:Ideas for Traceability
Goto Forum:
  


Current Time: Mon Dec 09 23:05:50 GMT 2019

Powered by FUDForum. Page generated in 0.02100 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top