Re: maven parallel/sequential
Have you tried the jelly thread tag? On Tue, 29 Jun 2004 15:23:53 +0200, Jesper Linvald [EMAIL PROTECTED] wrote: 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]
Re: maven parallel/sequential
use xmlns:threads=jelly:threads threads:thread attainGoal name=weblogic:server-start/ /threads:thread waitfor attainGoal name=selfservice:weblogic-deploy; / perhaps you also need to add dependency : dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-threads/artifactId version20030211.143515/version /dependency 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] -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven parallel/sequential
Thank you very much - will try this right away :) -Original Message- From: Maksimenko Alexander [mailto:[EMAIL PROTECTED] Sent: 29. juni 2004 15:37 To: Maven Users List Subject: Re: maven parallel/sequential use xmlns:threads=jelly:threads threads:thread attainGoal name=weblogic:server-start/ /threads:thread waitfor attainGoal name=selfservice:weblogic-deploy; / perhaps you also need to add dependency : dependency groupIdcommons-jelly/groupId artifactIdcommons-jelly-tags-threads/artifactId version20030211.143515/version /dependency 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] -- Maksimenko Alexander Softwarium, www.softwarium.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.708 / Virus Database: 464 - Release Date: 18-06-2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.708 / Virus Database: 464 - Release Date: 18-06-2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven parallel/sequential
I tried this a few months ago with no luck myself. Someone suggested it might be a bug in the Jelly Ant taglib, so I grabbed the sources and started playing around with it. It does look to me to be a bug in jelly:ant. I tried to come up with a fix, but after a while realized I was two tangents past my original problem, and looked for a workaround. I've used Jelly's thread package a few times with success, although when I had to spawn multiple processes and wait for them all to complete, the Jelly gave me problems and I ended up writing an Ant task to do it. Jeff On Tue, 29 Jun 2004, at 15:23:53 [GMT +0200] Jesper Linvald wrote: 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] -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven parallel/sequential
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]