Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to add dependencies ot the .JETEmitters project
How to add dependencies ot the .JETEmitters project [message #721239] Thu, 01 September 2011 08:56 Go to next message
Arthur Daussy is currently offline Arthur DaussyFriend
Messages: 30
Registered: September 2011
Member
Hello,



I currently work on project in which I use dynamics templates to generate custom model sources. However I would like to know if it was possible to add dependencies in the .JETEmitters project in order to use some custom Helper Classes in my templates. I would like to be able to configure it once so for any future generation the .JETEmitters project would be configured well (even if the project was deleted).



Thanks for any help you would be able to give me.





Arthur,
Re: How to add dependencies ot the .JETEmitters project [message #721372 is a reply to message #721239] Thu, 01 September 2011 15:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Arthur,

You can do this via the Template Plugin Variables; the dependencies must
be in the form of bundle IDs...


On 01/09/2011 1:56 AM, Arthur Daussy wrote:
> Hello,
>
>
>
> I currently work on project in which I use dynamics templates to
> generate custom model sources. However I would like to know if it was
> possible to add dependencies in the .JETEmitters project in order to
> use some custom Helper Classes in my templates. I would like to be
> able to configure it once so for any future generation the
> .JETEmitters project would be configured well (even if the project was
> deleted).
>
>
>
> Thanks for any help you would be able to give me.
>
>
>
>
>
> Arthur,
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to add dependencies ot the .JETEmitters project [message #721594 is a reply to message #721372] Fri, 02 September 2011 08:49 Go to previous messageGo to next message
Arthur Daussy is currently offline Arthur DaussyFriend
Messages: 30
Registered: September 2011
Member
Hello,
Thanks a lot for this answer it worked perfectly find. But if I may I have another question about EMF generation. I would like to know if there is a way to include in my EMF custom templates some of the JET2 tag like (%@taglib prefix="c" id="org.eclipse.emf.jet2.controlTags" %). I try but it seems that it doesn't work. It could be a precious asset for me.

Thanks for any help you could give me.

Arthur,
Re: How to add dependencies ot the .JETEmitters project [message #721694 is a reply to message #721594] Fri, 02 September 2011 15:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Arthur,

No, EMF's generator relies on JET1 so no special tags are supported.
You'll have to express anything you need in Java.


On 02/09/2011 1:49 AM, Arthur Daussy wrote:
> Hello,
> Thanks a lot for this answer it worked perfectly find. But if I may I
> have another question about EMF generation. I would like to know if
> there is a way to include in my EMF custom templates some of the JET2
> tag like (%@taglib prefix="c" id="org.eclipse.emf.jet2.controlTags"
> %). I try but it seems that it doesn't work. It could be a precious
> asset for me.
>
> Thanks for any help you could give me.
>
> Arthur,
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] API for browsing
Next Topic:[CDO] Branches created in an offline clone
Goto Forum:
  


Current Time: Sat Apr 27 05:06:06 GMT 2024

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

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

Back to the top