Thank you, Earl. Was not aware of apply.  That worked nicely!  I would 
love to understand why exec does not work, though, when the executable is 
"/bin/sh" and the protoc command is the first arg.

Chris




From:   Earl Hood <earlh...@gmail.com>
To:     Ant Users List <user@ant.apache.org>
Date:   04/14/2015 03:20 PM
Subject:        Re: Exec Task Problem on Linux



On Tue, Apr 14, 2015 at 1:35 PM, Chris Barlock wrote:

> I have the following Ant script:
...
>             <arg value="${srcDir}/protobuf/asf/*.proto"/>

Glob expansion is a shell function, hence the error you are getting
since the file "*.proto" does not exist.

Have a look at <apply>.  It supports filesets.

--ewh

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


Reply via email to