ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Ssmoller" <>
Subject <ant/> and <propertyset/>
Date Mon, 16 Aug 2004 12:59:48 GMT
<ant/> and properties one more time :)

in i learned
that <property/> is inherited when having call-chains of <ant/> and

in i learned
that <propertyset/> is another way to "pass down" properties.

but now it seems that properties passed by <propertyset/> are NOT inherited
(?) In my project these properties are passed exactly one "level" into the
newly created project.

whats wrong ?

btw: i had a short look at the code. in i read:

    private void overrideProperties() throws BuildException {
        // remove duplicate properties - last property wins
        // Needed for backward compatibility
        Set set = new HashSet();
        for (int i = properties.size() - 1; i >= 0; --i) {
this behaviour (read the comment) is exactly the opposite of what is
expected i guess because the general ant behaviour is : first property wins 
... (just a thought).


NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos

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

View raw message