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

Using build engine for incremental builds

Hi guys

Have got a situation where I need the build engine to opnly include source that has been changed since the last build - its so we can manage our intranet pages. Has anyone managed to write script to do this?

Many thanks

David

0 votes



5 answers

Permanent link
Hi guys

Have got a situation where I need the build engine to opnly include source that has been changed since the last build - its so we can manage our intranet pages. Has anyone managed to write script to do this?

Many thanks

David


Hi David,

If you're using Jazz Source Control with the JBE, you should make sure that the 'Delete directory before loading' checkbox is cleared in the Jazz Source Control tab of the build definition.

Brent Ulbricht
Developer/Lead - RTC Build

0 votes


Permanent link
Hi Brent

Thanks for getting back so quickly. I am not sure if this will give me what I need...

Basically we have a workspace with around 2000 files in in, mostly .aspx The intranet developers will get some enhancements come in and they may change 3 of those files. I would like them to be able to request a build that produces a zip file with just those three files in that have changed since the last build. That way, they can deploy just the changes to the test server.

Thanks

David

Hi guys

Have got a situation where I need the build engine to opnly include source that has been changed since the last build - its so we can manage our intranet pages. Has anyone managed to write script to do this?

Many thanks

David


Hi David,

If you're using Jazz Source Control with the JBE, you should make sure that the 'Delete directory before loading' checkbox is cleared in the Jazz Source Control tab of the build definition.

Brent Ulbricht
Developer/Lead - RTC Build

0 votes


Permanent link
Hi David,

in the build scripts you could use the SCM command line interface. See http://jazz.net/library/article/195 for examples. You should be able to get the files changed since the last build. with some scripting, I guess the build could package those up and then they could be uploaded to the build result as download as well.

Thanks,

Ralph

Hi Brent

Thanks for getting back so quickly. I am not sure if this will give me what I need...

Basically we have a workspace with around 2000 files in in, mostly .aspx The intranet developers will get some enhancements come in and they may change 3 of those files. I would like them to be able to request a build that produces a zip file with just those three files in that have changed since the last build. That way, they can deploy just the changes to the test server.

Thanks

David

Hi guys

Have got a situation where I need the build engine to opnly include source that has been changed since the last build - its so we can manage our intranet pages. Has anyone managed to write script to do this?

Many thanks

David


Hi David,

If you're using Jazz Source Control with the JBE, you should make sure that the 'Delete directory before loading' checkbox is cleared in the Jazz Source Control tab of the build definition.

Brent Ulbricht
Developer/Lead - RTC Build

0 votes


Permanent link
Hi Ralph

Great to know it probably can be done. Has anyone got an example ANT script that will do something similar to this - I am not very experienced in writing these scripts.

Many thanks

David


Hi David,

in the build scripts you could use the SCM command line interface. See http://jazz.net/library/article/195 for examples. You should be able to get the files changed since the last build. with some scripting, I guess the build could package those up and then they could be uploaded to the build result as download as well.

Thanks,

Ralph

Hi Brent

Thanks for getting back so quickly. I am not sure if this will give me what I need...

Basically we have a workspace with around 2000 files in in, mostly .aspx The intranet developers will get some enhancements come in and they may change 3 of those files. I would like them to be able to request a build that produces a zip file with just those three files in that have changed since the last build. That way, they can deploy just the changes to the test server.

Thanks

David

Hi guys

Have got a situation where I need the build engine to opnly include source that has been changed since the last build - its so we can manage our intranet pages. Has anyone managed to write script to do this?

Many thanks

David


Hi David,

If you're using Jazz Source Control with the JBE, you should make sure that the 'Delete directory before loading' checkbox is cleared in the Jazz Source Control tab of the build definition.

Brent Ulbricht
Developer/Lead - RTC Build

0 votes


Permanent link
Hi David,

the article mentioned above shows using SCM compare. You can call external programs in ANT using <exec>

Thanks,

Ralph

Hi Ralph

Great to know it probably can be done. Has anyone got an example ANT script that will do something similar to this - I am not very experienced in writing these scripts.

Many thanks

David


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: May 19 '11, 12:25 p.m.

Question was seen: 5,886 times

Last updated: May 19 '11, 12:25 p.m.

Confirmation Cancel Confirm