On 2010-06-18, Bruce Atherton wrote:

> I would argue for the opposite (although I don't know how practical it
> is). Would it be possible for loadproperties to not only prefix the
> properties that are defined, but also the properties to be expanded?
> So "y=${x}" becomes "foo.y=${foo.x}"?

loadproperties already can.

With

y=${x}

and

<loadproperties ... prefix="foo"/>

you get

foo.y=${foo.x}

and with

<loadproperties>
  <filterchain>
    <prefixlines prefix="foo."/>
  </filterchain>
</loadproperties>

you get

foo.y=${x}

It is <property>'s behavior that doesn't provide the same control and
where we have had changes between the past three Ant releases.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to