Re: How to set content type in "get" task?

2016-03-19 Thread Chris Barlock
Is curl an option? You can run it with the Ant exec task. Chris From: Al Le To: Ant Users List Date: 03/17/2016 02:33 AM Subject:Re: How to set content type in "get" task? > No, the get task doesn't support setting the Accept-Header. > Probably pretty easy to add this via

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 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

Exec Task Problem on Linux

2015-04-14 Thread Chris Barlock
I have the following Ant script: When I run this, I get: [root@nc9042036240 ~]# /usr/apache-ant-1.9.4/bin/ant -v -f build.xml Apache Ant(TM) version 1.9.4 co