jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Assembly Plugin
  • MASSEMBLY-379

Follow-up: file permissions are removed when creating tar.gz assembly

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.2-beta-3
  • Fix Version/s: 2.2-beta-4
  • Labels:
    None
  • Testcase included:
    yes

Description

I'm creating a new issue as I don't seem to be able to reopen MASSEMBLY-238.

Attached is a test project that demonstrates the problem.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    MASSEMBLY-379-lookup-attributes-by-resource-basename-instead-of-absolute-path.patch
    10/Jan/09 7:14 AM
    0.9 kB
    Pawel Paprota
  2. File
    testproject.tgz
    08/Jan/09 2:37 PM
    2 kB
    Pawel Paprota

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MASSEMBLY-238 Assembly plugin removes file permissions

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Pawel Paprota added a comment - 10/Jan/09 7:17 AM

Or perhaps the better approach would be if the attribute map contained keys as absolute paths.

Show
Pawel Paprota added a comment - 10/Jan/09 7:17 AM Or perhaps the better approach would be if the attribute map contained keys as absolute paths.
Hide
Permalink
Pawel Paprota added a comment - 10/Jan/09 7:39 AM

The "path prefix" code in AttributeParser's consumeLine (PlexusIoResourceAttributeUtils) is never hit on my machine because nextIsPathPrefix is never true.

ppawel ~/projects/maven/tgz-bug/test $ ls dist-project/src/main/resources/ -1laR
dist-project/src/main/resources/:
total 12
drwxr-xr-x 2 ppawel users 4096 2009-01-08 21:26 .
drwxr-xr-x 3 ppawel users 4096 2009-01-08 21:26 ..
-rwxr-xr-x 1 ppawel users 24 2009-01-08 21:26 executable.file

Show
Pawel Paprota added a comment - 10/Jan/09 7:39 AM The "path prefix" code in AttributeParser's consumeLine (PlexusIoResourceAttributeUtils) is never hit on my machine because nextIsPathPrefix is never true. ppawel ~/projects/maven/tgz-bug/test $ ls dist-project/src/main/resources/ -1laR dist-project/src/main/resources/: total 12 drwxr-xr-x 2 ppawel users 4096 2009-01-08 21:26 . drwxr-xr-x 3 ppawel users 4096 2009-01-08 21:26 .. -rwxr-xr-x 1 ppawel users 24 2009-01-08 21:26 executable.file
Hide
Permalink
Greg Wittel added a comment - 01/May/09 11:43 AM

Any progress on this issue? Its a huge blocker for us.

Show
Greg Wittel added a comment - 01/May/09 11:43 AM Any progress on this issue? Its a huge blocker for us.
Hide
Permalink
John Casey added a comment - 26/May/09 9:20 PM

I've tracked down and fixed the problems with this and MASSEMBLY-238. For simplicity, I'm going to track progress on that issue, since this is a duplicate.

Show
John Casey added a comment - 26/May/09 9:20 PM I've tracked down and fixed the problems with this and MASSEMBLY-238. For simplicity, I'm going to track progress on that issue, since this is a duplicate.

People

  • Assignee:
    John Casey
    Reporter:
    Pawel Paprota
Vote (4)
Watch (3)

Dates

  • Created:
    08/Jan/09 2:37 PM
    Updated:
    26/May/09 9:20 PM
    Resolved:
    26/May/09 9:20 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.