You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2010/12/07 02:11:28 UTC
[jira] Created: (BUILDR-559) package_with_{javadoc,sources} don't
behave the same as package(:javadoc) and package(:sources), respectively
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.
[jira] Resolved: (BUILDR-559) package_with_{javadoc,sources} don't
behave the same as package(:javadoc) and package(:sources), respectively
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert resolved BUILDR-559.
----------------------------------
Resolution: 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.
[jira] Updated: (BUILDR-559) package_with_{javadoc,sources} don't
behave the same as package(:javadoc) and package(:sources), respectively
Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tammo van Lessen updated BUILDR-559:
------------------------------------
Attachment: BUILDR-559.patch
Patch attached.
> 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.
[jira] Commented: (BUILDR-559) package_with_{javadoc,sources} don't
behave the same as package(:javadoc) and package(:sources), respectively
Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (BUILDR-559) package_with_{javadoc,sources} don't
behave the same as package(:javadoc) and package(:sources), respectively
Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] [Closed] (BUILDR-559) package_with_{javadoc,sources} don't
behave the same as package(:javadoc) and package(:sources), respectively
Posted by "Peter Donald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Donald closed BUILDR-559.
-------------------------------
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira