Hi Claes,
I had to perform some modification on my classvolume and I still have some questions concerning the update mechanism.
Indeed in the project that own the classvolume, I opened the classvolume and computed some plc modification then saved and built the classvolume.
I use a fake project locally on the this development station to test if the modification are correct or not. In this project, when I open it, I got the \"Update classes needed' warning and everything's fine except that when trying the \"open plc\" on this object I always see the old one (but real one is executed). As it is inside the same project I don't think I have to copy any .flw ?? how can I refresh that ? (for the moment I have to delete the object and recreate it but on my final project I can't do that because of too numerous instances...)
Then I had to transfer my classvolume on another development station which owns my real project and uses a WbEnvironment object pointing to /usr/local/pwrp/lib.
To do so, I copied:
- classvolume.dbs
from
/usr/local/pwrp/classvolumeownerproject/bld/common/load
to
/usr/local/pwrp/lib (directory of my WbEnvironment)
&
/usr/local/pwrp/finalproject/bld/common/load
& also to:
/usr/local/pwrp/finalproject/src/db/plcrootvolume.db/
(Are all of them required or only one and which one ??)
- pwr_classvolumeclasses.h
from /usr/local/pwrp/classvolumeownerproject/bld/common/inc/
to /usr/local/pwrp/finalproject/bld/common/inc/
- I also copied the associated .flw and Ge object.
When I open my finalproject and the plc root volume, I didn't get any update classes warning which I found not normal and I can't compiled anymore if I tried. Did I forget something to update ??
thank you in advance
Snarf