It's all about the answers!

Ask a question

Selective build


Anthony Kesterton (7.5k9180136) | asked Oct 04 '10, 10:09 a.m.
JAZZ DEVELOPER
Hi

A customer is wanting to put ASP pages under source control using RTC. They also want to do a "build" using files that have changed (they have lots of files, but only need to work on the ones that have changed since the last build.

Is there a simple way to present the subset of files to the build? This will prevent them having to process each of the 100's of files to find the ones that have really changed. Alternatively, there may be a quick script in the build that could work this out. Any suggestions gratefully received.

They are using the JBE

thanks

anthony

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 04 '10, 2:53 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
One approach:
Set the "do not auto-accept changes" property of the build definition.
Then in the build itself:
- use the command line to do a compare of the workspace with the stream,
to find the names of the files that have changed
- use the command line to do an "accept", to update the files on the client.
- process the changed files.

Cheers,
Geoff


On 10/4/2010 10:23 AM, kesterto wrote:
Hi

A customer is wanting to put ASP pages under source control using RTC.
They also want to do a "build" using files that have
changed (they have lots of files, but only need to work on the ones
that have changed since the last build.

Is there a simple way to present the subset of files to the build?
This will prevent them having to process each of the 100's of files
to find the ones that have really changed. Alternatively, there may
be a quick script in the build that could work this out. Any
suggestions gratefully received.

They are using the JBE

thanks

anthony

Your answer


Register or 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.