List Info

Thread: how to "install" a complete directory tree, , keeping its structure




how to "install" a complete directory tree, , keeping its structure
user name
2006-10-13 10:48:20
Hi Volodya,

I was using 2.0 M11. I checked out from the CVS repo this
morning and
tried again. Same problem.
So I made the simplified testcase as you requested.

Building yui//yahoo or yui//menu works.
Building gui//www/yui fails like any call for an
"install" target
refering to another install "target".
It fails when creating the directory specified by
<location> (tries to
create twice).
If you try again, it works because the directory has been
created already.

Thanks,


Olivier


boost-build-requestlists.boost.org wrote:
> From: Vladimir Prus <ghostcs.msu.su>
>
> On Thursday 12 October 2006 13:52, Olivier Smeesters
wrote:
>
> Hi Olivier,
>
>   
>> But "bjam gui//builddir" fails from the
top. Here is the output:
>>     
>>> ...found 175 targets...
>>> ...updating 124 targets...
>>> MkDir1 gui/builddir
>>> MkDir1 gui/builddir/..
>>> mkdir: cannot create directory
`gui/builddir/..': File exists
>>>
>>>     mkdir "gui/builddir/.."
>>>       
>
> Which version of V2 is this? If this anything but CVS
version, or nightly 
> build, you'd need to get either of them.
>
> A bug with a very similar symptoms was fixed yesterday.
>
> If the problem reproduces with CVS/nightly build
version, I'd need a small 
> testcase, archived and attached, to diagnose the
problem.
>
> Thanks,
> Volodya
>
>   


-- 
Olivier Smeesters
Embedded Software Engineer

Newtec (LLN Office)
Avenue Einstein, 2A
B-1348 Louvain-la-Neuve

Tel: +32 (0)10 45.31.06
Fax: +32 (0)10 84.32.54




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
how to "install" a complete directory tree, , keeping its structure
user name
2006-10-18 06:27:37
Hi Olivier,

[I CC you to make sure you see this, but please reply to
mailing list]

> I was using 2.0 M11. I checked out from the CVS repo
this morning and
> tried again. Same problem.
> So I made the simplified testcase as you requested.
>
> Building yui//yahoo or yui//menu works.
> Building gui//www/yui fails like any call for an
"install" target
> refering to another install "target".
> It fails when creating the directory specified by
<location> (tries to
> create twice).
> If you try again, it works because the directory has
been created already.

Thanks. The attached patch fixes the problem for me. I'd
rather like create a 
regression test for this -- would you agree to license your
testcase under 
Boost Software License, so that can incorporate it to
regression tests?

Thanks,
Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
how to "install" a complete directory tree, keeping its structure
user name
2006-10-20 12:49:16
Vladimir Prus wrote:
> Hi Olivier,
>   
> Thanks. The attached patch fixes the problem for me.
I'd rather like create a 
> regression test for this -- would you agree to license
your testcase under 
> Boost Software License, so that can incorporate it to
regression tests?
>
> Thanks,
> Volodya
>   

Hi Volodya,

It solves the directory creation problem.

However, the structure that is created is not yet totally
correct (was
not in the past either).

In the gui/builddir directory, I expected to see a www
directory and a
www/yui subdirectory (hence the "install www" and
"install www/yui"
targets with <location>builddir requirement).

gui/builddir/
    index.html
    menu/
      assets/
         menu.css
      menu.js
    yahoo/
      yahoo.js

In the root builddir directory, only the index.html is
copied. If I add
a "<install-dependencies>on" requirement in
the install target of the
Jamroot, it copies the gui/builddir directory but also, all
the files of
yui, forgetting the directory structure.

Thanks,


Olivier

-- 
Olivier Smeesters
Embedded Software Engineer

Newtec (LLN Office)
Avenue Einstein, 2A
B-1348 Louvain-la-Neuve

Tel: +32 (0)10 45.31.06
Fax: +32 (0)10 84.32.54





_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )