Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



One answer

Permanent link
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 02 '10, 5:47 a.m.

Question was seen: 3,534 times

Last updated: Nov 02 '10, 5:47 a.m.

Confirmation Cancel Confirm