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
--- 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?
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
>
> 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
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
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
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
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
, 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
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
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
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
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:
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
14 matches
Mail list logo