File Name Case Sensitivity in JDeveloper
A few months back I discovered that I could not create and compile an application on our common network drive because it forced all file names to uppercase. (Gotta love VMS). JDeveloper would get a compile error on the app_name-jazn-data.xml file. We put in a TAR on the issue, which Oracle was more than able to recreate. Solution was not to use a drive that forced everything to uppercase. Since JDeveloper creates the .xml file in question, I could not modify the name of it in any code. I was able to create and compile an application on our common web application network drive though without problems. This drive forces everything to lowercase. (Gotta love Unix)
In creating ADF Business Components and a JSF JSP, I found that JDeveloper creates the file names in both upper and lower case and it adheres to this in the application. Thus I am unable to compile my .java files on our common web application network drive. I recreated the application on my C: drive without problems.
Since I do not create these files or enter anything in to create them, I currently have no control over how JDeveloper creates them.
Is there something in JDeveloper that I can modify so that all file names will be in a particular case? Or, is there somewhere the file names are stored so that they can be changed?
We really want to use JDeveloper for our development, but have some major deployment problems because of this issue.
Thanx
Pam
I am probably missing a point here, but mixed case is not a feature or bug in JDeveloper. Any other Java IDE will do the same. If you want to use ADF BC, ADF Faces, etc. you must be able to create and save files with mixed case names. Many of those files are generated by JDeveloper, and sometimes you have no control over their names
There must be something wrong with your mapped drive on the unix machine... Why istalling and developing everything on your local drive is not an option?
Sorry, may be I just don't get it
Message was edited by:
c001803
Ok, after reading this thread one more time, I probably understand the issue. You use the shared network drive for team development, right? and you want all the sources to be accessible by the team, right? If this is the case, then CVS is the answer to your problem , as mentioned in the previous post. You may want to google cvs, to learn more about team development environment, and its integration with Jdeveloper and other IDEs
Similar Messages
-
Determining file system case-sensitivity
Is there any way that isn't a hack to determine whether the specific platform that the JVM is running on uses case-sensitive file names or not?
Thanks,
Jason> Beware that the use of case-sensitive file names is not platform dependant but rather file system dependent.
I didn't know that. That's good to know. So, would you just recommend creating a temporary file in the path in question, then checking to see if it exists using the same name with different case, then deleting the temporary file?
That's what I was trying to not do... I was looking for a more solid way. But since it isn't platform dependent, is it the only way? Or is there still a better method?
Thanks,
Jason -
Copying folders & files from case-sensitive to non-case-sensitive volume
I'm trying to copy a rather large (60+ GB), folder and all its enclosed items from a volume that is has case sensitive file names to one that does not. The copy operation always stops when it comes across a duplicate file/folder name differing only in the case of some of the characters. The folders/files in question are actually not duplicates, so I would like to change the file name of the duplicate by appending anything to the filename.
The copy operation does not provide any choice but to abort the operation when it finds the first identical file or folder name differing only in case..
Any suggestions?Unfortunately, that is not a viable solution, as I am tring to convert a case sensitive volume to a non-case sensitive volume.
What I would like is a method to copy files and when a duplicate occurs it asks me what to do like rename the second duplicate. However this problem is now moot, as I painstakingly renamed each offending file/folder as each error occured, and then restarted the copy.
While the question is not answered, I am marking it as such because I am now past the problem.
Thanks for your response. -
SomeJavaClass class can store in somejavaclass.java file? case sensitive?
I have project in which class names don't coincide with file names absolutely. Difference is in case sensitivity, like Test1 class stores in test1.java file. Is it possible? Maybe it is possible in some OS? How to build the project?
Do yourself a favour and do the right thing. Get the filenames correct. Why look for trouble?
-
File System Case Sensitive - breaks Write-Once
I don't find a System property that denotes if the file system is case sensitive.
If I want a FileFilter to behave as the user is expecting - it must know if the file system that it is running on is case sensitive. For example: On a DOS system the file apple.txt should be returned with the file PEACH.TXT by a FileFilter that is accepting *.TXT files. But on a Unix system only the PEACH.TXT would be returned (case sensitive).
How would I make my FileFilter a true write-once-run-anywhere class?
What am I missing?
DavidFor a file filter,
you can get the file name and convert it to lowercase,
then compare to a lowercase extension. It's not like
that will rename the file, the file will still have
whatever name the file has. However for a FileFilter that is case sensitive - there is a difference in what a File.listFiles(new ExtensionFilter("txt")) returns. And one can not just decide that it doesn't matter.
Here's a specfic example. On a case insensitive system what is the next file in the sequence of:
File.001, File.002, File.003, file.004
Answer: fILE.005 - is valid
But on a case sensitive system if one uses a FileFilter to find all the files that match "File".* then the answer is "File.004" - ONLY ONE answer, and creating this file will not (should not) overwrite the file.004!
Seems to me one needs to match the FileFilter to the underling OS - because chances are the user is expecting OS file system naming conventions. If the user doesn't know what file system (and can't know - like on a web server app) then the system better be smart enough to not mess up and clober files.
So it appears to me that a programmer needs to be able to ask the System what it's file system convention is. And sure I could guess based on some other properties (System.os.name or as Sun did based on file.separator) - but I was hopeful that I didn't need to GUESS. -
Copying Files from Case-Sensitive External to Non-Case-Sensitive Internal?
+(Sorry if this is the wrong sub-forum, I didn't know which one this question fit in)+
I just got a new iMac today and I'm trying to transfer some of my old files (specifically iTunes & iPhoto). My old computer was an MBP & only had an 80 GB HD, so these files were run off an external drive.
I know basically how to copy these files onto my new computer. The problem is that my external drive is formatted as Mac OS Extended (Case-Sensitive, Journaled). So when I try to copy the iTunes or iPhoto folder, I get the following message:
+You can’t copy “iTunes” because it has the same name as another item on the destination volume, and that volume doesn’t distinguish between upper- and lowercase letters in filenames.+
The only option I know of is to reformat my iMac's drive as Mac OS Extended (Case-Sensitive, Journaled). Since Macs ship with the drive formatted as Mac OS Extended (Journaled), I assume that's the best option, and would prefer not to reformat if I don't have to. I've also read that some programs won't run on a case-sensitive drive.
*Do I have any easy alternatives to move my iTunes/iPhoto folders?*
*If not, what negatives do I need to consider when reformatting my iMac's drive to a case-sensitive one?*
Thanks.Joel-X wrote:
I've solved the problem for iTunes, but it was a bit tedious.
Yes, I'll bet! It would be sooo much easier if the Finder would produce a list somewhere.
*Assuming that I solve the "case-sensitivity problem" for my old "iPhoto Library" folder, will a simple drag and drop of that folder to my new iMac allow me to just open iPhoto 9 and have all my photos be there?*
I believe so, as that's how Apple tells you to move it: [Moving your iPhoto library|http://support.apple.com/kb/HT1229].
I don't want to spend too much time on the case-sensitivity problem until that question is answered, just in case.
It may not be as easy to solve, though. That library is a "package," kind of like an app -- actually a folder, but treated as a single object for most purposes. If you right-click it via the Finder and select +Show Package Contents,+ you'll see the file/folder structure.
See the note in the link above -- it sounds like changing file names will break the structure; it may only affect the files you change, but it might be worse.
If you can find the duplicates, you may be better off exporting them via iPhoto, deleting them via iPhoto, then re-importing them under different names. That should keep the structure intact.
At the very least, make a full copy somewhere before touching it.
Good luck! -
Hi Dear;
to call any object in SDK, i have to write the object name(index) as case sensitive.
if there any way to call these objects without case sensitive?
Ex: if i have a UDF named U_BPDrv and i try to get it as U_BPDRV i get an error.
how can i resolve this error?
thank you Dear;Hi Lita,
i tried it now. UDF field is named as u_Test.
When I call SELECT ordr.u_Test so the result is the same as when I call SELECT ordr.U_TESt, so here is it not case sensitive. When I try get result from recordset as rs_ordr.Fields.Item("U_TeSt").Value() it give no error. When I bound result from recordset to matrix as
column.DataBind.SetBound(True, "@KZ", "u_TEst") - no error as well.
Everything was tested with no binary collation on db.
So I`m persuaded, that in this cases it depends on sql server and not on SDK.
Petr -
Having Trouble Transferring Time-Machine files on Case Sensitive External to another External
Techies and Hard Drive Nerds: I have old Time Machine Backups formatted MAC OS Extended (Case Sensitive, Journaled). I want to take those items and move them to another hard-drive formatted MAC OS Extended (Journaled). I'm getting error message "The volume has the wrong case sensitivity for a backup."
How do I transfer these files?Although the documentation says you can copy Time Machine backups in the Finder, it's very slow and sometimes doesn't work at all.
This technique will only work if the volume you're copying to is the same size, or larger than, the one you're copying from.
First, open the Time Machine preference pane and click the Select Disk... button. You may have to unlock the settings first by clicking the padlock icon in the lower left corner of the window. Authenticate as an administrator.
Delete the volume you're going to copy from the list of backup destinations. Then turn Time Machine OFF.
Launch Disk Utility, open the built-in help, and search for the term "Duplicate." Follow the instructions. All existing data on the destination volume will be erased. That shouldn't be a problem, because you don't want to mix backup and non-backup data on the same drive anyway.
If the volume you're copying was encrypted by Time Machine, you may have to unlock it first. Click the Unlock button in the toolbar of the Disk Utility window.
Turn Time Machine back ON and select the new volume as a backup destination. You can also continue to use the old volume, if you wish. The two will be alternated when both are available.
CAUTION: If the volume you're copying is corrupt, as shown by Repair Disk or Verify Disk in Disk Utility, then that corruption will be copied to the new drive. Don't copy data from a corrupt volume on a malfunctioning drive. Put the drive aside and don't use it until you're sure you'll no longer need the data. Then securely erase it and take it to a recycling center. Do the same if the Restore operation fails with "disk errors." -
Case Sensitivity of MySql Table Names
I am using a MySql 5 db successfully transferred from MsSql
with the MySql migration kit. It works just fine with my CF 8
application, except for having to match the case of table names in
all <cfquery> tags. My online host runs Linux for MySql.
I have installed MySql on my local Windows development
machine but notice that it has no such table name case sensitivity
-- a problem since that means I cannot test locally.
I have tried putting lower_case_table_names=0 in the MySql
my.ini file but it has not effect.
Any suggestions as to how to set up windows/CF 8? Is this
something that the built in CF server can be modified to do?
Thanks.Ortho wrote:
> I have tried putting lower_case_table_names=0 in the
MySql my.ini file but it
> has not effect.
regarding the lower_case_table_names setting, here's a quote
from
http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html
" If you are using MySQL on only one platform, you don't
normally have
to change the lower_case_table_names variable. However, you
may
encounter difficulties if you want to transfer tables
between platforms
that differ in filesystem case sensitivity. For example, on
Unix, you
can have two different tables named my_table and MY_TABLE,
but on
Windows these two names are considered identical. To avoid
data transfer
problems stemming from lettercase of database or table
names, you have
two options:
* Use lower_case_table_names=1 on all systems. The main
disadvantage with this is that when you use SHOW TABLES or
SHOW
DATABASES, you don't see the names in their original
lettercase.]
* Use lower_case_table_names=0 on Unix and
lower_case_table_names=2
on Windows. This preserves the lettercase of database and
table names.
The disadvantage of this is that you must ensure that your
statements
always refer to your database and table names with the
correct
lettercase on Windows. If you transfer your statements to
Unix, where
lettercase is significant, they do not work if the
lettercase is incorrect.
Exception: If you are using InnoDB tables and you are trying
to
avoid these data transfer problems, you should set
lower_case_table_names to 1 on all platforms to force names
to be
converted to lowercase.
Note that if you plan to set the lower_case_table_names
system variable
to 1 on Unix, you must first convert your old database and
table names
to lowercase before restarting mysqld with the new variable
setting. "
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com -
Oracle 9 table names are not case sensitive
Sorry about the trivial question, but I noticed that when I am creating table in Oracle their names is always upper case.
Example:
CREATE TABLE MyTable (i NUMBER(5))
CREATE TABLE MYTable (i NUMBER(5))
CREATE TABLE MyTABLE (i NUMBER(5))
CREATE TABLE MyTablE (i NUMBER(5))
it is the same table. Is it true that Oracle cannot create tables with names case sensitive, or I am doing something wrong.
Any helpYou can create case sensitive table with table names enclosed in quotes.
SQL> create table sample(id number);
Table created.
SQL> select table_name from user_tables where upper(table_name)='SAMPLE';
TABLE_NAME
SAMPLE
SQL> create table "sample"(id number);
Table created.
SQL> select table_name from user_tables where upper(table_name)='SAMPLE';
TABLE_NAME
SAMPLE
sample
SQL> -
Nautilus case sensitive ordering
Hi,
Just wondering if it's possible to make nautilus order files without case sensitivity when they're sorted by name.
I've tried a few searches but turned up nothing, except that the gnome documentation says it isn't case sensitive (here)
There's nothing in gconf either, as far as I can see.
If I recall correctly, it wasn't case sensitive when using nautilus in other distros...
Sorry if this has come up before, but I couldn't find anything in the forums.
thanks
Fishonadish[/url]Sorry to dig this out, but I have the same problem here. Maybe it has something to do with a Locale setting?
EDIT: Indeed, changing the Locale did fix the problem. Add this to your ~/.bashrc
export LC_COLLATE="en_US.utf8"
Note: Now most programs will sort files insensitive including the "ls" command.
Last edited by IceHand (2007-05-07 18:37:59) -
Schematool mysql metadata case-sensitive
Not really a question, more an observation unless anyone thinks I am doing
something out of the ordinary.
Using mysql, connectorJ on windows I tried running "schematool -a build -f
script.sql" and kept getting a bunch of errors like
47781 WARN [main] kodo.jdbc.Schema - Existing column "VOYAGE_NUMBER" on
table "vessel" is incompatible with the same column in the given schema
definition.
Existing column:
Full Name: vessel.VOYAGE_NUMBER
Type: VARCHAR
Size: 10
Default: null
Not Null: false
Given column:
Full Name: VESSEL.VOYAGE_NUMBER
Type: VARCHAR
Size: 255
Default: null
Not Null: false
So there was a case sensitivity issue with the metadata in mysql. I had
to add the following to the connectionUrl in kodo.properties
capitalizeTypeNames=true
http://dev.mysql.com/doc/connector/j/en/cj-configuration-properties.html
All tables are lowercase for Windows
http://dev.mysql.com/doc/mysql/en/name-case-sensitivity.html
Doesn't matter on queries and the like but the schematool seemed to need
the extra connection property.Kevin-
What version of the MySQL server and driver are you using? In our
experience, MySQL always capitalized schema names, but it is possible
that this has changed in some version.
Note that another solution would be to set the DBDictionary's
"schemaCase" property to "lower" or "preserve" (instead of the
MySQLDictionary default of "upper"), with the property:
kodo.jdbc.DBDictionary: mysql(SchemaCase=preserve)
We'd be interested to know if that solution works for you.
In article <db8se6$uq0$[email protected]>, Kevin Keefe wrote:
Not really a question, more an observation unless anyone thinks I am doing
something out of the ordinary.
Using mysql, connectorJ on windows I tried running "schematool -a build -f
script.sql" and kept getting a bunch of errors like
47781 WARN [main] kodo.jdbc.Schema - Existing column "VOYAGE_NUMBER" on
table "vessel" is incompatible with the same column in the given schema
definition.
Existing column:
Full Name: vessel.VOYAGE_NUMBER
Type: VARCHAR
Size: 10
Default: null
Not Null: false
Given column:
Full Name: VESSEL.VOYAGE_NUMBER
Type: VARCHAR
Size: 255
Default: null
Not Null: false
So there was a case sensitivity issue with the metadata in mysql. I had
to add the following to the connectionUrl in kodo.properties
capitalizeTypeNames=true
http://dev.mysql.com/doc/connector/j/en/cj-configuration-properties.html
All tables are lowercase for Windows
http://dev.mysql.com/doc/mysql/en/name-case-sensitivity.html
Doesn't matter on queries and the like but the schematool seemed to need
the extra connection property.
Marc Prud'hommeaux
SolarMetric Inc. -
Is Oracle9iAS Relase 2 case sensitive????
Hi all,
I am new to oracle9iAS. I wolud like to know whether oracle9iAS is case sensitive towards the JSP names accessed. If so, is there any option to make it insensitive.
Thankx in advance
kishorRight. And for resource names, case sensitivity depends on operating system used. That's why it's better to use case sensitive system like Unix* than insensitive like Windows*. It cannot happen one resource has many different names and thus, your JSP compilations (you mentioned in another topic) will get always the same name.
Daniel. -
Making user account logins case sensitive?
Hi, just a quick question. Is it possible to make a user account login name case sensitive? Currently I can log on using upper or lower case for the login name however I would rather only the exact login name could be used.
ThanksI had already answered with example.
Re: Making user account logins/passwords case sensitive? -
Case (in)sensitive file names
Hello,
In my program I have to know if the file names in the operating system the program runs on are case sensitive or not.
Example: If "words.txt" and "Words.txt" are the same files or can be different files (suppose they are in the same directory).
I don't want to do it by checking the OS name and comparing to a list of OS's that are known to be case (in)sensitive because I want my program to be dynamic and I don't want to change it every time new OS's come out.
Does anybody know how it can be done?
Thanks.Yes, of course I can do that, but as you said I'm
looking for a more elegant way, like reading a
property of the OS or something similar. Thanks
anyway.1) It is not that much a property of the OS but of the fily system
2) There's a list of properties available to you in the System API. If none of these helps you, you're out of luck.
Maybe you are looking for
-
Hp officejet pro 8600 doesn't work with yosemite
Dear, I've installed yosemite on my mac and now scanning doesn't work, there isn't the scanning button in system/print and scan like before installing yosemite! I've tried to delete and reinstall driver (also update driver from appstore after install
-
Negative values on customer consignment stock
Hello, Is it possible to have negative values on customer consignment stock? i.e. the same material is sent to a customer, as consignment stock (special stock W), from different plants. If the material is not used by the customer (then it has not bee
-
When will Apple support h.264 with HE-AAC v2 (in AppleTV/Ipad) ?
Hello When will Apple support h.264 with HE-AAC v2 (in AppleTV/Ipad) ?
-
Ibook randomly shutting down...
Hello all, I have been experiencing a problem of my computer just shutting down at random times. This problem is not in conjunction with any other problems like freeziing or anything like that. I do not think it is a loose battery because it just shu
-
Don't want column width in new document window
Suddenly, and I can't determine why, my InDesign CS2 has started putting column width as an option in the New Document window. It didn't used to do that. I don't want that to be there. Anyone have any suggestions?