Bug 116107 - There should be a possability to create case sensitive source code files for PHP 4/5.
Summary: There should be a possability to create case sensitive source code files for ...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-11 02:57 UTC by Haeber
Modified: 2009-06-05 14:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haeber 2005-11-11 02:57:19 UTC
Version:           1.4.92 (using KDE 3.4.92 (beta2, >= 20051010) Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15-default

I want to create OO PHP code, for a better view of my source code files I need case sensitive source file names (equal to the class names). If I create java source files the file names are case sensitive, in PHP they are not.
There should be an option/possability in PHP 4/5 options to choose if case sensitive files should be created or not.

Best regards.
Thomas
Comment 1 Oliver Kellogg 2005-11-28 05:30:50 UTC
SVN commit 483760 by okellogg:

findFileName(): As an intermediate workaround, don't lower case the
 name if the currently active language is case sensitive.
CCBUG:116107


 M  +2 -1      simplecodegenerator.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/simplecodegenerator.cpp #483759:483760
@@ -37,6 +37,7 @@
 #include "../codedocument.h"
 #include "../operation.h"
 #include "../umldoc.h"
+#include "../uml.h"
 
 // Constructors/Destructors
 //
@@ -102,7 +103,7 @@
         name = concept->getFullyQualifiedName("-");
     }
 
-    if (ext != ".idl" && ext != ".java" && ext != ".pm" && ext != ".py") {
+    if (! UMLApp::app()->activeLanguageIsCaseSensitive()) {
         package = package.lower();
         name = name.lower();
     }
Comment 2 Alexander Opitz 2009-02-01 17:43:26 UTC
It seems that this bug is already fixed. I get case sensitive file names.
Comment 3 Milian Wolff 2009-06-05 14:38:19 UTC
Closing as it seems to be fixed.