Hi,

I'm trying to create an assembly that contains an empty directory (log) and
have been unable to do so.  I've tried a few things, including the
workarounds and suggestions at
http://jira.codehaus.org/browse/MASSEMBLY-108but have not been able to
get the empty directory to show up in my zip
assembly.  Here's the assembly descriptor I'm using:

<assembly>
  <id>bundle</id>
  <includeBaseDirectory>false</includeBaseDirectory>

  <formats>
    <format>zip</format>
  </formats>

    <fileSets>

        <fileSet>
          <directory>src/main/resources/env/</directory>
          <outputDirectory>/</outputDirectory>
          <useDefaultExcludes>true</useDefaultExcludes>
          <fileMode>0644</fileMode>
          <directoryMode>0755</directoryMode>
      </fileSet>

    </fileSets>

</assembly>


and the src/main/resource/env directory contains the following:

bin
conf
doc
log

All of those contain files except log which is an empty directory.  Any
suggestion on how to do this would be greatly appreciated.

I'm using Maven 2.2.1 and maven-assembly-plugin 2.2-beta-5.

Thanks in advance,

Jeff

Reply via email to