[
https://issues.apache.org/jira/browse/BUILDR-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Toulme resolved BUILDR-503.
-----------------------------------
Resolution: Fixed
14:09:50~/w/buildr>svn ci -m CHANGELOG spec/packaging/archive_spec.rb
lib/buildr/packaging/archive.rb -m "BUILDR-503 Include with as includes
directories as files when the directory has the same name as the path"
Sending lib/buildr/packaging/archive.rb
Sending spec/packaging/archive_spec.rb
Transmitting file data ..
Committed revision 998327.
> Include with as 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
> Assignee: 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.