[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.lepido] Re: File extensions
|
Stavros Kounis wrote:
Hi all
Should we start a discussion about file extensions?
For the moment I have cforms in my mind. Considering that we will have an
IDE soon (I hope so) it will be cleaner for cforms to have an extensions
.cfml (Cocoon Form Markup Language) for example. It will be more ease to do
file associations.
Except cforms I think that we have to find the files that will be visually
edited in lepido and decide if we need a file extension for each and of
course choose one
WDYT?
This is an important point. However I'm not sure we should think in
terms of file extensions, but rather in terms of content-types.
Eclipse 3.1 provides an extended support for file and content
association, allowing the introspection of the file contents to
determine what a file exactly contains. Search "mime-type" in the
Eclipse help to read more about this. There's even a "describer" (the
introspector) for XML files that defines the content-type according to
either the DTD or the root element name.
So far the file types for visual editors that come to mind are :
- *.xconf (component definitions)
- logkit.xconf
- *.xmap
- form definitions
- form bindings
- portal files
- i18n dictionaries
Other ones that I forgot?
Sylvain
--
Sylvain Wallez Anyware Technologies
http://apache.org/~sylvain http://anyware-tech.com
Apache Software Foundation Member Research & Technology Director