File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Manifest problem with line break Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Manifest problem with line break" Watch "Manifest problem with line break" New topic

Manifest problem with line break

M Bryan
Ranch Hand

Joined: Jun 15, 2011
Posts: 64

i have a project that uses ant. Ant produces a manifest file. This worked always well until yesterday: When i started my signed jar java told me, that the manifest contains an invalid field, but did not tell me which one. After hours of looking into my code and project, i found the error:

As you can see, there is a line break. Usually this leads to a space character at the beginning of the new line, but not in this case. The error also occurs with a _.

What can i do to let ant create a correct line break?
Thank you
Rob Spoor

Joined: Oct 27, 2005
Posts: 20269

Can you show us the relevant part of your Ant's build.xml file? Please wrap it in [code=xml] and [/code] so it will be properly formatted.

How To Ask Questions How To Answer Questions
M Bryan
Ranch Hand

Joined: Jun 15, 2011
Posts: 64
I agree. Here's the link:
subject: Manifest problem with line break
jQuery in Action, 3rd edition