You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/09/18 02:51:32 UTC
[jira] Commented: (BUILDR-503) Include with as includes directories
as files when the directory has the same name as the path
[ https://issues.apache.org/jira/browse/BUILDR-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910877#action_12910877 ]
Antoine Toulme commented on BUILDR-503:
---------------------------------------
Made a follow up patch for Linux:
17:47:08~/w/buildr>svn ci spec/packaging/archive_spec.rb -m "directory entries don't exist on linux, so this spec fails: we now check that there is no file entry instead"
Sending spec/packaging/archive_spec.rb
Transmitting file data .
Committed revision 998379.
> 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.