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 WAR Plugin
  • MWAR-128

war goal does not copy empty directories from webapp directory

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0.2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

I have an empty directory src/main/webapp/WEB-INF/logs. I expect it to be created in target when the war goal tells me "Copy webapp webResources to ..." It does not get created.

Issue Links

is related to

New Feature - A new feature of the product, which has yet to be developed. MWAR-205 A useDefaultExcludes=false option, like the assembly plugin has.

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Lamy added a comment - 15/Feb/08 4:15 PM

You cann add an empty file called safeToDelete.tmp in your directory src/main/webapp/WEB-INF/logs/ .

Show
Olivier Lamy added a comment - 15/Feb/08 4:15 PM You cann add an empty file called safeToDelete.tmp in your directory src/main/webapp/WEB-INF/logs/ .
Hide
Permalink
Ken Geis added a comment - 15/Feb/08 11:27 PM

That is obvious, Olivier.

Show
Ken Geis added a comment - 15/Feb/08 11:27 PM That is obvious, Olivier.
Hide
Permalink
Michiel Meeuwissen added a comment - 30/Jul/09 1:29 PM

As far as I can see this issue is caused by the fact that the code only uses DirectoryScanner#getIncludedFiles. It should also consider #getIncludedDirectories to solve this issue.

Show
Michiel Meeuwissen added a comment - 30/Jul/09 1:29 PM As far as I can see this issue is caused by the fact that the code only uses DirectoryScanner#getIncludedFiles. It should also consider #getIncludedDirectories to solve this issue.
Hide
Permalink
Sergey Zakusov added a comment - 12/Mar/11 9:13 AM

So, as a workaround I should include a temp file in every empty folder.. Hm.. Is there another workaround?

Show
Sergey Zakusov added a comment - 12/Mar/11 9:13 AM So, as a workaround I should include a temp file in every empty folder.. Hm.. Is there another workaround?

People

  • Assignee:
    Unassigned
    Reporter:
    Ken Geis
Vote (10)
Watch (10)

Dates

  • Created:
    02/Nov/07 6:15 PM
    Updated:
    12/Mar/11 9:13 AM
  • 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.