Re: <exec> kicking my butt with something very simple

Antoine Levy Lambert <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
As Dominique mentioned,  you can use a nested redirector element with a nested outputfilterchain 

something like 

<exec>
   <redirector output=“myfile.log">
      <outputfilterchain>
          <sortfilter/>
      </outputfilterchain>
   </redirector>
</exec>


see http://ant.apache.org/manual/Types/redirector.html
and http://ant.apache.org/manual/Types/filterchain.html

Regards,

Antoine

On Dec 5, 2014, at 2:29 PM, Dominique Devienne <[email protected]> wrote:

> On Fri, Dec 5, 2014 at 8:09 PM, Earl Hood <[email protected]> wrote:
> 
>> On Fri, Dec 5, 2014 at 1:04 PM, Dominique Devienne <[email protected]>
>> wrote:
>>> Strange, I'd have thought the XML parser would choke before you even got
>> to
>>> running something. > is one of those reserved characters in XML, that
>> must
>>> be replaced with a "character entity", "&gt;" (w/o the quotes) in this
>> case.
>> 
>> No.  A lone '>' causes no problems.
>> 
>> It is good practice to escape it when a literal '>' is needed, but it
>> is not required.
>> 
> 
> Thanks. I now see in http://www.w3.org/TR/REC-xml/#syntax that only < and &
> are required to be "escaped". --DD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.