Thanks Juraj for the quick response.

I am receiving duplicate name:

/usr/share/boost-build/build/virtual-target.jam:1032: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pdist/release/tests/unit1>testresult.txt
error: previous virtual target { common%common.copy-testresult.txt. { tests/unit1/100/testresult.txt. } }
error: created from ./testcopy
error: another virtual target { common%common.copy-testresult.txt. { tests/unit1/200/testresult.txt. } }
error: created from ./testcopy
error: added properties: none
error: removed properties: none

Is there a way to get around this?



From: Juraj Ivančić <>
Sent: Wed, October 14, 2009 12:49:27 AM
Subject: Re: [Boost-build] Installing directories and sub dirs in Jamroot

Clovis Olson wrote:
> As part of the install of a build, I need to copy the contents of some directories, including their subdirs.
> Do I need to place a jamfile in each of the directories/subdirs to use glob-tree?
> The directory struture is similar to:
> dir1
>    subdir1
>        subdir1a
>            testresult
>    subdir2
>        testresult
> Would it be better to create an action/rule to use cp -rf?

You can use lower level path.glob-tree

import path ;

install dataToCopy
    [ path.glob-tree /path/aaa : *.* ]

Unsubscribe & other changes: