ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject xmlproperties task
Date Thu, 21 Feb 2008 09:15:01 GMT
Hi all,

we at forrest are in the middle to harmonize the definition of our
properties system and we want to switch to an xml based on

We already use this file in the rest of our application. The format is
as follow:

  <property name="dispatcher.theme" value="pelt"/>
  <property name="dispatcher.theme-ext" value=".fv"/>

Doing a change in our core ant build did not brought the expected

---   (revision 629705)
+++   (working copy)
@@ -77,6 +77,9 @@
 <!-- people should use -D switch, or <ant><property>s to override these
     <property name="project.home" location="." />
-    <property file="${project.home}/" />
+    <xmlproperty file="${project.home}/" 
+      semanticAttributes="true" keepRoot="false"/>
+    <echoproperties destfile="${project.home}/"/>

The last line is for debugging, but till now I did not get the
properties as I want them.

It will result in something like:

However regarding if I enable
semanticAttributes and use the above file slightly alternated:
    # codename: Dispatcher
    # Dispatcher is using a fallback mechanism for theming.
    # You can configure the theme name and its extension here
  <property id="dispatcher.theme" value="pelt"/>
  <property id="dispatcher.theme-ext" value=".fv"/>

I expected to find 
but i now only get:

My question is, is this a bug or have I overlooked something?

Thorsten Scherler                       
Open Source Java                      consulting, training and solutions

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message