aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Manifest problem with line break" Watch "Manifest problem with line break" New topic
Author

Manifest problem with line break

M Bryan
Ranch Hand

Joined: Jun 15, 2011
Posts: 64
Hi,

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
Sheriff

Joined: Oct 27, 2005
Posts: 19720
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
M Bryan
Ranch Hand

Joined: Jun 15, 2011
Posts: 64
 
 
subject: Manifest problem with line break