RE: Getting a dynamic property

2008-05-22 Thread Bracewell, Robert
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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Getting a dynamic property

2008-05-22 Thread Richard Chamberlain
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