--- Peter Reilly <[EMAIL PROTECTED]> wrote: > I get a "BUILD SUCESSFUL"
Anyone care to try this one next?: <project> <touch file="foo" /> <fileset id="foo" file="foo" /> <clone cloneref="foo" id="ganger"> <filename name="foo" negate="true" /> </clone> <script language="beanshell"><![CDATA[ self.log(Arrays.asList(((org.apache.tools.ant.types.FileSet) (project.getReference("ganger"))).getSelectors(project)).toString()); ]]></script> <pathconvert property="ganger" pathsep="" setonempty="false" refid="ganger" /> <fail> <condition> <isset property="ganger" /> </condition> </fail> </project> TIA, Matt (had to learn to use <script>!) > > Peter > > Matt Benson wrote: > > >--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > > > > > > > >>CloneTest fails on my Linux machine outside of > Gump > >>as well. > >> > >> > > > >Hmm, can one or more of you Linux guys run this > >snippet for me? I do my Unix testing on Solaris > and > >don't have a Linux box set up... :( This is a > quick > >test to make sure we're not looking at the wrong > issue > >(clone vs. size selector): > > > ><project> > > <touch file="foo" /> > > <fail> > > <condition> > > <isfileselected file="foo"> > > <size when="less" value="0" /> > > </isfileselected> > > </condition> > > </fail> > ></project> > > > >Thanks, > >Matt > > > > > > > >>Cheers > >> > >> Stefan > >> > >> > >> > >> > >--------------------------------------------------------------------- > > > > > >>To unsubscribe, e-mail: > >>[EMAIL PROTECTED] > >>For additional commands, e-mail: > >>[EMAIL PROTECTED] > >> > >> > >> > >> > > > > > > > > > >__________________________________ > >Do you Yahoo!? > >The all-new My Yahoo! - Get yours free! > >http://my.yahoo.com > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]