[ http://jira.codehaus.org/browse/MNG-525?page=all ]

Brett Porter updated MNG-525:
-----------------------------

    Description: 
Example:

    /**
     * @parameter
     * @required
     */
        private String cloverOutputDirectory;

    /**
     * @parameter expression="${cloverOutputDirectory}/clover.db"
     * @required
     */
        private String cloverDatabase;


I'd like that the cloverDatabase variable gets set to 
${cloverOutputDirectory}/clover.db

ATM the value is null/clover.db even though cloverOutputDirectory get sets to a 
non-null value


  was:
Example:

    /**
     * @parameter
     * @required
     */
        private String cloverOutputDirectory;

    /**
     * @parameter expression="${cloverOutputDirectory}/clover.db"
     * @required
     */
        private String cloverDatabase;


I'd like that the cloverDatabase variable gets set to 
${cloverOutputDirectory}/clover.db

ATM the value is null/clover.db even though cloverOutputDirectory get sets to a 
non-null value


    Fix Version:     (was: 2.0-beta-3)
                 2.1
    Environment: 

> Need a way to reference a config property from another property using the 
> expression language in a mojo
> -------------------------------------------------------------------------------------------------------
>
>          Key: MNG-525
>          URL: http://jira.codehaus.org/browse/MNG-525
>      Project: Maven 2
>         Type: Task
>   Components: maven-core
>     Versions: 2.0-alpha-3
>     Reporter: Vincent Massol
>      Fix For: 2.1

>
>
> Example:
>     /**
>      * @parameter
>      * @required
>      */
>       private String cloverOutputDirectory;
>     /**
>      * @parameter expression="${cloverOutputDirectory}/clover.db"
>      * @required
>      */
>       private String cloverDatabase;
> I'd like that the cloverDatabase variable gets set to 
> ${cloverOutputDirectory}/clover.db
> ATM the value is null/clover.db even though cloverOutputDirectory get sets to 
> a non-null value

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to