This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 19654
    
  18

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
 
Similar Threads
Netbeans clean and build Error
jasperreports does not work in executable jar file
WebsphereDeploymentTool for Ant
Launch ant from cygwin
Eclipse Content Assist is not working while creating a project from an ant build file