Global Project Linking reimporting not working
Posted: Wed Aug 06, 2014 10:44 am
I've finally taken the plunge and decided to set up Global Project Linking for my projects. The trouble is, I can't get it to reimport changed files predictably. Any ideas?
This is where I'm at. I identified my global files long ago, put them in a separate project, created an import file for them in my ordinary projects, and got them into my projects initially via an import. But for various reasons, every time I needed to make a change to one of the global files, I broke the import link, then manually reconciled the various versions using file comparisons.
Now I've got a bit of a break between deliveries, so I thought I'd sort this properly. One of the things I wanted to do was impose a bit more structure on my global project, which meant moving a few global files around. So I did that in one of my projects where I had previously broken the import links, checked everything still built, then updated my global project with the changed and moved files. So far, so good. then it all goes wrong.
I restored the removed links, and tried a reimport. Different projects do slightly different things, but none of them are right. Some imports correctly tell me there are changes, but the files that are supposed to be updated just aren't. Some update the changed files, but don't delete the stale files (files that no longer exist at the original location in the Global project because I've moved them elsewhere), although I have that option set. The files that need to be updated or deleted are all writable, as is the global import file.
On some occasions, several files are flagged in green as newer, but some of them are automatically selected for re-import, and some are not, although they may be reimported if I explicitly tick them (or they may not, depending on the project).
The only predictable import was done in a brand new test project that I set up, with a brand new import file. That works as expected. I've tried creating a new import file in an existing project, but that finds nothing at all to import/reimport even when there is - it's like Flare knows there is another import file that relates to the same files so ignores the repeat request. I've come to the conclusion there is some "gotcha" that I've missed which is causing the unpredictable behaviour. I can't trust auto-reimports as part of my builds if it's going to be this flaky.
Any ideas?
This is where I'm at. I identified my global files long ago, put them in a separate project, created an import file for them in my ordinary projects, and got them into my projects initially via an import. But for various reasons, every time I needed to make a change to one of the global files, I broke the import link, then manually reconciled the various versions using file comparisons.
Now I've got a bit of a break between deliveries, so I thought I'd sort this properly. One of the things I wanted to do was impose a bit more structure on my global project, which meant moving a few global files around. So I did that in one of my projects where I had previously broken the import links, checked everything still built, then updated my global project with the changed and moved files. So far, so good. then it all goes wrong.
I restored the removed links, and tried a reimport. Different projects do slightly different things, but none of them are right. Some imports correctly tell me there are changes, but the files that are supposed to be updated just aren't. Some update the changed files, but don't delete the stale files (files that no longer exist at the original location in the Global project because I've moved them elsewhere), although I have that option set. The files that need to be updated or deleted are all writable, as is the global import file.
On some occasions, several files are flagged in green as newer, but some of them are automatically selected for re-import, and some are not, although they may be reimported if I explicitly tick them (or they may not, depending on the project).
The only predictable import was done in a brand new test project that I set up, with a brand new import file. That works as expected. I've tried creating a new import file in an existing project, but that finds nothing at all to import/reimport even when there is - it's like Flare knows there is another import file that relates to the same files so ignores the repeat request. I've come to the conclusion there is some "gotcha" that I've missed which is causing the unpredictable behaviour. I can't trust auto-reimports as part of my builds if it's going to be this flaky.
Any ideas?