Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/101#discussion_r15717018
  
    --- Diff: core/src/main/java/brooklyn/util/file/ArchiveBuilder.java ---
    @@ -206,21 +221,33 @@ public ArchiveBuilder addDir(String dirName) {
     
         /**
          * Add the contents of the directory {@code dir} to the archive.
    +     * The directory's name is not included; use {@link #addAtRoot(File)} 
if you want that behaviour. 
          * <p>
          * Uses {@literal .} as the parent directory name for the contents.
          *
          * @see #entry(String, File)
          */
    -    public ArchiveBuilder addDir(File dir) {
    +    public ArchiveBuilder addDirContentsAt(File dir, String 
archiveParentDir) {
    --- End diff --
    
    Will fix.  `File` should be used everywhere it is a local file to prevent 
confusion.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to