ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: [GUMP@brutus]: Project test-ant (in module ant) failed
Date Wed, 16 Feb 2005 17:06:41 GMT
I get:
Buildfile: /home/preilly/learning/a/antbug/clone/build.xml
   [script] [{filenameselector name: foo negate: true casesensitive: true}]

BUILD SUCCESSFUL
Peter

Matt Benson wrote:

>--- 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
>
>
>
>  
>


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


Mime
View raw message