You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/03/27 00:09:22 UTC

[jira] Closed: (MANTTASKS-172) extend scope of 'result' variable in org.apache.maven.artifact.ant.DependenciesTask.doExecute()

     [ http://jira.codehaus.org/browse/MANTTASKS-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MANTTASKS-172.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1
         Assignee: Herve Boutemy

done in [r928095|http://svn.apache.org/viewvc?view=revision&revision=928095]
I didn't add a class attribute but created {{protected ArtifactResolutionResult doExecuteResolution()}} method to override when you need it

> extend scope of 'result' variable in org.apache.maven.artifact.ant.DependenciesTask.doExecute() 
> ------------------------------------------------------------------------------------------------
>
>                 Key: MANTTASKS-172
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-172
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Wish
>          Components: dependencies task
>            Reporter: diego tognola
>            Assignee: Herve Boutemy
>            Priority: Trivial
>             Fix For: 2.1.1
>
>
> Change the variable 'result' defined locally in the doExecute() method of org.apache.maven.artifact.ant.DependenciesTask to be a class member, instead. 
> It should be accessible to subclasses (directly or via a getter method).
> This will allow the creation of customized ant tasks extending DependenciesTask which can use 'results' for post-processing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira