ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: Concatfilter issue
Date Tue, 24 Aug 2004 15:54:50 GMT
Can you show an example?

I tested with:
  <target name="filter">
    <concat>
      <filterchain>
        <concatfilter prepend="not-present"/>
      </filterchain>
      hello world
    </concat>
  </target>

and get:
/home/preilly/learning/a/concat/build.xml:3: Error while concatenating: 
/home/preilly/learning/a/concat/not-present (No such file or directory)

Peter

Dick, Brian E. wrote:

>FYI. The concatfilter does not fail if the file does not exist. I
>expected a fail when the file does not exists. Maybe the concatfilter
>needs a "optional" attribute similar to import.
>
>I added available and fail tasks as a workaround.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>


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


Mime
View raw message