Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.9.5.2, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5
-
Fix Version/s: 1.1 M1
-
Component/s: XML code generator
-
Labels:None
-
Environment:Operating System: Windows 2000
Platform: PC
-
Bugzilla Id:1505
-
Number of attachments :
Description
By chance, I have a schema which results in SourceGenerator trying to create a
file called Con.java. This does not work on Windows, I assume because it is too
similar to "con", as in "copy con <file>". It's OK on Unix.
The SourceGenerator just catches the exception and says "unable to create file:
Con.java".
Maybe something slightly more useful would be nice that mentions that it is a
reserved name for Windows?
| 1. | Create regression test case for filename CON.* under Windows | |
|
Unassigned |
Wow, that's very strange, I never knew that limitation on windows before. I
actually did a simple test and I can't create any files with the name con.*
where * could be any extension, not just .java (of course .java is the only
importance here).
We'll try to add an explaination for this in the FAQ, seems like a windows bug
to me however.