|
|
Re: Exchanging templates for generation from GenModel [message #425214 is a reply to message #425211] |
Wed, 19 November 2008 17:26 |
Steffen Zschaler Messages: 266 Registered: July 2009 |
Senior Member |
|
|
Hi,
Thanks for this idea. However, I've already tried it and it seems not to
work.
Regards,
Steffen
Ed Merks wrote:
> Steffen,
>
> Comments below.
>
> Steffen Zschaler wrote:
>> Hi,
>>
>> I need to tweak model code generation from a GenModel a little. In
>> general, it will stay the same, but some method implementations will
>> need to be enhanced a bit. From the EMF book I learn that GenModel's
>> templateDirectory property allows me to specify a directory with
>> templates to override the original templates. However, the path
>> specified must be relative to the workspace. Is there also a
>> possibility where the template could reside in an installed plugin
>> rather than in the workspace itself?
> I think platform:/plugin/<plugin-id>/<relative-path-in-plugin> will do
> the trick.
>>
>> Many thanks,
>>
>> Steffen
>>
--
Dr. rer. nat. Steffen Zschaler
Senior Research Associate
Lancaster University
Lancaster, United Kingdom
Email szschaler@acm.org
WWW http://www.steffen-zschaler.de/
--
Consider submitting to QoSA 2009, the 5th International Conference on
the Quality of Software-Architectures.
http://qosa.ipd.uka.de/
Consider submitting to MiSE 2009, the 3rd International Workshop on
Models in Software Engineering
http://wikiserver.sse.cs.tu-bs.de/mise09
|
|
|
Powered by
FUDForum. Page generated in 0.03612 seconds