Bug 17564

Summary: Register java file types with the team plugin
Product: [Eclipse Project] JDT Reporter: Erich Gamma <erich_gamma>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 F2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 15384    

Description Erich Gamma CLA 2002-05-24 04:17:36 EDT
JDT core should register the Java related file types with core so that they are 
properly released either as text or binary. This should be done in CORE since 
it also has to work headless. Doing so requires adding a pre-req to the team 
plugin org.eclipse.team.core. However, this is OK since conceptually the team 
plugin is part of the platform CORE.

The following file types should be registered:
.java  text
.class binary
.classpath text
.jar binary
.properties text
???

The registration is done in XML:
<extension point="org.eclipse.team.core.fileTypes">
  <fileTypes extension="txt" type="text"/>
  <fileTypes extension="java" type="text"/>
  <fileTypes extension="properties" type="text"/>
  <fileTypes extension="xml" type="text"/>
  <fileTypes extension="html" type="text"/>
  <fileTypes extension="jpg" type="binary"/>
  <fileTypes extension="gif" type="binary"/>
  <fileTypes extension="ico" type="binary"/>
  <fileTypes extension="bmp" type="binary"/>
  <fileTypes extension="tif" type="binary"/>
  <fileTypes extension="doc" type="binary"/>
  <fileTypes extension="xls" type="binary"/>
  <fileTypes extension="ppt" type="binary"/>
  <fileTypes extension="zip" type="binary"/>
  <fileTypes extension="exe" type="binary"/>
</extension>
Comment 1 Philipe Mulet CLA 2002-05-24 13:17:14 EDT
Fixed.
Comment 2 Olivier Thomann CLA 2002-06-03 13:43:59 EDT
Verified. The plugins.zml file contains the proper declaration.
Comment 3 Olivier Thomann CLA 2002-06-03 13:44:09 EDT
Verified.