ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Target not getting called
Date Wed, 21 Feb 2001 03:42:46 GMT
Are you running weblogic.ejbc in the Ant VM? If so it calls System.exit
which ends Ant as well. Try forking the ejbc call.

--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Rajagopal.V [mailto:raja0576@usa.net]
> Sent: Wednesday, 21 February 2001 14:30
> To: ant-user@jakarta.apache.org
> Subject: Target not getting called
>
>
> Hi
> I just started using Ant to create a build for my EJB . I have
> created targets
> for compile, makejar, ejbc and deploy. Deploy target will just
> copyt the java
> files to weblogic's clientclasses dir.
> What happens is i call ant with a target of all, which is like this
> <target name="all" depends="prepare, compile, jarprep, deploy,
> ejbc, clean"
> />
>
> When i place deploy after ejbc, in the target depends, deploy doesnt get
> called. Im not able to figure out why. Even with this case, clean
> target never
> gets called.
> But if i place them before ejbc, they are called. ejbc target has
> a java tag
> which creates my jar file. Is thera ny restriction that the
> targets after java
> tag will not be executed(!!!!).
>
> TIA
> Raj
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>


Mime
View raw message