Re: Exec Task Problem on Linux
Chris Barlock <[email protected]>
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <OF9EE47483.2038032C-ON87257E27.006C4676-85257E27.006C6734@us.ibm.com> |
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 <[email protected]> To: Ant Users List <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]