Bug 59084

Summary: [content type] ensure content types/file associations are contributed by the right plugins
Product: [Eclipse Project] JDT Reporter: Rafael Chaves <eclipse>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: andre_weinand
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rafael Chaves CLA 2004-04-19 11:38:47 EDT
Need to ensure content types/file associations are contributed by the right
plugins. Right now, we have a few of them being contributed by runtime itself
that should me moved to their respective plugins, and others should probably be
declared (plugin manifests, ant scripts, ...).
Comment 1 Rafael Chaves CLA 2004-04-22 18:26:04 EDT
Andre, could you make arrangements for this to go in JDT? I would suggest
jdt.core, since it is the most basic plugin in JDT. 

plugin.xml:

<extension point="org.eclipse.core.runtime.contentTypes">
  <!-- declares a content type for Java Properties files -->
  <content-type id="javaProperties" name="%javaPropertiesName" 
    base-type="org.eclipse.core.runtime.text"
    priority="high"				
    file-extensions="properties"
    default-charset="ISO-8859-1"/>
  <!-- Associates .classpath to the XML content type -->
  <file-association 
    content-type="org.eclipse.core.runtime.xml" 
    file-names=".classpath"/>  
</extension>

plugin.properties:

javaPropertiesName = Java Properties File
Comment 2 Andre Weinand CLA 2004-04-23 05:04:25 EDT
Moving to jdt.core.
Philippe, would it be possible to get this contribution in the next i-build?
Thanks.
Comment 3 Philipe Mulet CLA 2004-04-23 07:50:11 EDT
Released
Comment 4 Olivier Thomann CLA 2004-05-18 14:02:09 EDT
Verified in 200405180816