On Wednesday 29 October 2003 12:06, peter reilly wrote: > On Wednesday 29 October 2003 10:42, Stefan Bodewig wrote: > > On Fri, 24 Oct 2003, peter reilly <[EMAIL PROTECTED]> wrote: > > It would be Ant's core URI if that was the URI of the default > > namespace in the current scope and AntContrib's if it was theirs. > > > > > <ac:if> > > > <equals arg1="a" arg2="${prop}"/> > > > <then> > > > blab ... > > > </then> > > > <else> > > > blab.. > > > </else> > > > </ac:if> > > > > Assuming Ant's core URI was associated to the default namespace, you'd > > have to use ac:then and ac:else. > > This is not the current ant 1.6 behaviour. All elements belong to > the core URI, except typedef'ed elements and whatever the user > wants to pass to DynamicConfigurable# > > To change this would require (tricky) modifications to UnknownElement.cpp > and IntrospectionHelper.cpp.
Ok, the changes are not too tricky. However I am not too sure I like going from: <cpp:compiler id="compiler.options" extends="compiler.flags"> <defineset> <define name="_NO_SNMPv3"/> <define name="D_GNU_SOURCE" value="1"/> <define name="linux" value="1"/> <define name="PETER_BUILD" value="1"/> </defineset> <includepath location="${src.dir}"/> <includepath location="${src.dir}/include"/> <includepath location="${cdk.dir}/src/include"/> <sysincludepath location="${snmp++.dir}/include"/> <sysincludepath location="${agent++.dir}/include"/> <sysincludepath location="${log4cpp.dir}/include"/> <sysincludepath location="${sigc++.dir}"/> <sysincludepath location="${boost.dir}"/> <sysincludepath location="${libedit.dir}"/> <sysincludepath location="${thirdparty.dir}/dist/include"/> </cpp:compiler> to <cpp:compiler id="compiler.options" extends="compiler.flags"> <cpp:defineset> <cpp:define name="_NO_SNMPv3"/> <cpp:define name="D_GNU_SOURCE" value="1"/> <cpp:define name="linux" value="1"/> </cpp:defineset> <cpp:includepath location="${src.dir}"/> <cpp:includepath location="${src.dir}/include"/> <cpp:includepath location="${cdk.dir}/src/include"/> <cpp:sysincludepath location="${snmp++.dir}/include"/> <cpp:sysincludepath location="${agent++.dir}/include"/> <cpp:sysincludepath location="${log4cpp.dir}/include"/> <cpp:sysincludepath location="${sigc++.dir}"/> <cpp:sysincludepath location="${boost.dir}"/> <cpp:sysincludepath location="${libedit.dir}"/> <cpp:sysincludepath location="${thirdparty.dir}/dist/include"/> </cpp:compiler> one solution would be to allow both. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]