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
start /B
Dont ask me how I know that-
Martin-
- Original Message -
From: "Sharad Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 15, 2004 6:00 PM
Subject: Suppressing DOS window when calling Ant from Java
> I am trying to embed Ant into my application.
> The foll
I am trying to embed Ant into my application.
The following code gives me what I need.
executeAnt(String antfile, String target, PrintStream myOut, PrintStream
myErr, int logLevel)
{
ProjectHelper helper = ProjectHelper.getProjectHelper();
Project project = new Project();
proj
My first suggestion would be to try something like the GET task (may
have to use one of the add-on try/catch tasks to wrap it if the url
isn't accessible. Alternatively there are some command line tools to
list running processes (or open windows) on windows; and you could try
writing something
Thanks. This solved the problem.
One last thing: How can I test if Tomcat is still runnig in order to invoke
first the shutdown.bat before I proceed ?
Robert Kolev schrieb:
Try this...
Cheers, rk~
-Original Message-
From: Peter Neu [mailto:[EMAIL PROTECTED]
Sent: Monday, Novembe
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
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
What is wrong with the following?
java.home is ${java.home}
If you wanted to replace \ with \\, you could use a scriptfilter:
self.setToken(self.getToken().replace("\\", ""));
\a\b\c
Peter
Thomas Saxtoft wrote:
On a Windows XP I
why don't you use forward-slashes instead backslashes?
It is the same for Java and it fits on Win & *nix systems; of course, it
won't work the same on any OS, since in Win you have this horrible drives
concept (C: D: etc)
i.e
(for Win)
java.home=C:/j2se1.4.2/bin
(for *nix)
java.home=/usr/local
On a Windows XP I have to write the java.home property to a file, but
doing that the '\' disappears. I suspect that it needs to be escaped
like '\\', but the value of java.home is the one that contains the
backslash.
How do I write it to the file?
The next thing is, how do I make it general so tha
Hi all,
I would like to be able to export my certificate(that is create one) so that
others can use it to allow my jars access to system resources and to allow
users to verify that the jar is in fact mine.
on the command line,you would use the java commands for example:
(1) jar cvf Count.jar Coun
12 matches
Mail list logo