----- Original Message -----
From: "amol desai" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Saturday, September 07, 2002 9:52 AM
Subject: Starting server


>
> Hi,
>
>    I am using exec to run the pointbase server as
> follows
>
> <exec executable="cmd" >
>   <arg line="/c ${db.root}/server/StartServer.bat"/>
> </exec>
>
> After the execution of above statements, pointbase
> server starts .(server started message is dispalyed).
>
> The build does not continue. I want the build to be
> continued after starting the server.
>

My guess is that StartServer.bat never returns. Does the batch file include
something like:

start Server.exe

(notice that "start" is the command and Server.exe is the program to run)
I think that that is the Windows "run the following program in the
background" syntax - I may be wrong, but that's the idea. If it doesn't
include that, the batch file will wait for the exe to return - which ISN'T
what you want.


George McKinney
[EMAIL PROTECTED]

=========================================================
An experienced developer knows that it is seldom wise to
prefix a demonstration with anything more predictive than
"Watch this" - unless there is a good test suite in place.




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to