Re: [m2] Filtering resources and current time

2005-12-14 Thread Edwin Punzalan


AFAIK, there is no ${} expression with the current time as value.  You 
may want to file a jira request for this feature though.  The Maven 2 
jira is here: http://jira.codehaus.org/browse/MNG



Piotr Bzdyl wrote:


Hello,

I would like to have something like this in my pom.xml

build
 resources
   resource
 directorysrc/main/resources/directory
 filteringtrue/filtering
   /resource
 /resources
/build

and in src/main/resources/app.properties:
app.buildTime=${currentTime}

to get current time (the time when I call mvn package for example) in 
the place of ${currentTime}. Is there a maven built-in property 
holding current time?


Best regards,
Piotrek

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



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



Re: [m2] Filtering resources and current time

2005-12-14 Thread Wim Deblauwe
I could use that too, so please file an issue.

2005/12/15, Edwin Punzalan [EMAIL PROTECTED]:


 AFAIK, there is no ${} expression with the current time as value.  You
 may want to file a jira request for this feature though.  The Maven 2
 jira is here: http://jira.codehaus.org/browse/MNG


 Piotr Bzdyl wrote:

  Hello,
 
  I would like to have something like this in my pom.xml
 
  build
   resources
 resource
   directorysrc/main/resources/directory
   filteringtrue/filtering
 /resource
   /resources
  /build
 
  and in src/main/resources/app.properties:
  app.buildTime=${currentTime}
 
  to get current time (the time when I call mvn package for example) in
  the place of ${currentTime}. Is there a maven built-in property
  holding current time?
 
  Best regards,
  Piotrek
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 

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




Re: [m2] Filtering resources and current time

2005-12-14 Thread Allan Ramirez

I think this is already filed..
See MNG-1832

-allan

Wim Deblauwe wrote:


I could use that too, so please file an issue.

2005/12/15, Edwin Punzalan [EMAIL PROTECTED]:
 


AFAIK, there is no ${} expression with the current time as value.  You
may want to file a jira request for this feature though.  The Maven 2
jira is here: http://jira.codehaus.org/browse/MNG


Piotr Bzdyl wrote:

   


Hello,

I would like to have something like this in my pom.xml

build
resources
  resource
directorysrc/main/resources/directory
filteringtrue/filtering
  /resource
/resources
/build

and in src/main/resources/app.properties:
app.buildTime=${currentTime}

to get current time (the time when I call mvn package for example) in
the place of ${currentTime}. Is there a maven built-in property
holding current time?

Best regards,
Piotrek

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

 


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


   



 




No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005

 



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

[m2] Filtering resources and current time

2005-12-12 Thread Piotr Bzdyl

Hello,

I would like to have something like this in my pom.xml

build
 resources
   resource
 directorysrc/main/resources/directory
 filteringtrue/filtering
   /resource
 /resources
/build

and in src/main/resources/app.properties:
app.buildTime=${currentTime}

to get current time (the time when I call mvn package for example) in 
the place of ${currentTime}. Is there a maven built-in property holding 
current time?


Best regards,
Piotrek

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