BUILD CLASSES STRICTLY INCREMENTAL [message #1692201] |
Tue, 14 April 2015 06:02  |
Eclipse User |
|
|
|
Sometimes, when we have no activity in a project for longer time and then check out new classes for a project, netherleless if 'Auto Build' or 'Manual Build' is activated, all classes are build, and not only the new or updated classes and there dependancies.
How could it be avoided that in such cases all classes are build.
Thanks for any suggestions and help
|
|
|
|
|
|
|
|
Re: BUILD CLASSES STRICTLY INCREMENTAL [message #1692933 is a reply to message #1692729] |
Mon, 20 April 2015 12:46   |
Eclipse User |
|
|
|
If I understand you correctly, you're leaving project x alone for a while, but someone else checks in a change to maybe just one class in that project. Then, after a week or so has passed, you check out that project to get that one changed class, and the entire project rebuilds. Yes?
I don't know how WinCVS works, and I think it's probably key to understanding what's going on. But it seems to me that Ed Merks is on the right track, asking about timestamps and such. My first guess is that the change that you're checking out results in an update to the classpath or manifest in your project. But that wouldn't happen every time, would it? Unless something weird is going on in your workflow.
So my second guess is that WinCVS isn't preserving the old timestamps. But that would have been noticed by someone before now, wouldn't it?
So my third guess is that WinCVS and/or the Eclipse Team plug-in are changing something about all the files. Maybe somewhere the files are being stored with Windows line terminators (\r\n) while somewhere else the \r is being stripped off, then replaced on checkout. I know some version control systems do that sort of thing, and that would register as a change, maybe, and mess up the timestamps, resulting in a complete rebuild. How far out on the limb have I gotten now?
That's the best I can do as a thought experiment. If you want more, you'll probably have to provide specifics including file timestamps before and after checkout.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05777 seconds