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

Eric Fetzer <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <1186940602.1338080.1417807432331.JavaMail.yahoo@jws10741.mail.gq1.yahoo.com>
Thanks for all of the replies!  I've got it working with:

<exec executable="sort" dir=".">
  <arg line="-u existingFile"/>
  <redirector output="newFile"/>
</exec>


 

On Friday, December 5, 2014 12:11 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.

--ewh

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
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.