[jira] Commented: (MASSEMBLY-108) Assembly Plugin Implicitly Excludes Empty Directory
[ https://jira.codehaus.org/browse/MASSEMBLY-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=280659#comment-280659 ] Julien HENRY commented on MASSEMBLY-108: We are facing the same issue: empty directory in a fileset are not copied to output folder but only when filtered is set to true. Assembly Plugin Implicitly Excludes Empty Directory --- Key: MASSEMBLY-108 URL: https://jira.codehaus.org/browse/MASSEMBLY-108 Project: Maven 2.x Assembly Plugin Issue Type: New Feature Affects Versions: 2.1 Reporter: Sharmarke Aden It seems that the inclusion of an empty directory isn't currently possible with the assembly plugin. This is a problem because I would like to have an empty logs directory included with my zip file assembly. It would be nice if the assembly plugin gave you the option to add empty directories to an assembly. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MASSEMBLY-108) Assembly Plugin Implicitly Excludes Empty Directory
[ http://jira.codehaus.org/browse/MASSEMBLY-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=146833#action_146833 ] Petar Tahchiev commented on MASSEMBLY-108: -- I don't understand this issue. I have a project that has the following structure: {noformat} pom.xml src/-| | |--main/-| | |-include/-| | |-a.txt |-b/ {noformat} And the last folder b/ is an empty folder. I can include a.txt and b/ in the zip with the following assembly descriptor: {noformat} ?xml version=1.0 encoding=UTF-8? assembly idbin/id formats formatzip/format /formats fileSets fileSet directorysrc/main/include//directory /fileSet /fileSets /assembly {noformat} I used both 2.2-beta-1 and 2.2-beta-3-SNAPSHOT. Is that what you want to achieve? Assembly Plugin Implicitly Excludes Empty Directory --- Key: MASSEMBLY-108 URL: http://jira.codehaus.org/browse/MASSEMBLY-108 Project: Maven 2.x Assembly Plugin Issue Type: Bug Affects Versions: 2.1 Reporter: Sharmarke Aden Fix For: 2.3-beta-1 It seems that the inclusion of an empty directory isn't currently possible with the assembly plugin. This is a problem because I would like to have an empty logs directory included with my zip file assembly. It would be nice if the assembly plugin gave you the option to add empty directories to an assembly. -- 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-108) Assembly Plugin Implicitly Excludes Empty Directory
[ http://jira.codehaus.org/browse/MASSEMBLY-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=146844#action_146844 ] Jens Bannmann commented on MASSEMBLY-108: - Petar: sorry for the imprecise description. The problem is that the folder does not exist in my source tree. I wanted to create it without an Ant script or another hack, just specify that the assembly plugin should create this folder before zipping. Assembly Plugin Implicitly Excludes Empty Directory --- Key: MASSEMBLY-108 URL: http://jira.codehaus.org/browse/MASSEMBLY-108 Project: Maven 2.x Assembly Plugin Issue Type: Bug Affects Versions: 2.1 Reporter: Sharmarke Aden Fix For: 2.3-beta-1 It seems that the inclusion of an empty directory isn't currently possible with the assembly plugin. This is a problem because I would like to have an empty logs directory included with my zip file assembly. It would be nice if the assembly plugin gave you the option to add empty directories to an assembly. -- 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-108) Assembly Plugin Implicitly Excludes Empty Directory
[ http://jira.codehaus.org/browse/MASSEMBLY-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102508 ] Dawid Kedziora commented on MASSEMBLY-108: -- A workaround for 2.2-beta-1: {code:xml} assembly ... fileSet directorytarget//directory outputDirectory/logs/outputDirectory excludes exclude**/*/exclude /excludes /fileSet /assembly {code} Generally speaking: get any existing directory, specify any output directory, and exclude everything from source directory. Assembly Plugin Implicitly Excludes Empty Directory --- Key: MASSEMBLY-108 URL: http://jira.codehaus.org/browse/MASSEMBLY-108 Project: Maven 2.x Assembly Plugin Issue Type: Bug Affects Versions: 2.1 Reporter: Sharmarke Aden It seems that the inclusion of an empty directory isn't currently possible with the assembly plugin. This is a problem because I would like to have an empty logs directory included with my zip file assembly. It would be nice if the assembly plugin gave you the option to add empty directories to an assembly. -- 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