ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17634] New: - ant failed, in manifest Task , error in UTF8 convertion
Date Tue, 04 Mar 2003 11:05:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17634>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17634

ant failed, in manifest Task , error in UTF8 convertion

           Summary: ant failed, in manifest Task , error in UTF8 convertion
           Product: Ant
           Version: 1.5.2
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: hubert.gregoire@soamai.com


My manifest file doesn't contain any special caracter exept, the folowing
line...the  character is the # symbol in french. This task works fine with ant
1.5.1.


------------------ start manifest file ---------------------
...
"Build-Library13: ext/eclipse-core-runtime.jar / n version inconue"
...
------------------ end manifest file ---------------------


here an cut of my log in verbose mode:

------------------ start of console output in verbose mode ---------------------

[copy] icons\RepositoryRootNode.gif omitted as icons/RepositoryRootNode.gi
     [echo] P:\projects\ReferenceBrowsingUI/manifest.mf
      [jar] error while reading original manifest: error in opening zip file
      [jar] Building jar: P:\soamai\becubic\lib\ReferenceBrowsingUI.jar

BUILD FAILED
file:P:/projects/MAKE/build.xml:623: Unable to read manifest file (null)
        at org.apache.tools.ant.taskdefs.Jar.getManifest(Jar.java:281)
        at org.apache.tools.ant.taskdefs.Jar.getManifest(Jar.java:221)
        at org.apache.tools.ant.taskdefs.Jar.createManifest(Jar.java:337)
        at org.apache.tools.ant.taskdefs.Jar.initZipOutputStream(Jar.java:323)
        at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:404)
        at org.apache.tools.ant.Task.perform(Task.java:341) 

....

--- Nested Exception ---
sun.io.MalformedInputException
        at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))
        at java.io.InputStreamReader.convertInto(InputStreamReader.java:144)
        at java.io.InputStreamReader.fill(InputStreamReader.java:193)
        at java.io.InputStreamReader.read(InputStreamReader.java:256)
        at java.io.BufferedReader.fill(BufferedReader.java:145)
        at java.io.BufferedReader.readLine(BufferedReader.java(Compiled Code))
        at java.io.BufferedReader.readLine(BufferedReader.java:368)
        at org.apache.tools.ant.taskdefs.Manifest$Section.read(Manifest.java:419)
        at 
        at org.apache.tools.ant.taskdefs.Jar.getManifest(Jar.java:275)
        at org.apache.tools.ant.taskdefs.Jar.getManifest(Jar.java:221)
        at org.apache.tools.ant.taskdefs.Jar.createManifest(Jar.java:337)
        at org.apache.tools.ant.taskdefs.Jar.initZipOutputStream(Jar.java:323)
        at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:404)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
------------------ end of console output in verbose mode ---------------------

Mime
View raw message