You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Endrigo Antonini (JIRA)" <ji...@codehaus.org> on 2007/11/19 21:14:40 UTC

[jira] Created: (MASSEMBLY-249) Crashing file name that is using special chars

Crashing file name that is using special chars
----------------------------------------------

                 Key: MASSEMBLY-249
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-249
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-1
            Reporter: Endrigo Antonini
         Attachments: example.rar

I was using this plugin to zip. But when I have a file name that uses special chars, like "ç", it crashs when zipping.

Attached is an example of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (MASSEMBLY-249) Crashing file name that is using special chars

Posted by "Petar Tahchiev (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149273#action_149273 ] 

Petar Tahchiev commented on MASSEMBLY-249:
------------------------------------------

Hi Endrigo,

I tried to reporduce your problem, but I failed. It works for me. I guess it was a not so much an Assembly plugin issue, but more a Maven issue. 
Anyway it works OK for me now with the following configuration:

C:\example>mvn -version
Maven version: 2.0.9
Java version: 1.5.0_15
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

> Crashing file name that is using special chars
> ----------------------------------------------
>
>                 Key: MASSEMBLY-249
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-249
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Endrigo Antonini
>         Attachments: example.rar
>
>
> I was using this plugin to zip. But when I have a file name that uses special chars, like "ç", it crashs when zipping.
> Attached is an example of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (MASSEMBLY-249) Crashing file name that is using special chars

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149302#action_149302 ] 

John Casey commented on MASSEMBLY-249:
--------------------------------------

When I run this example, it doesn't crash. Instead, when I try to examine the resulting zip file, I get the following:

{noformat}
Betelgeuse:example jdcasey$ jar tf target/test-1.0.zip 
test-1.0/
java.lang.IllegalArgumentException
        at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:290)
        at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:243)
        at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
        at sun.tools.jar.Main.list(Main.java:757)
        at sun.tools.jar.Main.run(Main.java:192)
        at sun.tools.jar.Main.main(Main.java:925)
{noformat}

> Crashing file name that is using special chars
> ----------------------------------------------
>
>                 Key: MASSEMBLY-249
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-249
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Endrigo Antonini
>         Attachments: example.rar
>
>
> I was using this plugin to zip. But when I have a file name that uses special chars, like "ç", it crashs when zipping.
> Attached is an example of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Closed: (MASSEMBLY-249) Crashing file name that is using special chars

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MASSEMBLY-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-249.
--------------------------------

    Resolution: Cannot Reproduce
      Assignee: John Casey

> Crashing file name that is using special chars
> ----------------------------------------------
>
>                 Key: MASSEMBLY-249
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-249
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Endrigo Antonini
>            Assignee: John Casey
>         Attachments: example.rar
>
>
> I was using this plugin to zip. But when I have a file name that uses special chars, like "ç", it crashs when zipping.
> Attached is an example of it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira