| Summary: | [EditorMgmt] File Associations don't work with multiple dots | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Greg Martyn <greg.martyn> |
| Component: | IDE | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED DUPLICATE | QA Contact: | Remy Suen <remy.suen> |
| Severity: | normal | ||
| Priority: | P3 | CC: | chris.ingham, dvdgsng |
| Version: | 4.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Greg Martyn
Same issue here - I'd like to associate *.hbm.xml files with the Hibernate 3.0 XML Editor. When I got no love from Preferences...File Associations, I tried exporting and re-importing a preferences file, where I hand-edited both the extension and name attributes in the (truncated) following line: /instance/org.eclipse.ui.workbench/resourcetypes=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<editors version\="3.1">[...]\r\n<info extension\="hbm.xml" name\="*">\r\n<editor id\="org.jboss.tools.hibernate.ui.xml.editor.Hibernate3CompoundEditor"/>\r\n<defaultEditor id\="org.jboss.tools.hibernate.ui.xml.editor.Hibernate3CompoundEditor"/>\r\n</info>\r\n[...]</editors> I tried the following attribute value combinations: extension\="xml" name\="*hbm" extension\="xml" name\="*.hbm" extension\="hbm.xml" name\="*" With this I was able to get entries to show up in the Preferences dialog, but not actually work. Bug 168573 (VERY old :( ) is a duplicate of this bug, and Bug 142426 is strongly related (and also demonstrated above). *** This bug has been marked as a duplicate of bug 168573 *** |