ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34079] - Jar task does not include deeply nested inner classes.
Date Tue, 22 Mar 2005 10:41:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34079>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34079


stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |WONTFIX
             Status|NEW                         |RESOLVED




------- Additional Comments From stevel@apache.org  2005-03-22 11:41 -------
I can see how this happens. I can imagine the runtime creates the file through
its internal logic...it isnt reading a file of over 255 chars; it is creating a
file of this length as it goes. We cant read it on input.

Putting my old win32 dev hat on, the 255 char limit is pretty hard unless you
open files with unicode paths "\\?\full path here". I dont know what happens
when you try to open a file with that name on java.io.file, but it is the only
way to do it through the Win32 ::CreateFile() API

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/createfile.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/naming_a_file.asp

As an aside, I bet we cant have files called COM4, CLOCK$, NUL, etc. Actually, I
think you can create a dir called COM4, you just can't delete it :)

We should document this as a cantfix fault. You need to rebuild the OS with
MAX_PATH redefined, and only MS can do that. 

svrk, 
1. can you build the file into a higher up dir, or is it the mapping of JAXB
that is the problem. If it is the latter, set up a mapping file to fix things.

2. Verify that this wont work from the command line either. Then we can be sure
that this is a real problem. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message