anuragraghavan / franca

Automatically exported from code.google.com/p/franca
0 stars 0 forks source link

Franca files with capital letters in suffix cannot be processed #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If a Franca file is named "whatever.FIDL" with capital letters in suffix, 
neither transformations nor CommonAPI code generators work properly.
The issue seems to have its origin in Franca processing only files with lower 
case suffix ("whatever.fidl") in "FrancaIDLStandaloneSetupGenerated".

Original issue reported on code.google.com by manfred....@bmw.de on 6 Nov 2014 at 3:02

GoogleCodeExporter commented 9 years ago
I am not sure what the "usual" way to handle this is. At least it seems to be 
dependent on the operating system: On Unix-ish systems (Linux, OSX, ...) *.fidl 
and *.FIDL might be really different and should not be subsumed. In Windows, 
there probably will be no distinction between uppercase and lowercase, anyway. 

I think we can safely require Franca files to have a lowercase extension only. 
Any opinions?

Original comment by klaus.birken@gmail.com on 10 Nov 2014 at 12:23

GoogleCodeExporter commented 9 years ago
Agree that this might be a problem specific to MS Windows.
In real life we had such issue several times because people sometimes use fancy 
tools to process/create Franca files. Please consider there are some use cases 
where it is enforced to use Windows, e.g. for the Enterprise Architect UML 
transformations, while other use cases might depend on other operating systems.
This is nasty bothering people, not a MUST HAVE. Might be easy to change?

Original comment by manfred....@bmw.de on 10 Nov 2014 at 1:31