Hello gurus.
I have a java application that's being used by a few hundred people. One
mac user can't get the application to run. On investigation, it seems
that the java application cannot read a particular properties file.
I asked the user to email me the file. The properties file is supposed to
be ascii. The file she emailed me is described as
Macintosh MacBinary data, type " ", creator " "
and of course, contains binary header data.
I emailed her a clean copy of the properties file, she did a unix cat
command, and it looks good. Then she emailed me the file back, and once
again, it had been reformatted with a binary header.
The file name is properties.abc, in order to discourage users from
tampering with the properties. As a test, I renamed the file
properties.txt, and this time, when she emailed it back to me, the file
was unchanged. Of course, the properties filename is hardcoded in the
java code, so that didn't fix her problem.
One final observation, when she attempts to open the file properties.abc
on the mac, she gets an error "Not a valid QuickTime file".
I know that Windows will change a file name to match the file format.
Did the mac designers go overboard, so that the file contents change to
match the name?
Sincerely,
Jim S.
GNP FrameWorks Technical Support
1 877 372-6395
email@hidden
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden