Bug 59084 - [content type] ensure content types/file associations are contributed by the right plugins
Summary: [content type] ensure content types/file associations are contributed by the ...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-19 11:38 EDT by Rafael Chaves CLA
Modified: 2004-05-18 14:02 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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