Include with path includes directories as files when the directory has the same 
name as the path
------------------------------------------------------------------------------------------------

                 Key: BUILDR-503
                 URL: https://issues.apache.org/jira/browse/BUILDR-503
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Antoine Toulme
            Priority: Critical
             Fix For: 1.4.2


Here is an example:

write "some/custom/structure/myfile.txt", ""

define "foo", :version => "1.0" do
  package(:jar).include _("some/custom/structure"), :as => "var/my/structure"
end

Opening the jar shows this error:
Archive:  foo-1.0.jar
   creating: META-INF/
  inflating: META-INF/MANIFEST.MF    
   creating: var/
   creating: var/my/
  inflating: var/my/structure        
checkdir error:  var/my/structure exists but is not directory
                 unable to process var/my/structure/.
checkdir error:  var/my/structure exists but is not directory
                 unable to process var/my/structure/myfile.txt.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to