Selective build
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
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
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:
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