You need to move <attainGoal name="weblogic:server-start"/> just above your
<sequential> tag (and just after your <parallel> tag).  As you have it
written, nothing will execute in parallel since all of your subtasks are
within the sequential tags.

> -----Original Message-----
> From: Jesper Linvald [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 9:24 AM
> To: [EMAIL PROTECTED]
> Subject: maven parallel/sequential
>
>
> Hello all,
>
> I been trying to get the ant parallel task to work with no success :(
>
> In my goal I have:
>         <parallel>
>                 <sequential>
>                         <attainGoal name="weblogic:server-start"/>
>                         <waitfor maxwait="3" maxwaitunit="minute"
> checkevery="100" checkeveryunit="millisecond">
>                             <http url=
> "http://localhost:7001/console/login/LoginForm.jsp"/>
>                         </waitfor>
>                         <attainGoal name="selfservice:weblogic-deploy"; />
>                 </sequential>
>         </parallel>
>
> The "weblogic:server-start" uses the java task to startup a weblogic
> server (fork=true)
> The starts up fine but nothing more happens - I never get to the
> "selfservice:weblogic-deploy"; - the server blocks the process...
>
> Can anybody tell me what I might be doing wrong?
>
> I also tried prepending "ant" to the tags (<ant:parallel>) but this makes
> no difference...
>
> Best regards
>
> Jesper Linvald
> MAERSK DATA TRANSPORT
> Tel no.: +45 3911 1891
> e-mail: [EMAIL PROTECTED]
>


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

Reply via email to