[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Content types with 'multiple' extensions

Hi,

I originally posted this in the webtools group, but they suggested I try here.

I'm using Ganymede, on Fedora Core 9, 64 bit.

I was just trying to edit a file using the XML editor, the file does not end .xml or any of the other xml content types that are listed by default. The dialog that came up told me to add the content type for this file, so I did. I added "*.jnlp.in" under xml and I also added *.jnlp while I was there.

I went back to the file, and tried again. It still wouldn't open, same exact message comes up. If I rename the file to end with just .jnlp, it works fine and opens up in the XML editor. If I add Test.jnlp.in (the full name of the file) to the content types, tried again, and it opened right up. I just cannot have a 'complex' file extension it seems.

So, I guess my question is: is there a way to get this to work? Alternatively, is there any way to simply turn off content type checking? I mean, does the XML editor really care what the extension of my file is so long as it can be parsed as XML? I don't mind having to go to a file and say "Open with XML editor" each time, if it will actually work.

Thanks a bunch,
Eugene