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
Earl, thank you again! Should have remembered that... This gets me closer, but protoc doesn't think I specified any input files. Perhaps this is now a question for the Google Protobuf forums! Chris From: Earl Hood To: Ant Users List Date: 04/14/2015 04:06 PM Subject:Re:

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
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 To: Ant Users List Date: 04/14/2015 03:20 PM Subject:Re:

Re: Exec Task Problem on Linux

2015-04-14 Thread Chris Barlock
Thank you, Steve. If I make the executable="/bin/sh" and uncomment the protoc command, I get: parsing buildfile jar:file:/usr/apache-ant-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/apache-ant-1.9.4/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file

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

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

Acessing ANTs execution graph

2015-04-14 Thread Stranzenbach, Ralf
Hi, i have a fairly complex build system that recently introduces some additional compexity. To describe my problem, i'll sketch a very simplified Ant build: This basic structure of the ANT file is required, because all ext