On Monday 17 November 2003 16:11, Matt Benson wrote: > --- peter reilly <[EMAIL PROTECTED]> wrote: > > For example: > > > > <project xmlns:antcontrib="antlib:net.sf.antcontrib" > > xmlns:acme="antlib:org.acme.anttasks"> > > <target name="show"> > > <antcontrib:if> > > <antcontrib:or> > > <antcontrib:equals arg1="yes" arg2="${prop}"/> > > <acme:fileready file="${file}"/> > > </antcontrib:or> > > <antcontrib:then> > > <echo>The arguments are equal</echo> > > </antcontrib:then> > > </antcontrib:if> > > </target> > > </project> > > Okay, how about redoing the same example with: > > <antcontrib:if xmlns="antlib:net.sf.antcontrib"> > ... > </antcontrib:if> > > or will that syntax be available at all? Yes, this is std xml (not visible from ant processing code):
<project xmlns:antcontrib="antlib:net.sf.antcontrib" xmlns:ant="antlib:org.apache.tools.ant" xmlns:acme="antlib:org.acme.anttasks"> <target name="show"> <if xmlns="antlib:net.sf.antcontrib"> <or> <equals arg1="yes" arg2="${prop}"/> <acme:fileready file="${file}"/> </or> <then> <ant:echo>The arguments are equal</ant:echo> </then> </if> </target> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]