This is strange, I am looking at removing
sun.misc.UUEncoder, but am not able to
get to to work correctly in a unit test.
It is all correct until the last two lines:
487)G970^#0H\+W!R;VIE8W0^#0H!<SPACE>
end

(where <SPACE> is the space character)
When I put the file into uudecode.exe, the program
whines about a "short file" and fails to decode the last
part of the file

The problem is that there is a missing new line,
(see http://en.wikipedia.org/wiki/Uuencoding)
the end of the file should be:

487)G970^#0H\+W!R;VIE8W0^#0H!
<SPACE>
end

Making this change fixes the problem.

I am wondering has anyone has used the ant email
task to send uuencoded files?

Anyway I implemented my own uuencode (based
on some code from the geronimo project, have sent
an email requesting use), and got
it to work.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to