Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[xtext-dev] Case-Sensitive Filenames

Hi all,

while using the latest xtext build (thanks, Dennis) I encountered a weird problem that can be boiled down to case-sensitive handling of filenames.

e.g. the
org/eclipse/xtext/ui/generator/standardUiAndRuntime.mwe referst to a file named
org/eclipse/xtext/generator/standardRuntimeFragments.mwe

but inside the provided Jar resides a file called *S*andardRuntimeFragments.mwe.

During our development cycles we are not working with the Jars but are using the files from the files system directly. And since most of us if not all work with case-insensitive files systems this error has not yet been detected.

Even though I would prefer a way to detect such errors I do not have a proper solution for this at the moment. Therefore, I would rather try to avoid such errors by using naming conventions. That means: We either write non-java-files such as Workflow, Check, Xpand, Xtend etc. with a capital or a small letter at the beginning.

Since our Java files start with a capital and Windows users might have problems to produce files names starting with a lowercase I am suggesting to use uppercase letters.

I will than open a bug that describes to error from above as well as an action to rename and edit the current files.


Any comments?

--
Heiko Behrens
Software Architect

phone	: +49 (0) 431 / 5606-338
mobile	: +49 (0) 151/108 604 78
fax		: +49 (0) 431 / 5606-339

web: http://www.itemis.de
blog: http://www.1160pm.net
mail: heiko.behrens@xxxxxxxxx
xing: https://www.xing.com/profile/Heiko_Behrens

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:

Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus



Back to the top