10 messages in com.perforce.jamming[jamming] Multiple Depnedants and ord...
FromSent OnAttachments
Mikl...@mac.com10 Jan 2001 08:56 
Amau...@atsm.fr Amaury.FORGEOTDARC@atsm.fr10 Jan 2001 10:05 
Dave...@vignette.com10 Jan 2001 10:24 
Dave...@vignette.com10 Jan 2001 11:08 
=?is...@mac.com10 Jan 2001 13:00 
Amau...@atsm.fr Amaury.FORGEOTDARC@atsm.fr11 Jan 2001 00:38 
Amau...@atsm.fr Amaury.FORGEOTDARC@atsm.fr11 Jan 2001 01:47 
Mikl...@mac.com11 Jan 2001 03:07 
Amau...@atsm.fr Amaury.FORGEOTDARC@atsm.fr11 Jan 2001 03:32 
Arnt...@trolltech.com11 Jan 2001 04:13 
Subject:[jamming] Multiple Depnedants and order of actions.
From:Amau...@atsm.fr Amaury.FORGEOTDARC@atsm.fr (Amau@atsm.fr Amaury.FORGEOTDARC@atsm.fr)
Date:01/10/2001 10:05:55 AM
List:com.perforce.jamming

According to your rule:

DEPENDS all : b a ;

you ask Jam to generate b before a, and that's why the rules having b as targets are executed first.

Amaury.

Miklos Fazekas <bo@mac.com>@perforce.com le 10/01/2001 17:56:57

Veuillez répondre à Miklos Fazekas <bo@mac.com>

Envoyé par : jamm@perforce.com

Pour : jamm@perforce.com cc :

Objet : [jamming] Multiple Depnedants and order of actions.

I have the following jam-file, and the files: a,b,c,d,e

actions copy { echo "copy $(<) " > $(<) } rule copy { DEPENDS $(<) : $(>) } actions copy2 { echo "copy $(>) " > $(<[1]) echo "copy $(>) " > $(<[2]) } rule copy2 { DEPENDS $(<) : $(>) ; }

copy a : c ; copy2 a b : d ; copy b : e ;

DEPENDS all : b a ; NOTFILE all ;

If i edit the file 'c' and 'e'. The orders of actions will be:

copy2 a b :d ; copy b : e ; copy a : c ;

That is not the same order as i defined! I'd except an: copy a : c ; copy2 a b : d ; copy b : e ; order. Is it a bug in Jam or is there any missing dependency in my example? (Adding DEPENDS b : c won't help.)

Miklos