|
Re: EMF Compare : contentType for .xml extension [message #539098 is a reply to message #539050] |
Wed, 09 June 2010 15:17 |
|
This is a multi-part message in MIME format.
--------------030606040204070902000904
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi Christophe,
We've never been faced with this kind of filename patterns before ...
yet it should work as it is allowed by Eclipse (Window => Preferences =>
General => content-types => you can add the pattern "*.hbm.xml" in there).
I believe you should be able to use something like this instead :
<extension point="org.eclipse.core.contenttype.contentTypes">
<file-association
content-type="org.eclipse.emf.compare.ui.contenttype.ModelContentType "
file-extensions=".hbm.xml"
file-names="*"/>
</extension>
Would that do the trick?
Laurent Goubet
Obeo
Christophe Bouhier wrote:
> Hi,
>
> I follow the EMF compare instructions to allow my resource to be
> associated with the EMF Compare contenttype.
>
>
> <extension
> point="org.eclipse.core.contenttype.contentTypes">
> <file-association
>
> content-type="org.eclipse.emf.compare.ui.contenttype.ModelContentType "
> file-extensions="xml"
> file-names="*.hbm"/>
> </extension>
>
>
> My resource filename pattern is *.hbm.xml. This it seems is however not
> picked-up by the platform as I don't see this definition in the EMF
> Compare preferences.
>
> Any ideas, how to make EMF Compare recognize my resources?
>
> thanks Christophe
>
>
--------------030606040204070902000904
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
begin:vcard
fn:Laurent Goubet
n:Goubet;Laurent
org:<a href="http://www.obeo.fr">Obeo</a>
email;internet:laurent.goubet@obeo.fr
url:http://www.obeo.fr
version:2.1
end:vcard
--------------030606040204070902000904--
|
|
|
Powered by
FUDForum. Page generated in 0.02413 seconds