RE: problem with exec

2008-11-05 Thread Shawn Castrianni
ginal Message- From: Robert Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 4:26 PM To: Ant Users List Subject: problem with exec I am having a problem with the exec task. The command being executed works fine on the command line, but there is an error when trying to run it via a

problem with exec

2008-11-05 Thread Robert Anderson
I am having a problem with the exec task. The command being executed works fine on the command line, but there is an error when trying to run it via ant. I have also looked at the permissions and everything should be good. Any help would be appreciated. Here is the debug output... Execute:Java13Co

Problem with exec task

2008-01-14 Thread Marc Gimpel
Hi, I'm trying to use ant to install some RPM pre-requisits (PostgreSQL) on a RHEL 5 server. When I run the following command line, everything works fine [EMAIL PROTECTED] ~]# rpm -ivh http://ftp7.us.postgresql.org/pub/postgresql//binary/v8.2.6/linux/rpms/redhat/rhel-5/postgresql

RE: problem with exec task

2006-02-05 Thread bill/wilandra
PROTECTED] Sent: Sunday, February 05, 2006 2:45 PM To: Ant Users List; Harshal Chavda Subject: Re: problem with exec task Harshal, "Error=2" from Windows means "file not found". You can find the full set of all of the Windows error codes at http://msdn.microsoft.com/library

Re: problem with exec task

2006-02-05 Thread Rhino
ill work too. -- Rhino - Original Message - From: "Harshal Chavda" <[EMAIL PROTECTED]> To: Sent: Sunday, February 05, 2006 2:10 PM Subject: problem with exec task HI to all fellow users, My configu

problem with exec task

2006-02-05 Thread Harshal Chavda
  HI to all fellow users, My configuration is jdk(1.3.1),Ant(1.6.3),tomcat(4.1) on a windows XP.I want to start the tomcat server(startup.bat).So I used the "exec" task.BUt I get an error which is follows : pra

Re: AW: Problem with exec task

