Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Using GenModel Redirection Pattern to change a single filename(e.g. CHange plugin.xml to my_plugins.xml)
Using GenModel Redirection Pattern to change a single filename [message #698914] Wed, 20 July 2011 13:14 Go to next message
Rob Mising name is currently offline Rob Mising nameFriend
Messages: 118
Registered: July 2010
Senior Member
Hi,

I have been looking into the genModel property "Redirection Pattern", from what I have read you can use "my_{0}" in this field to prefix all the files with my_.

I was wondering, is there a way to use this property to only change a single file. For example if I wanted all the files as they are normally generated, except I wanted plugin.xml change to have the name my_plugin.xml

Any suggestions and help would be grately appreciated.

Thanks

Rob
Re: Using GenModel Redirection Pattern to change a single filename [message #698945 is a reply to message #698914] Wed, 20 July 2011 14:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Rob,

Comments below.

On 20/07/2011 6:15 AM, Rob wrote:
> Hi,
>
> I have been looking into the genModel property "Redirection Pattern",
> from what I have read you can use "my_{0}" in this field to prefix all
> the files with my_.
Yes.
>
> I was wondering, is there a way to use this property to only change a
> single file.
No.
> For example if I wanted all the files as they are normally generated,
> except I wanted plugin.xml change to have the name my_plugin.xml
>
> Any suggestions and help would be grately appreciated.
There's nothing built-in to support that kind of thing.
>
> Thanks
>
> Rob
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Using GenModel Redirection Pattern to change a single filename [message #698947 is a reply to message #698945] Wed, 20 July 2011 14:33 Go to previous message
Rob Mising name is currently offline Rob Mising nameFriend
Messages: 118
Registered: July 2010
Senior Member
Thanks for the clarification Ed.

Rob
Previous Topic:[CDO] and the EMF commands.
Next Topic:How to use an external editor to edit attributes of type EString
Goto Forum:
  


Current Time: Fri Apr 19 16:37:28 GMT 2024

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

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

Back to the top