exec task fails for service account

2017-01-17 Thread Sebastian Götz
Hi guys, I have some troule with my ANT build. We just migrated our CI-Server (Jenkins) to a new machine. The former was a Windows Server 2008 R2 and now we have a Windows 10 machine. After installing Jenkins and ANT and Java and all the other stuff and restoring the configuration backup I can

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
h=/root/CCM/src/protobuf/asf /root/CCM/src/protobuf/asf/*.proto > > (It silently compiles a set of Google Protobuf files.) I originally set > the executable to "/bin/sh" and the protoc command was the first arg, > which you can see commented out above. With this arrangemen

Exec Task Problem on Linux

2015-04-14 Thread Chris Barlock
"/bin/sh" and the protoc command was the first arg, which you can see commented out above. With this arrangement, the exec task failed saying "cannot execute binary file" for protoc. Where have I gone wrong here? Thanks! Chris

R: Exception with Ant exec task

2012-11-22 Thread Ravagli Virgilio
] Inviato: giovedì 22 novembre 2012 9.38 A: Ant Users List Oggetto: Exception with Ant exec task Hi , Below is the code snippet i am trying to execute : Exception i am getting : Execute failed

Re: Problems with exec task on Windows machine

2012-04-12 Thread ivadim
It is works good.:) Thank you Harold. -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-with-exec-task-on-Windows-machine-tp5627489p5635806.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: Problems with exec task on Windows machine

2012-04-12 Thread Harold Putman
. But > nothing changed :( > > I found that new invoke_targets list saving old information > > Setting ro project property: ant.project.invoked-targets -> > run,clean,clean,clean,clean,clean,clean,clean,clean > > > -- > View this message in context: > http://a

Re: Problems with exec task on Windows machine

2012-04-11 Thread ivadim
ro project property: ant.project.invoked-targets -> run,clean,clean,clean,clean,clean,clean,clean,clean -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-with-exec-task-on-Windows-machine-tp5627489p5633602.html Sent from the Ant - Users mailing list archive

Re: [SPAM] Problems with exec task on Windows machine

2012-04-11 Thread Harold Putman
update my ant package in some reasons. And it would be good to find > workaround > > -- > View this message in context: > http://ant.1045680.n5.nabble.com/Problems-with-exec-task-on-Windows-machine-tp5627489p5630671.html > Sent from the Ant - Users mailing list archive at Nabble

Re: [SPAM] Problems with exec task on Windows machine

2012-04-10 Thread ivadim
of "ant run -d" http://ant.1045680.n5.nabble.com/file/n5630671/log.txt log.txt I can't update my ant package in some reasons. And it would be good to find workaround -- View this message in context: http://ant.1045680.n5.nabble.com/Problems-with-exec-task-on-Windows-machine-tp56

Re: [SPAM] Problems with exec task on Windows machine

2012-04-10 Thread Harold Putman
On Tue, Apr 10, 2012 at 2:54 AM, Jarek Czekalski wrote: > On 1.8.2 and same windows it runs fine. > > W dniu 2012-04-09 16:54, ivadim pisze: > > Hello. >> I hav

Re: [SPAM] Problems with exec task on Windows machine

2012-04-09 Thread Jarek Czekalski
On 1.8.2 and same windows it runs fine. W dniu 2012-04-09 16:54, ivadim pisze: Hello. I have some problems with exec task. I have build.xml: When I run

Problems with exec task on Windows machine

2012-04-09 Thread ivadim
Hello. I have some problems with exec task. I have build.xml: When I run "ant run" command I expected to see CLEAN message. But actualy this is r

RE: Regarding exec task

2012-02-08 Thread Adam Bruss
: Wednesday, February 08, 2012 10:18 AM To: Ant Users List Subject: Re: Regarding exec task This sounds good, but won't it kill processes that wasn't started by my script too? From: Adam Bruss To: Ant Users List ; Vimil Saju Sent: Wednesday, February 8,

Re: Regarding exec task

2012-02-08 Thread Vimil Saju
This sounds good, but won't it kill processes that wasn't started by my script too? From: Adam Bruss To: Ant Users List ; Vimil Saju Sent: Wednesday, February 8, 2012 6:34 AM Subject: RE: Regarding exec task Set failonerror=false on the parent

RE: Regarding exec task

2012-02-08 Thread Adam Bruss
ailto:vimils...@yahoo.com] Sent: Tuesday, February 07, 2012 10:11 PM To: Ant Users List Subject: Regarding exec task Hi, I noticed that on windows, if I use the exec task to run a batch script which in turn starts other processes then if kill ant then the sub-processes created by the batch script

Regarding exec task

2012-02-07 Thread Vimil Saju
Hi, I noticed that on windows, if I use the exec task to run a batch script which in turn starts other processes then if kill ant then the sub-processes created by the batch script still continues to run. I did some research on google and found that the default java implementation of

Ant exec task not writing STDOUT to console or to file in Windows.

2011-09-27 Thread Nagesh S
Hi, I am using the exec task to execute a program whose versions exist on Windows and Linux both. The build file is added in the Ant view of an Eclipse IDE. When the IDE is running on Windows, the STDOUT (to which, command would write to) is not directed to the output file as mentioned in the

RE: ant exec task message priority

2011-07-14 Thread Echlin, Robert
essage- > From: Stefan Bodewig [mailto:bode...@apache.org] > Sent: Thursday, July 14, 2011 7:33 AM > To: user@ant.apache.org > Subject: Re: ant exec task message priority > > On 2011-07-12, Adam Bruss wrote: > > > ant 1.7.0 would naturally classify messages from mak

Re: ant exec task message priority

2011-07-14 Thread Stefan Bodewig
On 2011-07-12, Adam Bruss wrote: > ant 1.7.0 would naturally classify messages from make with priorities of > info, warning or error. > ant 1.8.2 classifies all messages from make as priority info! Ant really only reads stderr and stdout from make. For everything that goes to stderr it will use

RE: ant exec task message priority

2011-07-13 Thread Martin Gainty
nt donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: abr...@awrcorp.com > To: user@ant.apache.org > Subject: RE: ant exec task message priority > Date: Wed, 13 Jul 2011 16:34:58 + > &g

RE: ant exec task message priority

2011-07-13 Thread Adam Bruss
240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W: http://www.awrcorp.com -Original Message- From: Echlin, Robert [mailto:robert.ech...@windriver.com] Sent: Wednesday, July 13, 2011 11:28 AM To: Ant Users List Subject: RE: ant exec task message priority Hi Adam, I'm not familiar

RE: ant exec task message priority

2011-07-13 Thread Echlin, Robert
or the ant exec task to see if they show differences of this nature? Rob > -Original Message- > From: Adam Bruss [mailto:abr...@awrcorp.com] > Sent: Tuesday, July 12, 2011 3:42 PM > To: user@ant.apache.org > Subject: ant exec task message priority > > We run make with t

ant exec task message priority

2011-07-12 Thread Adam Bruss
We run make with the ant exec task ant 1.7.0 would naturally classify messages from make with priorities of info, warning or error. ant 1.8.2 classifies all messages from make as priority info! This causes our cruisecontrol emails to contain no messages from the make build. Why does ant 1.8.2

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-04 Thread Antoine Levy-Lambert
Hello Stein Inge, I am sure that ant does a good at keeping together a command line argument defined with In fact I have even checked this assertion on Windows/Cygwin - build.xml - contents of parrot.sh #!/bin/bash i=0 for arg in "$@" ; do i=$(( $i + 1 )) echo $i " arg

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-02 Thread Stein Inge Morisbak
That's what I thought also, but in practice it doesn't work, at least not on my machine (mac os x) I know about the sshexec task, but the problem with this task is that it is not possible to give options to the ssh command. I left that out in my example, but I need to give the '-tt' option to s

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-01 Thread Antoine Levy-Lambert
Hi, in theory, this should work : when you use I am trying to call ssh using the ant exec task from maven. My problem is that I can't figure out how to escape spaces in usernames. I have tried: - To unsubs

ant exec task: ssh username contains spaces, how to escape?

2011-02-01 Thread Stein Inge Morisbak
I am trying to call ssh using the ant exec task from maven. My problem is that I can't figure out how to escape spaces in usernames. I have tried: ... and also: ... and finally: ... but no luck :-( Any

Logging in ANT from an exec task running javaws.exe

2010-05-25 Thread christopher smith
I'm planning on running a java program using Web Start in an exec task. I would like the logging in my programs to log to the ANT logger that started the exec task. I'm not clear on how this is done. My program will be using commons-logging and I'm open to anything from there. Any suggestions?

How I can use p4.change in exec task

2010-03-29 Thread jhoomsharabi
Hi All, I am stuck to one of the simple issue, I want to use P4Change of Perforce task in one of my exec task the way I am able to use it in P4Edit Same way I want to use it in one of my create-review target under exec task like this: but when I use

parameterizing the "error" attribute of an exec task

2010-02-28 Thread Michael Bolin
I am creating a macrodef that calls . I want to make it possible to parameterize the "error" attribute by doing something like: The problem is that by defining

RE: Windows 7 and ant exec task

2009-12-22 Thread Alec Fernandez
] >> Sent: Tuesday, December 22, 2009 3:13 PM >> To: Ant Users List >> Subject: RE: Windows 7 and ant exec task >> >> The .bat file works fine on Server 2003 and XP. It doesn't work on >> Windows 7. >> >> Thanks, >> Greg >> -Original

RE: Windows 7 and ant exec task

2009-12-22 Thread Thompson, Greg D. (LNG-DFW)
List >Betreff: RE: Windows 7 and ant exec task > >Zzz is a .bat file. If I specify the full path of zzz, it executes >fine. > >I'd rather not use the full path. The path to the executable will be >different on the dev workstations and the build/ci server. > >

AW: Windows 7 and ant exec task

2009-12-22 Thread Jan.Materne
>Betreff: RE: Windows 7 and ant exec task > >Zzz is a .bat file. If I specify the full path of zzz, it executes >fine. > >I'd rather not use the full path. The path to the executable will be >different on the dev workstations and the build/ci server. > >Thank

RE: Windows 7 and ant exec task

2009-12-22 Thread Thompson, Greg D. (LNG-DFW)
mx.de] Sent: Monday, December 21, 2009 4:41 PM To: Ant Users List Subject: Re: Windows 7 and ant exec task Hello Greg, what is zzz ? is it an exe ? a shell script (.cmd, .bat) ? if you specify the full path of zzz, can you then execute it ? Regards, Antoine Thompson, Greg D. (LNG-DFW) wrote:

Re: Windows 7 and ant exec task

2009-12-21 Thread Antoine Levy Lambert
Hello Greg, what is zzz ? is it an exe ? a shell script (.cmd, .bat) ? if you specify the full path of zzz, can you then execute it ? Regards, Antoine Thompson, Greg D. (LNG-DFW) wrote: I'm using Windows 7. When I use the ant exec task, I get Cannot run program "zzz": Crea

Windows 7 and ant exec task

2009-12-21 Thread Thompson, Greg D. (LNG-DFW)
I'm using Windows 7. When I use the ant exec task, I get Cannot run program "zzz": CreateProcess error=2, The system cannot find the file specified. When I run the program "zzz" from the command line, it works fine. The folder that program "zzz" is i

RE: ant exec task trouble parsing quotes

2008-12-22 Thread Harnack Frank
Hello, you should try the java-Task. Regards Frank -Original Message- From: Ben Tu [mailto:b...@adobe.com] Sent: Tuesday, December 23, 2008 1:43 AM To: Ant Users List Subject: ant exec task trouble parsing quotes Hi, I am trying to run a java command using exec task in ant. I ran

ant exec task trouble parsing quotes

2008-12-22 Thread Ben Tu
Hi, I am trying to run a java command using exec task in ant. I ran into the error because one of the java command argument has space between. Any idea? Please help. Thanks, Here is my ant task in build.xml file

Re: exec task with *

2008-09-12 Thread Christoph Dittberner
Hi, failonerror is supported ... I use this in my shellscriptlets. But your commandline : cd /home/${usr}/doc zip -ll doc.jar *.properties ignores the errorcode. Therefore I wrote your two commands in one row concatenated with the *&&*. If this doesn't work try something like cd /home/$

Re: exec task with *

2008-09-11 Thread glenn opdycke-hansen
Do you intent to create a zip or a jar file? What is the value of ${usr}? I suggest that the script be written to use the appropriate task, either or For example, usr = ${usr} --glenn On Thu, Sep 11, 2008 at 3:04 PM, I am Who i am <[EMAIL PROTECTED]> wrote: > Hi All > > I'm trying to zip one

Re: exec task with *

2008-09-11 Thread I am Who i am
Thanks for your reply, I think failonerror is not supported, coz i tried that already On Thu, Sep 11, 2008 at 4:30 PM, Christoph Dittberner < [EMAIL PROTECTED]> wrote: > hi you are who you are, > > I guess this problem occurs because YOU (your script) ignores the errorcode > of the cd-command. >

Re: exec task with *

2008-09-11 Thread Christoph Dittberner
hi you are who you are, I guess this problem occurs because YOU (your script) ignores the errorcode of the cd-command. Try something like that: cd /home/${usr}/doc && zip -ll doc.jar *.properties I am Who i am schrieb: Hi All I'm trying to zip one folder, with some specific files from i

exec task with *

2008-09-11 Thread I am Who i am
Hi All I'm trying to zip one folder, with some specific files from it as part of build like but this throws error zip warning: name not matched: *.properties so i tried to use task from ant-contrib cd /home/${usr}/doc zip -ll doc.jar *.properties This works, but i have probl

Re: Continu exec task, while leaving ant

2008-07-12 Thread jantje
> > > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/Continu-exec-task%2C-whi

Re: Continu exec task, while leaving ant

2008-07-11 Thread Gilbert Rebhan
jantje schrieb: works with apache tomcat AND with qemu, I came to this conclusion after doing some tests.. They do not work, when they are in from ant-contrib, so this does not work: RESULT: "BUILD SUCCESFUL", nothing else.. a small test [EMAIL PR

RE: Continu exec task, while leaving ant

2008-07-11 Thread jantje
-- Java1.5+ proxy settings: Direct connection Rebhan, Gilbert wrote: > > > > > -Original Message- > From: jantje [mailto:[EMAIL PROTECTED] > Sent: Friday, July 11, 2008 10:09 AM > To: user@ant.apache.org > Subject: RE: Continu exec task, while

RE: Continu exec task, while leaving ant

2008-07-11 Thread Rebhan, Gilbert
-Original Message- From: jantje [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2008 10:09 AM To: user@ant.apache.org Subject: RE: Continu exec task, while leaving ant /* Thanks.. I have tryes all your options: nothing worked. And yes, bash is my login shell.. Other exec commands

RE: Continu exec task, while leaving ant

2008-07-11 Thread jantje
bert wrote: > > > > > -Original Message- > From: jantje [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 8:06 PM > To: user@ant.apache.org > Subject: RE: Continu exec task, while leaving ant > > /* > Thanks! The -task works now.. f.i. > >

RE: Continu exec task, while leaving ant

2008-07-10 Thread Rebhan, Gilbert
-Original Message- From: jantje [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 8:06 PM To: user@ant.apache.org Subject: RE: Continu exec task, while leaving ant /* Thanks! The -task works now.. f.i. However, when using it with the -task, I get no error

RE: Continu exec task, while leaving ant

2008-07-10 Thread jantje
]: Rebhan, Gilbert wrote: > > > > > -Original Message- > From: jantje [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 12:06 AM > To: user@ant.apache.org > Subject: Re: Continu exec task, while leaving ant > > /* > Thanks. > >

RE: Continu exec task, while leaving ant

2008-07-09 Thread Rebhan, Gilbert
-Original Message- From: jantje [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 12:06 AM To: user@ant.apache.org Subject: Re: Continu exec task, while leaving ant /* Thanks. But I have problems installing ant-contrib, from the website: grab the ant-contrib module from

Re: Continu exec task, while leaving ant

2008-07-09 Thread jantje
forge.net/tasks/tasks/forget.html > > > Regards, Gilbert > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/Continu-exec-task%2C-while-leaving-ant-

Re: Continu exec task, while leaving ant

2008-07-07 Thread Olivier Gies
ient, please contact the sender and delete all copies.* Original Message Subject: Re: Continu exec task, while leaving ant From: jantje <[EMAIL PROTECTED]> To: user@ant.apache.org Date: 07/07/2008 22:20 Thanks, but the task does not have an fork attribute in the do

Re: Continu exec task, while leaving ant

2008-07-07 Thread Gilbert Rebhan
jantje schrieb: Hi there, is it possible to start (in ant) something in a shell and let this running, while stopping ant. f.i: with antcontrib ... you may kick off a new process, see = http://ant-contrib.sourceforge.net/tasks/tasks/forget.html Regards, Gilbert -

RE: Continu exec task, while leaving ant

2008-07-07 Thread jantje
awn" and "fork" attributes of task (see Ant User manual > for usage) > > -Message d'origine- > De : jantje [mailto:[EMAIL PROTECTED] > Envoyé : lundi 7 juillet 2008 20:45 > À : user@ant.apache.org > Objet : Continu exec task, while leaving ant >

RE: Continu exec task, while leaving ant

2008-07-07 Thread Olivier Gies
Use the "spawn" and "fork" attributes of task (see Ant User manual for usage) -Message d'origine- De : jantje [mailto:[EMAIL PROTECTED] Envoyé : lundi 7 juillet 2008 20:45 À : user@ant.apache.org Objet : Continu exec task, while leaving ant Hi there, is it

Continu exec task, while leaving ant

2008-07-07 Thread jantje
in context: http://www.nabble.com/Continu-exec-task%2C-while-leaving-ant-tp18315876p18315876.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: Pipeline in exec-task

2008-07-02 Thread Rebhan, Gilbert
-Original Message- From: jantje [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 1:58 AM To: user@ant.apache.org Subject: Pipeline in exec-task /* Hi there, I need to do a /bin/bash operation, the "|" is a pipe: find /tmp/module/ -type d | xargs chmod -v 755; &q

Re: Pipeline in exec-task

2008-07-02 Thread Upul Godage
Check out the 'output', 'error', 'logError' and other attributes in the exec task to control the output. http://ant.apache.org/manual/CoreTasks/exec.html Upul On Wed, Jul 2, 2008 at 4:12 PM, jantje <[EMAIL PROTECTED]> wrote: > > Ok (yes, I am working in

Re: Pipeline in exec-task

2008-07-02 Thread Andrew Clegg
2008/7/2 jantje <[EMAIL PROTECTED]>: > > Ok (yes, I am working in /bin/bash), now I added this line, but it still does > not suppress the output: () > > > > > > > Isn't this because ant doesn't start processes via bash (or any other shell), but invokes them directly? It

Re: Pipeline in exec-task

2008-07-02 Thread jantje
nd in order to suppress output (at > the > OS level). > > Gabor > > On Tue, Jul 1, 2008 at 5:13 PM, jantje <[EMAIL PROTECTED]> wrote: > >> >> >> A second question about : >> >> Is it possible not to have output to the shell from ? >> >

Re: Pipeline in exec-task

2008-07-02 Thread Andrew Clegg
ant but it would be useful. Andrew. On 2 Jul 2008, at 00:58, jantje <[EMAIL PROTECTED]> wrote: Hi there, I need to do a /bin/bash operation, the "|" is a pipe: find /tmp/module/ -type d | xargs chmod -v 755; "find" I can include in an exec-task:

Re: Pipeline in exec-task

2008-07-01 Thread Gabor Maghera
> > Is it possible not to have output to the shell from ? > > While performing the exec-task I get no text output, but when finishing the > task, I get all the output at once.. I need something like quit or > verbose.. > > Thanks.. > -- > View this message in context:

Re: Pipeline in exec-task

2008-07-01 Thread jantje
A second question about : Is it possible not to have output to the shell from ? While performing the exec-task I get no text output, but when finishing the task, I get all the output at once.. I need something like quit or verbose.. Thanks.. -- View this message in context: http

Pipeline in exec-task

2008-07-01 Thread jantje
Hi there, I need to do a /bin/bash operation, the "|" is a pipe: find /tmp/module/ -type d | xargs chmod -v 755; "find" I can include in an exec-task: But the result of this exec-task has to be "piped" to: xargs chmod -v

Re: read environment variables set by bat file, which is run by ant exec task

2008-04-30 Thread Steve Loughran
Raja Nagendra Kumar wrote: Hi, Is it possible to read the properties which are set by bat file (this bat file is run with in ant using exec command. Basically teh bat file should run in the same process.. tried spam="false" in exec but does not work.. The above one shoul

read environment variables set by bat file, which is run by ant exec task

2008-04-30 Thread Raja Nagendra Kumar
properties as set by auto.bat. I know it is a bad way.. but for some time, I am looking for such solution.. Regards, Nagendra -- View this message in context: http://www.nabble.com/read-environment-variables-set-by-bat-file%2C-which-is-run-by-ant-exec-task-tp16985423p16985423.html Sent from the A

Re: Exec task: Args not passed to task

2008-04-29 Thread Xavi
Bug 44900 2008/4/29, Xavi <[EMAIL PROTECTED]>: > > Hi, > > Ok, Im preparing a testcase (it doesnt work only when executing ant from > java, using ant's api), and I will open a bug with testcase attached. > > > 2008/4/29, Peter Reilly <[EMAIL PROTECTED]>: > > > > can you make a selfcontained build.

Re: Exec task: Args not passed to task

2008-04-29 Thread Xavi
Hi, Ok, Im preparing a testcase (it doesnt work only when executing ant from java, using ant's api), and I will open a bug with testcase attached. 2008/4/29, Peter Reilly <[EMAIL PROTECTED]>: > > can you make a selfcontained build.xml that shows the > problem, this will help in tracking down the

Re: Exec task: Args not passed to task

2008-04-28 Thread Peter Reilly
can you make a selfcontained build.xml that shows the problem, this will help in tracking down the problem. Also, can you open a bugzilla issue for the problem, this will help in tracking the issue. Peter On Tue, Apr 29, 2008 at 7:46 AM, Xavi <[EMAIL PROTECTED]> wrote: > Hi, > > I tried it too.

Re: Exec task: Args not passed to task

2008-04-28 Thread Xavi
Hi, I tried it too. It doesn't work -nested args are ignored- :( I forgot to say that I'm running ant in java 1.5. I changed ant's libs (I used again ant 1.6) and args work (arg line arg value, it doesn't matter). But I need to use ant 1.7 :/ 2008/4/28, David Weintraub <[EMAIL PROTECTED]>: > >

Re: Exec task: Args not passed to task

2008-04-28 Thread David Weintraub
What if you used the instead of ? That is: On Mon, Apr 28, 2008 at 3:20 AM, Xavi <[EMAIL PROTECTED]> wrote: > Hi, I'm migrating an app from Ant 1.6.1 to Ant 1.7.0, and I have problems > with exec tasks. Ant execute task without passing arguments to process! > > For example, I have this

Exec task: Args not passed to task

2008-04-28 Thread Xavi
Hi, I'm migrating an app from Ant 1.6.1 to Ant 1.7.0, and I have problems with exec tasks. Ant execute task without passing arguments to process! For example, I have this task definition:

RE: exec task

2008-04-09 Thread Shawn Castrianni
:22 AM To: Ant Users List Subject: Re: exec task you can under bash.. Buona fortuna Martin- - Original Message - From: "Shawn Castrianni" <[EMAIL PROTECTED]> To: "'Ant Users List'" Sent: Wednesday, April 09, 2008 11:00 AM Subject: RE: exec task Will t

Re: exec task

2008-04-09 Thread Martin Gainty
you can under bash.. Buona fortuna Martin- - Original Message - From: "Shawn Castrianni" <[EMAIL PROTECTED]> To: "'Ant Users List'" Sent: Wednesday, April 09, 2008 11:00 AM Subject: RE: exec task Will the semicolon trick of executing more than on

RE: exec task

2008-04-09 Thread Shawn Castrianni
Will the semicolon trick of executing more than one command with one exec task work on all platforms?? --- Shawn Castrianni -Original Message- From: Vallon, Justin [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 9:54 AM To: Ant Users List Subject: RE: exec task Shawn, '

RE: exec task

2008-04-09 Thread Vallon, Justin
y, April 08, 2008 11:32 PM To: 'user@ant.apache.org' Subject: exec task Oh yeah, and it would be nice if one exec task could continue a previous exec task environment. So if one exec task calls a batch file that sets some env variables or something, the next exec task could have an option t

exec task

2008-04-08 Thread Shawn Castrianni
Oh yeah, and it would be nice if one exec task could continue a previous exec task environment. So if one exec task calls a batch file that sets some env variables or something, the next exec task could have an option to continue the environment setup by the previous exec task and execute

exec task improvements

2008-04-08 Thread Shawn Castrianni
Does anyone know of any improvements to the exec task coming? Or perhaps a different task that has more functionality? 1. I need the ability to have conditional statements inside to control the arg's and/or env's 2. I need the ability to load environment variables int

Problem with exec task

2008-01-14 Thread Marc Gimpel
I try to run this in an Ant exec task: http://ftp7.us.postgresql.org/pub/postgresql//binary/v8.2.6/linux/rpms/redhat/rhel-5/postgresql-8.2.6-1PGDG.rhel5.i686.rpm"/> http://ftp7.us.postgresql.org/pub/postgresql//binary/v8.2.6/linux/rpms/redhat/rhel-5/postgres

Re: Finding the command from exec task

2007-09-27 Thread Peter Reilly
Also, remember that after this the command line arguments gets passed to java's Process class and on WINDOWS the arguments get processed futher - especially with regards to " and '. Peter On 9/27/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Hi > > > There aren't any parameters to this task to c

Re: Finding the command from exec task

2007-09-27 Thread Kevin Jackson
Hi > There aren't any parameters to this task to capture that information, any > idea how I might get this information? > try ant -debug, it should list the entire command line Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

AW: Finding the command from exec task

2007-09-27 Thread Jan.Materne
run Ant with -verbose option and you'll see the command. Jan >-Ursprüngliche Nachricht- >Von: Dan Vint [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 27. September 2007 07:16 >An: user@ant.apache.org >Betreff: Finding the command from exec task > >I have a

Finding the command from exec task

2007-09-27 Thread Dan Vint
I have a situation where I'm using the exec task to run a program. The underlying program is sensitive to the use of double or single quotes. At the command line without Ant I can get two different results from the program I'm calling. When I put this call into Ant I get the result fr

Re: Getting the Exec task to shut up

2007-05-22 Thread David Weintraub
David Weintraub <[EMAIL PROTECTED]> wrote: > As part of our build process, I have to convert DOS line endings to > Unix line endings on shell script we package in our tarball. > > I use the "dos2unix" command for that which I've placed inside a shell > script

Re: Getting the Exec task to shut up

2007-05-22 Thread Peter Reilly
x line endings on shell script we package in our tarball. I use the "dos2unix" command for that which I've placed inside a shell script. Then, I have the ant "exec" task run the shell script. A funny thing, my shell script produces no output. I've used the "--quie

Getting the Exec task to shut up

2007-05-22 Thread David Weintraub
As part of our build process, I have to convert DOS line endings to Unix line endings on shell script we package in our tarball. I use the "dos2unix" command for that which I've placed inside a shell script. Then, I have the ant "exec" task run the shell script. A fun

Re: AW: using * in arg of exec task

2007-02-12 Thread Martin M
ing due to the * resolution. Regards, Martin Jan.Materne wrote: > > > >>-Ursprüngliche Nachricht- >>Von: Martin M [mailto:[EMAIL PROTECTED] >>Gesendet: Montag, 12. Februar 2007 11:08 >>An: user@ant.apache.org >>Betreff: using * in arg of exec

AW: using * in arg of exec task

2007-02-12 Thread Jan.Materne
ve. But if you need wildcard expansion (ClassOne.class ClassTwo.class) you have to do that for you own in Ant: Jan >-Ursprüngliche Nachricht- >Von: Martin M [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 12. Februar 2007 11:08 >An: user@ant.apache.org >Betreff: using * i

AW: using * in arg of exec task

2007-02-12 Thread Jan.Materne
>-Ursprüngliche Nachricht- >Von: Martin M [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 12. Februar 2007 11:08 >An: user@ant.apache.org >Betreff: using * in arg of exec task > > >Hi all, > >I would like to call a helper script in my ant-task, but >someh

using * in arg of exec task

2007-02-12 Thread Martin M
Hi all, I would like to call a helper script in my ant-task, but somehow I dont't get it running. I would like to call "myCript /path/to/classes/Class*.class /path/to/otherClasses/ClassImpl*.class" I have defined this exec task: Running the task, ant is complaining that th

Re: AW: Exec task not to show a console window under Windows

2007-01-26 Thread dperez
them > > > Jan > > -- View this message in context: http://www.nabble.com/Exec-task-not-to-show-a-console-window-under-Windows-tf3033837.html#a8648234 Sent from the Ant - Users mailing list archive at Nabble.com. -

Re: Exec task not to show a console window under Windows

2007-01-25 Thread dperez
Hi Peter, It is a regular console Windows app. I've taken from http://sourceforge.net/project/shownotes.php?release_id=325693&group_id=23617 It is the xgettext exec that is creating the window - were did you get it from ? -- View this message in context: http://www.nabble.com/Exec

Re: Exec task not to show a console window under Windows

2007-01-19 Thread Peter Reilly
ch the command line length limit. Workarounds I see: - Iterate with a *.cmd file instead of Ant Burgess, Benjamin wrote: > > Could you show the portion of your build that makes the call now? > -- View this message in context: http://www.nabble.com/Exec-task-not-to-show-a-console-windo

  1   2   3   >