[
https://issues.jboss.org/browse/TEIIDDES-1857?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-1857:
----------------------------------------
One of the drivers for this is the fact there in Eclipse there is NO thought about
transporting files and projects between OS's/file systems. We continually get logged
bugs due to differences in what Windows/MAC/Linux allow. We do try to utilize standard
File/OS utilities and URL/URI transformations.
Another way to tackle this is to develop a front-end validator that can do a better job of
preventing (or warning) users from creating file names (and possibly paths) that will NOT
be transportable.
Create and implement a cross-platform file name validator
---------------------------------------------------------
Key: TEIIDDES-1857
URL:
https://issues.jboss.org/browse/TEIIDDES-1857
Project: Teiid Designer
Issue Type: Enhancement
Components: Validation
Affects Versions: 8.2
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 8.2.x-prod-eds6.0
Currently, Teiid Designer allows creating models with pretty much and character in it
besides ".".
Unfortunatelly, a LOT of special characters are not valid on some OS's like Windows,
so opening a project containing invalid Windows file names in Eclipse will probably cause
issues.
Need to create a utility class/framework that can perform name validation across
OS's.
Teiid has reserved model names: _TEMP_, SYS, or SYSADMIN
For Windows chars and reserved words:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.8...
For more comprehensive list and links:
http://en.wikipedia.org/wiki/Filename
Other potential features:
* setNoSpaces(boolean)
* ignoredSystems(WINDOWS, OSX) (i.e. turn off one or more OS types)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira