ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mischler Adrian" <Adrian.Misch...@ferag.com>
Subject Troubles: Concat & Filterchain
Date Tue, 26 Oct 2010 06:25:46 GMT
Hello...
I work whit Apache Ant version 1.7.0 compiled on December 13 2006

Situation:
I like to modify the Trace.txt to Filter.txt (The attached Filter.txt
file is handmade). It does not work to use more then one <contains
value="blabla"/> 
in the linecontains. But if I use <linecontains negate="TRUE"> then I
can use more then one <contains value="blabla"/> in the linecontains.

Can you help me? I like to have the Filter.txt file in one step. The
example below does not work because the two <contains value=... have to
be in the same line!!!

Kind regards
Adrian Mischler


 <<Trace.txt>>  <<Filter.txt>> 

  <!-- === trcFilter
================================================================ --> 
  <target name="trcFilter" depends="" description="prepare for traces">

    <concat destfile="./Filter.txt" append="false">
      <fileset dir="./Import/" includes="./Trace.txt"/>
      <filterchain>
        <linecontains negate="FALSE">
          <contains value="2855,2820"/>
          <contains value="2822,2822"/>
        </linecontains>
      </filterchain>
    </concat>
    
  </target >




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************


Mime
View raw message