Venkata Chengalvala wrote:
> I am using ANT1.5.1 to build an EAR file in solaris 8.
> But somehow during the building of the ear file ANT is adding control
> characters ^M to the classpath in the MANIFEST.MF under
> xxx.ear/META-INF directory. The classpath is getting broken as a
> single line long classpath is getting broken into multiple lines
> during the build.
>
> Please advise if it is a known bug , if so what is the solution to resolve.
>
This is as per the Jar specification:
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Notes%20on%20Manifest%20and%20Signature%20Files
"No line may be longer than 72 bytes (not characters), in its
UTF8-encoded form. If a value would make the initial line longer than
this, it should be continued on extra lines (each starting with a single
SPACE)."
Is this causing you a problem? If so, it may be a problem with whatever
is using the jar.
Conor
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|