ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wolfgang haefelinger <>
Subject Installing PropertyHelper
Date Thu, 11 Nov 2010 12:34:20 GMT

I'm trying to install my own property helper class

package org.example;
public class MyPropertyHelper extends {}

as shown in [1] along with a property def before and some <fail />
calls after the "switch"

<property name="foo" value="bar" />
<componentdef classname="org.example.MyPropertyHelper"

<fail if="foo" />
<fail if="ant.file" />
<fail if="ant.home" />

Turns out that all properties are .. gone! I would have expected that
"existing" property stacks are attached to the project and therefore
"shared" by nature.

So, what is the recommended way to have a property helper sharing properties?


Wolfgang Häfelinger
häfelinger IT - Applied Software Architecture
+31 648 27 61 59

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

View raw message