2006-01-24 Thread Tommy Nordgren
ter ... Jan -Ursprüngliche Nachricht- Von: Stefan Bodewig [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Januar 2006 22:26 An: user@ant.apache.org Betreff: Re: Problem with exec task On Mon, 23 Jan 2006, Tommy Nordgren <[EMAIL PROTECTED]> wrote: I want to run an executable nested

AW: Problem with exec task

2006-01-23 Thread Jan.Materne
And is that REALLY an executable? AFAIK a .pl is a perl script which needs the perl interpreter ... Jan >-Ursprüngliche Nachricht- >Von: Stefan Bodewig [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 23. Januar 2006 22:26 >An: user@ant.apache.org >Betreff: Re: Problem with

Re: Problem with exec task

2006-01-23 Thread Stefan Bodewig
On Mon, 23 Jan 2006, Tommy Nordgren <[EMAIL PROTECTED]> wrote: > I want to run an executable nested in one of my build directories. > I've tried: > > This executes the command, but the work directory is still the base > directory of my build. > I want it set to the directory containing the execut

Re:[solved] Problem with exec task

2006-01-23 Thread Tommy Nordgren
On Jan 23, 2006, at 10:05 PM, Tommy Nordgren wrote: I have a problem with the exec task. I want to run an executable nested in one of my build directories. I've tried: This executes the command, but the work directory is still the base directory of my build. I want it set to the directory c

Problem with exec task

2006-01-23 Thread Tommy Nordgren
I have a problem with the exec task. I want to run an executable nested in one of my build directories. I've tried: This executes the command, but the work directory is still the base directory of my build. I want it set to the directory containing the executable. When I tries: e

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Dale Anson
Why don't you just use the custom Ant tasks that come with Tomcat? See http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html, then follow the link for "Executing Manager Commands With Ant". There are tasks for starting and stopping Tomcat, deploying and undeploying an application

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Ivan Ivanov
--- Peter Neu <[EMAIL PROTECTED]> wrote: > Ok, maybe you are right. Is there any possibility to > enforce the delete ? > Peter, I do not know that. There have been threads on the list about deleting on Windows XP. __ Do You Yahoo!? Tired of spam?

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Peter Neu
Ok, maybe you are right. Is there any possibility to enforce the delete ? The only problem with this approach is that Tomcat is still holding on to the application files when I try to remove them and replace them with the newer version. Does anybody have an idea how to work around this probl

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Ivan Ivanov
> > The only problem with this approach is that Tomcat > is still holding on > to the application files > when I try to remove them and replace them with the > newer version. > > > > > Does anybody have an idea how to work around this > problem ? Hm, are you sure Tomcat holds them. I us

Re: Fwd: Problem with exec Windows XP

2004-11-16 Thread Peter Neu
OK. I tried to work you suggestions into my buildfile. My idea is to keep tomcat up and running and simply restart the catalina process: This saves some time. Then I just put in the sync-block you suggested: http://localhost:5050/ae/"/> And afterwards I start a browser to display the

Re: Fwd: Problem with exec Windows XP

2004-11-15 Thread Ivan Ivanov
Hello Peter and Igor, Here is a code the makes a slightly different task - it checks whether a war file has been deployed correctly using task [1] and [2] condition: http://localhost:${install.port}/${install.context}/index.jsp"/> Besides condition you

Re: Fwd: Problem with exec Windows XP

2004-11-15 Thread Igor A. Deruga
Hello, Peter! As far as I remember, I used to stop Tomcat before building project and start it after the build. If it isn't currently running, the stop task would fail, but nothing bad would happen. So you just try to stop it and then - start it. I don't think that it's a good idea to look at

Re: Fwd: Problem with exec Windows XP

2004-11-15 Thread Robert r. Sanders
EMAIL PROTECTED] Sent: Monday, November 15, 2004 9:30 AM To: Ant Users List Subject: Re: Fwd: Problem with exec Windows XP Hello Alexey, could you just post the correct command ? This would help a lot. Regards, Peter To launch batch files you need to execute cmd.exe with correct parameters

Re: Fwd: Problem with exec Windows XP

2004-11-15 Thread Peter Neu
, November 15, 2004 9:30 AM To: Ant Users List Subject: Re: Fwd: Problem with exec Windows XP Hello Alexey, could you just post the correct command ? This would help a lot. Regards, Peter To launch batch files you need to execute cmd.exe with correct parameters ("/c" and "startup.ba

RE: Fwd: Problem with exec Windows XP

2004-11-15 Thread Robert Kolev
Try this... Cheers, rk~ -Original Message- From: Peter Neu [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 9:30 AM To: Ant Users List Subject: Re: Fwd: Problem with exec Windows XP Hello Alexey, could you just post the correct command ? This would help a lot

Re: Fwd: Problem with exec Windows XP

2004-11-15 Thread Peter Neu
Hello Alexey, could you just post the correct command ? This would help a lot. Regards, Peter To launch batch files you need to execute cmd.exe with correct parameters ("/c" and "startup.bat"). You cannot execute the batch files themselves. - Alexey. Peter Neu wrote: Hello everybody, I'm having

Re: Fwd: Problem with exec Windows XP

2004-11-14 Thread Alexey N. Solofnenko
To launch batch files you need to execute cmd.exe with correct parameters ("/c" and "startup.bat"). You cannot execute the batch files themselves. - Alexey. Peter Neu wrote: Hello everybody, I'm having difficulties using with Windows XP. When I'm trying to run an Ant Script with a command like

Re: Fwd: Problem with exec Windows XP

2004-11-14 Thread Peter Neu
Thanks Ivan. I will try this one. Regards. Peter Ivan Ivanov schrieb: Hello Peter, I do not know why you exec does now work, but assuming that you are trying to start Tomcat, why do not invoke it via & tasks like this:

Re: Fwd: Problem with exec Windows XP

2004-11-14 Thread Ivan Ivanov
Hello Peter, I do not know why you exec does now work, but assuming that you are trying to start Tomcat, why do not invoke it via & tasks like this: You can later invoke the macordef li

Fwd: Problem with exec Windows XP

2004-11-14 Thread Peter Neu
Hello everybody, I'm having difficulties using with Windows XP. When I'm trying to run an Ant Script with a command like this : os="WindowsXP"> simply nothing happens. I don't even get a warning. Can anybody tell me what I did wrong ? Best Regards, Peter

RE: problem with exec & rsh

2004-01-14 Thread Anderson, Rob (Global Trade)
: problem with exec & rsh Hi, Thanks for the prompt reply. Actually I use RSH not rsync. With rsh, I am able to invoke the wsadmin program to install the ear based on a JACL script. The problem I have using ssh, is the account being used to run WebSphere is one that does not permit di

RE: problem with exec & rsh

2004-01-14 Thread Basel Ahmed
PROTECTED]> To "Ant Users List" <[EMAIL PROTECTED]> cc Subject RE: problem with exec & rsh Does the rsync command you are trying to run behave the same way if you run it from the command line? I think I have seen this behavior from rsync before. I think you might

RE: problem with exec & rsh

2004-01-14 Thread Anderson, Rob (Global Trade)
-Original Message- From: Basel Ahmed [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 1:39 PM To: [EMAIL PROTECTED] Subject: problem with exec & rsh Hello, I have a problem with rsh called through the ant exec directive not terminating properly. Synopsis: I have an