Ant doesn't know anything about ${pom.id} (which is where <replace/> comes
from), and Maven/Jelly doesn't know anything about replace.properties so
never attempts to evaluate expressions in it.
What you probably want to do is in your jelly script:
<filter token="project.id" value="${pom.id}" />
But having not used <replace/> I don't know whether that will pick it up.
This is all in the ant realm though.
On a side note, this question is more appropriate for the maven-users list.
Cheers,
Brett
> -----Original Message-----
> From: Henrik W. Hansen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 8 October 2003 2:23 AM
> To: [EMAIL PROTECTED]
> Subject: dynamic properties and replacefilterfile
>
>
> Hi all
> We have been struggling with this problem an entire day now,
> so here goes:.
>
> We would like to perform the following replace
> <replace replacefilterfile="replace.properties" summary="YES"
> dir="c:/temp/"/>
> with replace.properties containing:
> @[EMAIL PROTECTED]
>
> But, @project.id@ does not get replaced with the actual value of the
> variable pom.id but with the string "${pom.id}".
>
> We have tried serval strategies. But being quite unfamiliar
> with jelly,
> non with success.
>
> Best regards Henrik
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>