[ 
https://issues.apache.org/jira/browse/BUILDR-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

peter schröder reopened BUILDR-345:
-----------------------------------


the documentation about using 'as' for lazy packaging should be removed:

{% highlight ruby %}
package(:zip).include _('target/docs/*')
package(:zip).include _('target/docs'), :as=>'.'
{% endhighlight %}

These two are almost identical.  They both include all the files from the 
@target/docs@ directory, but not the directory itself.  But they operate 
differently.  The first line expands to include all the files in @target/d...@. 
If you don't already have files in @target/docs@, well, then it won't do 
anything interesting.  Your ZIP will come up empty.  The second file includes 
the directory itself, but strips the path during inclusion.  You can define it 
now, create these files later, and then ZIP them all up.

see discussion here: http://markmail.org/message/m2wvtm6qfwnqpu4q

> Improve documentation
> ---------------------
>
>                 Key: BUILDR-345
>                 URL: https://issues.apache.org/jira/browse/BUILDR-345
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Site/documentation
>    Affects Versions: 1.3.5
>            Reporter: peter schröder
>             Fix For: 1.4
>
>         Attachments: artifacts.diff, building.diff, projects.diff
>
>
> Improvements for textile documentation.

-- 
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