ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Blanc <>
Subject Re: jython <script>
Date Wed, 28 May 2003 13:11:44 GMT
Hi !
when you say server, you mean HTPP server or any kind of server ? for
instance in case of an application server, a lot of services are open on
different ports and I'm not sure that having the latest service deployed
will mean that's an app srv is ready; for instance the deployment of beans
still has to take place after JNDI, JMS and so on have been started (I'm
using JBOSS for instance); the client can use CORBA or RMI but both
services are started long before the server is effectively ready. does
someybody have experience to share with RMI ?

Stefan Bodewig wrote:

> On Tue, 27 May 2003, Sebastien Blanc <>
> wrote:
> > does anybody know of an equivalent of the javascript
> > projName.getUserProperty / projName.createTask calls for jython
> Without trying and being the Python neophyte I am, I'd expect them to
> simply look the same as in JavaScript (without the semicolon at the
> end).
> All the objects exported to JavaScript should also be exported to
> Jython.
> > seems to me that waitFor is interesting to use when the condition is
> > set internally to the ANT system with parallel although when it is
> > an external condition (for instance looking up a log file for an
> > expected trace) I don't find any solution.
> It really depends on the "external" condition.
> <waitfor> combined with a <socket> condition works great to wait for a
> server to become available.  Looking for an expected trace is harder,
> because none of the built-in conditions will do.  Writing a
> <filecontains> condition may be better than scripting - except that it
> requires patching Ant's classes to use it (even in CVS HEAD, but that
> is hopefully going to change RSN).
> Stefan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message