[ 
http://jira.codehaus.org/browse/MPH-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214757#action_214757
 ] 

Brett Porter commented on MPH-71:
---------------------------------

Note that you must omit the ${...} on the expression as Maven would recursively 
resolve it for you. While we probably could have just output that as the value 
it seemed more risky to me, and it is also difficult to escape those in a shell 
environment, so we instead go through the normal resolution of the expression 
after surrounding the parameter with ${...}.

> call help:evaluate in batch mode
> --------------------------------
>
>                 Key: MPH-71
>                 URL: http://jira.codehaus.org/browse/MPH-71
>             Project: Maven 2.x Help Plugin
>          Issue Type: Wish
>    Affects Versions: 2.1
>            Reporter: Galak
>            Assignee: Brett Porter
>            Priority: Minor
>             Fix For: 2.1.1
>
>
> The help:evaluate goal is designed to be called in interactive mode.
> I would like to call this goal in batch mode, passing the expression to 
> evaluate in a property (on the command line).
> The final purpose is to evaluate predefined expressions inside a script 
> (unfortunately, the script is a batch file in my case...)

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

        

Reply via email to