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

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

Please disregard the patch. The reason for defining these tasks during the 
execution of the project task is to avoid missing packages that have been 
defined after calling package_with_{sources, javadoc}. I recomment to close 
this issue as invalid.

> 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
>         Attachments: BUILDR-559.patch
>
>
> 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