I don't know if such ant task exists but you can code it by invoking
the MainDeployer mbean to deploy your deployment (because it's synchronous).

----- Original Message -----
From: "Thorbjørn Ravn Andersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 25, 2002 4:22 PM
Subject: [JBoss-user] Can my ant-task wait for JBoss to deploy?


> I would like for my "ant deploy" task - which currently just copies
> files into server/default/deploy - to wait until JBoss has finished
> deploying and is ready to serve again, as I have a status page I would
> like to be automatically checked to confirm that things are ok, before
> continuing.   Jetty reports a 404 until things are fully deployed :(
>
> Can this be done?   Or can I make Jetty wait to serve the request until
> the whole system is ready again?
>
> [If this is in the pay-documentation, please say so.  My work does not
> have a credit card :( ]
>
>   Thorbjørn Ravn Andersen      Scandiatransplant
>                                Skejby Sygehus, indgang 3
>   +45 89 49 53 01              DK-8200 Århus N
>   http://biobase.dk/~tra
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to