List of changed files on Personal Build
One answer
On 2/19/2012 9:38 AM, yehiel wrote:
I can't think of a good way to get such a list from RTC. Personal
builds don't create a snapshot, so you can't compare snapshots to get
the list of changes.
If your build is set up so that each repository workspace has its own
directory on the build machine and you don't delete the local copy of
the workspace before each build, then you might be able to use the
modification date of the files on the file system. Files that have been
modified recently (for the correct definition of recently) are the ones
that have changed since the previous build using that same repository
workspace.
--
David Olsen
IBM Rational
Beaverton, Oregon
I want to use Personal build for the users, so they can compile only
their changes. How can I get a list of files to compile on 'personal
build' request?
I can't think of a good way to get such a list from RTC. Personal
builds don't create a snapshot, so you can't compare snapshots to get
the list of changes.
If your build is set up so that each repository workspace has its own
directory on the build machine and you don't delete the local copy of
the workspace before each build, then you might be able to use the
modification date of the files on the file system. Files that have been
modified recently (for the correct definition of recently) are the ones
that have changed since the previous build using that same repository
workspace.
--
David Olsen
IBM Rational
Beaverton, Oregon