cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <>
Subject Re: eclipse plugin for modeler
Date Wed, 03 Mar 2010 17:07:22 GMT
As I said, you can go into the file assocations section and map
cayenne.xml to the plugin by default.
And you can add an association for *.cayenne.xml as well.

There's no need to change the .xml ending.

I have not looked at the plugin, but I would expect you could do all
of this without changing any plugin code.

On Wed, Mar 3, 2010 at 12:01 PM, Andrus Adamchik <> wrote:
> We have this flexibility in 3.1. We've already renamed cayenne.xml to
> cayenne-domainname.xml, so the user perceptions are going to be affected
> anyways. We will also need an extension for DataMap files then (and luckily
> there's no more .node.xml in 3.1).
> Still some considerations against it:
> * those files are plain XML (this is not a new file format), and it would be
> nice for generic XML editors (and users) to recognize them as such.
> * .cayenne looks long. ideally a 2-3 letter extension should be used, and
> most of those are taken, so there is a chance of confusion with some other
> file formats.
> * web.xml and pom.xml are easily recognized by the corresponding Eclipse
> plugins. So it is not impossible for Cayenne files to be recognized by the
> plugin. After all we have a clear naming pattern: cayenne-[^\.]+\.xml and
> ^.+\.map\.xml
> Andrus
> On Mar 3, 2010, at 11:44 AM, Michael Gentry wrote:
>> On Wed, Mar 3, 2010 at 11:40 AM, Khailenko Ksenia
>> <> wrote:
>>>> (1) Can we have menu item Open With -> Cayenne Modeler so that user
>>>> wouldn't
>>>> have to choose "Other..." dialog every time?
>>> I've tried to do this but there is a problem that by default it's
>>> possible
>>> to add a restriction to the extension of the file opening by editor
>>> plugin.
>>> But sure, there should be solution for that and I intend to find it.
>> That's part of the reason why I wanted to start storing the model
>> using a .cayenne extension ...
>> mrg

View raw message