[Opengeoscience-developers] Copying python files to build/deploy

Aashish Chaudhary aashish.chaudhary at kitware.com
Thu Sep 12 18:02:18 EDT 2013


Ben,

If you are using the current master, then the right fix is to move the
DEPENDS to predeploy from deploy target. Let me know if this makes sense.
This will make sure that before we configure, we copy directories.

DEPENDS ${_lib_dir} ${all_targets} ${_min_js_file} ${_server_config}
          ${_logs_dir}


On Thu, Sep 12, 2013 at 5:55 PM, Ben Burnett <benbu at nyu.edu> wrote:

> The problem was that the geocelery_conf.py file was being created before
> the modules folder was being copied, and I guess since that modules folder
> already existed in deploy, the copy directory command failed without giving
> any warning or error. I was able to get around this by moving the
> configure_file command to the end of the main CMakeLists.txt file. Will be
> included in branch 145-wfl-failing-js-tests.
>
>
> On Thu, Sep 12, 2013 at 5:30 PM, Ben Burnett <benbu at nyu.edu> wrote:
>
>> I'm noticing that deploy/modules isn't being generated when I make. Here
>> is the output when running make 3 in a fresh build directory.
>>
>> ~/src/climatepipes/build$ make
>> Scanning dependencies of target predeploy
>> [  0%] Built target predeploy
>> Scanning dependencies of target deploy
>> [  6%] Generating deploy/web/lib
>> [ 12%] Generating deploy/geoweb
>> [ 18%] Generating deploy/geoweb.py
>> [ 25%] Generating deploy/geocelery
>> [ 31%] Generating deploy/web/apps
>> [ 37%] Generating deploy/web/common
>> [ 43%] Generating deploy/web/index.html
>> [ 50%] Generating deploy/utils
>> [ 56%] Generating deploy/nodes
>> [ 62%] Generating deploy/services
>> [ 68%] Generating deploy/temp
>> [ 75%] Generating deploy/web/lib/geoweb.min.js
>> [ 81%] Configuring server configuration script
>> [ 87%] Generating deploy/logs
>> [ 93%] Generating stamps/documentation.txt
>> [100%] Built target deploy
>> ~/src/climatepipes/build$ make
>> [  0%] Built target predeploy
>> [  6%] Generating deploy/web/apps
>> [ 12%] Generating deploy/web/common
>> [ 18%] Generating deploy/web/index.html
>> [ 25%] Generating deploy/utils
>> [ 31%] Generating deploy/nodes
>> [ 37%] Generating deploy/services
>> [ 43%] Generating deploy/temp
>> [100%] Built target deploy
>> ~/src/climatepipes/build$ make
>> [  0%] Built target predeploy
>> [  6%] Generating deploy/web/apps
>> [ 12%] Generating deploy/web/common
>> [100%] Built target deploy
>> ~/src/climatepipes/build$
>>
>>
>> On Thu, Sep 12, 2013 at 4:20 PM, Ben Burnett <benbu at nyu.edu> wrote:
>>
>>> Python files don't seem to be copied to build/deploy when I make.
>>> However, the geocelery_conf.py file is generated and placed there. Does
>>> anyone else have this issue from a clean build? Are they supposed to be
>>> copied over?
>>>
>>> -Ben
>>>
>>
>>
>
> _______________________________________________
> Opengeoscience-developers mailing list
> Opengeoscience-developers at public.kitware.com
>
> http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130912/97a291ec/attachment.html>


More information about the Opengeoscience-developers mailing list