Ok. But why do you want to specify Target again. Once it is defined for Full-Deploy-Block, it is defined for anything inside and after it. Notice the "after" because you did not define your Full-Deploy-Block to be a scope.
On 24 sep, 14:47, Benjamin Baumann <[email protected]> wrote: > No they are in the reverse order in the config file. I reverse it to be more > readable in the email. > > 2010/9/24 OBones <[email protected]> > > > Are they in this order in your config file? > > > I would have thought you have to define the block before using it for > > this to work... > > > On 23 sep, 11:40, Benjamin Baumann <[email protected]> wrote: > > > Hi all, > > > > I found an annoying bug/problem. I am using ccnet last stable release > > (1.5. > > > > Here is the case : > > > > <cb:Full-Deploy-Block Target="DEV" InnerPath="trunk" /> > > > > <cb:define name="Full-Deploy-Block"> > > > <project name="Projet - $(Target)" > > > > <workingDirectory>xxx</workingDirectory> > > > <webURL>xxx/$(Target)/ViewProjectReport.aspx</webURL> > > > <cb:Inner-Block Target="$(Target)" /> > > > </project> > > > </cb:define> > > > > With this conf, the Inner-Block is given '$(Target)' instead of DEV. I > > find > > > a work around in renaming Target variable in Environment for the > > > Full-Deploy-Block but it's quite annoying. Am I doing something wrong or > > is > > > this a bug? > > > > With kind rewards, > > > Benjamin Baumann
