Re: Exec Task Problem on Linux

2015-04-14 Thread Steve Schlaifer
On Tue, Apr 14, 2015 at 03:04:28PM -0500, Earl Hood wrote: > On Tue, Apr 14, 2015 at 2:21 PM, Chris Barlock wrote: > > Thank you, Steve. If I make the executable="/bin/sh" and uncomment the > > protoc command, I get: > > You need the -c option to /bin/sh to indicate it should execute the command

Re: Exec Task Problem on Linux

2015-04-14 Thread Chris Barlock
Re: Exec Task Problem on Linux On Tue, Apr 14, 2015 at 2:21 PM, Chris Barlock wrote: > Thank you, Steve. If I make the executable="/bin/sh" and uncomment the > protoc command, I get: You need the -c option to /bin/sh to indicate it should execute the command that follows

Re: Exec Task Problem on Linux

2015-04-14 Thread Earl Hood
On Tue, Apr 14, 2015 at 2:21 PM, Chris Barlock wrote: > Thank you, Steve. If I make the executable="/bin/sh" and uncomment the > protoc command, I get: You need the -c option to /bin/sh to indicate it should execute the command that follows on the argument list. --ewh --

Re: Exec Task Problem on Linux

2015-04-14 Thread Chris Barlock
Re: Exec Task Problem on Linux On Tue, Apr 14, 2015 at 1:35 PM, Chris Barlock wrote: > I have the following Ant script: ... > Glob expansion is a shell function, hence the error you are getting since the file "*.proto" does not exist. Have a look at . It

Re: Exec Task Problem on Linux

2015-04-14 Thread Chris Barlock
of the command. [exec] /root/protoc/bin/protoc: /root/protoc/bin/protoc: cannot execute binary file [exec] Result: 126 Thoughts? Chris From: Steve Schlaifer To: Ant Users List Date: 04/14/2015 03:15 PM Subject:Re: Exec Task Problem on Linux

Re: Exec Task Problem on Linux

2015-04-14 Thread Earl Hood
On Tue, Apr 14, 2015 at 1:35 PM, Chris Barlock wrote: > I have the following Ant script: ... > Glob expansion is a shell function, hence the error you are getting since the file "*.proto" does not exist. Have a look at . It supports filesets. --ewh ---

Re: Exec Task Problem on Linux

2015-04-14 Thread Steve Schlaifer
On Tue, Apr 14, 2015 at 02:35:03PM -0400, Chris Barlock wrote: > I have the following Ant script: > > > > > value="/root/CCM/srcProtobufJava"/> > > > > > > > > > > >