You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Richard Chamberlain <ri...@caplin.com> on 2008/05/22 12:09:57 UTC
Getting a dynamic property
Hi,
How can I run a command and get the return of that command put into a
maven property?
For example i'd like to get the latest perforce changelist number and
add it to my Manifest file
Thanks,
Rich
RE: Getting a dynamic property
Posted by "Bracewell, Robert" <rb...@qualcomm.com>.
Use an environmental property
For example some other system could set the env var called P4_CL and
then you could reference it using ${env.P4_CL}
-----Original Message-----
From: Richard Chamberlain [mailto:richard.chamberlain@caplin.com]
Sent: 22 May 2008 11:10
To: Maven Users List
Subject: Getting a dynamic property
Hi,
How can I run a command and get the return of that command put into a
maven property?
For example i'd like to get the latest perforce changelist number and
add it to my Manifest file
Thanks,
Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org