ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: [GUMP@brutus]: Project test-ant (in module ant) failed
Date Wed, 16 Feb 2005 16:55:18 GMT
--- Peter Reilly <peterreilly@apache.org> 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 <bodewig@apache.org> 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:
> >>dev-unsubscribe@ant.apache.org
> >>For additional commands, e-mail:
> >>dev-help@ant.apache.org
> >>
> >>
> >>    
> >>
> >
> >
> >
> >		
> >__________________________________ 
> >Do you Yahoo!? 
> >The all-new My Yahoo! - Get yours free! 
> >http://my.yahoo.com 
> > 
> >
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> >For additional commands, e-mail:
> dev-help@ant.apache.org
> >
> >
> >
> >  
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message