Re: a simple question regarding condition if/unless

2012-05-21 Thread Matt Benson
If I understand your question correctly, yes, you would have to add unless="test" everywhere you want to make target execution optional. Matt On Mon, May 21, 2012 at 11:06 AM, xsli2 wrote: > The target "test" calls two other targets: > > > > Now, I want to add some condition: when the property

a simple question regarding condition if/unless

2012-05-21 Thread xsli2
The target "test" calls two other targets: Now, I want to add some condition: when the property "abc" is available(regardless of its value), only run target "testB", skipping "testA". I know I can use unless="abc" in target "testA" definition block. The fact is that "testA" is similar pattern:

Re: Ant 1.8.2 schemavalidate and xmlcatalog

2012-05-21 Thread Susanne Wunsch
Hello, polymorphisme writes: > I try to use the task schemavalidate with xmlcatalog like this : > >classname="org.apache.xerces.parsers.SAXParser" > classpathref="${lib.dir}/xercesImpl-2.7.1.jar" > >disableDTD="false" f