Hi
better is a handshake, playing with timers is asking for trouble. The last publisher of A must create a file at a known location. B will be forced, but the first task (in the prebuild section or so) is a check if the file exists. If it does not exist, do a sleep. Do this in a while loop after the while loop, delete the file so the system is clean again. with kind regards Ruben Willems On Sun, Oct 18, 2009 at 9:28 PM, Carl Cerecke <[email protected]>wrote: > > Maybe you could add an extra <task> at the start of B which 'slept' > for a couple of minutes - long enough for A's publishers to complete? > > On Mon, Oct 19, 2009 at 1:08 AM, Jeff <[email protected]> wrote: > > > > Yes, and that works, but I'd prefer to keep project B in a different > > queue, so that it can run in parallel with other projects. > > Thanks, > > Jeff > > > > On Oct 18, 2:00 am, "Craig & Sammi Sutherland" > > <[email protected]> wrote: > >> Have you tried putting them both in the same queue? A queue only allows > one > >> project to run at a time, so project B won't be able to start until > project > >> A has finished. > >> > >> Documentation on queues is athttp:// > confluence.public.thoughtworks.org/display/CCNET/Integration+Q.... > >> > >> Craig > >> > >> > >> > >> -----Original Message----- > >> From: [email protected] [mailto:[email protected]] > On > >> > >> Behalf Of Jeff > >> Sent: Saturday, 17 October 2009 7:48 a.m. > >> To: ccnet-user > >> Subject: [ccnet-user] How to get project-triggered project to wait until > >> publishing finished? > >> > >> Hi - > >> > >> I have a pair of projects, A and B. B is set to be triggered by the > >> successful completion of A. This is happening -- but too soon. It > >> looks like execution of B is not waiting for A's publisher to finish, > >> and so B doesn't have a "full loaf" to work with when it starts up. > >> > >> How can I get project B to wait until A's output has been published? > >> Do I have to switch from using a publisher for the output, and instead > >> use some sort of copy task? > >> > >> Thanks for the guidance. > >> > >> Jeff > > > > > > -- > Carl Cerecke > GeoBase Senior Software Engineer – Telogis Research > www.telogis.com www.telogis.co.nz > +1 949 625-4115 ext. 208 (USA) +64 3 339 2825 ext. 208 (NZ) > -- > This e-mail, and any attachments, is intended only for use by the > addressee(s) named herein and may contain legally privileged and/or > confidential information. It is the property of Telogis. If you are > not the intended recipient of this e-mail, you are hereby notified > that any dissemination, distribution or copying of this e-mail, any > attachments thereto, and use of the information contained, is strictly > prohibited. If you have received this e-mail in error, please notify > the sender and permanently delete the original and any copy there of. >
