You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Matt Lyon <ma...@stargus.com> on 2003/02/13 23:01:32 UTC

New Line in manifest

Hi,

I have an inline <manifest> parameter in my <jar> task that stamps my jars' manifest files with =${version.major}.${version.minor}.${version.revision}.${version.build} which are expanded from a build.properties file. The problem is that, if a lazy developer does not define these values in the build.properties file, the entry comes out as Version=${version.major}.${version.minor}.${version.revision}.${version.build}, and because the line is so long, it spills over to a new line... this breaks the jar when it is deployed to WebLogic. Is there a workaround for this to keep lengthy strings inserted into a manifest on one line only, or is there a char limit for manifest entries defined by the jar spec that I am not aware of?

Matt