Bug 17564 - Register java file types with the team plugin
Summary: Register java file types with the team plugin
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 critical (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 15384
  Show dependency tree
 
Reported: 2002-05-24 04:17 EDT by Erich Gamma CLA
Modified: 2002-06-03 13:44 EDT (History)
0 users

See Also:


Attachments

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