You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/09/28 02:40:11 UTC
[jira] Updated: (MNG-525) Need a way to reference a config property from another property using the expression language in a mojo
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org