Hi I am not even sure, whether it is the bundle plugin itself doing this. But in any case, I seem to remember that this is how Manifest.MF files are specified: There has to be a line break at this column and the continuation line has to be indented by a single character.
You might want to think about how to properly read the Manifest.MF file in ant. Regards Felix > Am 19.11.2014 um 05:42 schrieb asookazian <asookaz...@gmail.com>: > > We're using the maven-bundle-plugin for Karaf bundles. I noticed today that > there is a hard-wrap at column 71 in the generated manifest.mf. For the > <Bundle-Name> value, this is causing a problem b/c there is a variable at > column 71 (#build.date#) that is being cut in half (half on line X and other > half on line X+1) which is causing an ant task <replace> to fail b/c there > is a space at the beginning on the 2nd line: > > Bundle-Name: Foo :: Bar :: Baz (build: 14448.#build.d > ate#) > > Is there a way to instruct/config maven-bundle-plugin to wrap at column > 71+X? thus the build.date variable which is dynamically substituted would > not be broken in half and the replace would succeed? thx. > > > > -- > View this message in context: > http://apache-felix.18485.x6.nabble.com/hard-wrap-in-manifest-mf-by-maven-bundle-plugin-tp5010553.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org