Build changes in subfolders of a component
Hi,
Is there a way of finding out if a subfolder of a component has changes that have been accepted into a build workspace?
The usecase is that a component contains several Eclipse projects but I only want to build those projects that have changes applied to them. I want to skip the build process for those Eclipse projects that dont have any changes.
Regards,
Hampus
Is there a way of finding out if a subfolder of a component has changes that have been accepted into a build workspace?
The usecase is that a component contains several Eclipse projects but I only want to build those projects that have changes applied to them. I want to skip the build process for those Eclipse projects that dont have any changes.
Regards,
Hampus
One answer
Hi Hampus,
In 2.x you can use the teamLastModified Ant task to determine the last modified times for top-level folders (i.e. projects) under the load directory.
For more details, see:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#BuildSystemToolkitContents
In 3.0, we've added a generateChangeLog Ant task that can list the change sets, and corresponding file changes, that went into the build. See:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#ChangeLog
Note, however, that the load of the build workspace is done incrementally already (if the build definition is configured to not delete the load directory each time), so if your tool chain can figure out which files have changed since the last invocation, you could just rely on the local filesystem timestamps. For more details, see:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#LoadingJazzSCM
In 2.x you can use the teamLastModified Ant task to determine the last modified times for top-level folders (i.e. projects) under the load directory.
For more details, see:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#BuildSystemToolkitContents
In 3.0, we've added a generateChangeLog Ant task that can list the change sets, and corresponding file changes, that went into the build. See:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#ChangeLog
Note, however, that the load of the build workspace is done incrementally already (if the build definition is configured to not delete the load directory each time), so if your tool chain can figure out which files have changed since the last invocation, you could just rely on the local filesystem timestamps. For more details, see:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#LoadingJazzSCM