[ 
https://issues.apache.org/jira/browse/BUILDR-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969469#action_12969469
 ] 

Tammo van Lessen commented on BUILDR-559:
-----------------------------------------

I believe this is because the package_with_javadoc and package_with_sources 
enhance the project task to add these packages instead of defining these 
package tasks right away.

> package_with_{javadoc,sources} don't behave the same as package(:javadoc) and 
> package(:sources), respectively
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: BUILDR-559
>                 URL: https://issues.apache.org/jira/browse/BUILDR-559
>             Project: Buildr
>          Issue Type: Bug
>            Reporter: Alex Boisvert
>
> The symptom is that using "package_with_sources" instead of using 
> "package(:sources)" doesn't add the package into the "packages" list.
> It seems a metaprogramming fail due to the fact that many package_as_* 
> methods assume self is the project being packaged whereas it may have been 
> called using project.package(:sources) as is done in package_with_sources.

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