You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Steve Loughran <st...@apache.org> on 2005/03/22 11:43:58 UTC

pointer to filename limitations in Java

Little heads up to a defect that is showing up in JAXB use: the max 
length of a path that java code (including Ant) can handle is 260 chars 
on a DOS/NTFS filesystem until Java1.6 ships some time
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4403166

The full list of naming rules are here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/naming_a_file.asp

It means there is an implicit set of extra filenames that any java code 
generator shouldnt be generating; deep file trees and things called 
COM1.java are possibly on the forbidden list.

-steve