I've coded this into the resource filtering plugin locally.  See mailing
list messages...

http://www.nabble.com/Property-filter-with-xml-files-t1405875.html#a3784833

I would assume you'd want this for resource filtering.

I've never used the ant task, but looking at this...

http://ant.apache.org/manual/index.html

the way I've coded it works similar...

<root>
    <properties>
      <foo>bar</foo>
    </properties>
  </root>

would translate to...

root.properties.foo = bar

However, I didn't even read the section on 'Semantic Attributes' yet, so it
doesn't do that.

So far I've just hacked together the code.  I haven't changed the unit tests
or anything.

On 4/12/06, Aymeric Alibert <[EMAIL PROTECTED] > wrote:
>
> Ant provides a nice way to load properties from an Xml document: the
> XmlProperty task.
> Does maven support that type of property loading?
>
> Thanks,
>
> Aymeric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to