Building application from multiple streams
Hi Team, Wanted to check can we define build in RTC , such a way that it can take files from different streams and create single .war files.
Regards,
|
One answer
Ralph Schoon (63.6k●3●36●46)
| answered Jul 07 '14, 10:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am curious about other answers and approaches.Here is my current thoughts, but that is not necessarily the final answer others could probably give.
I am assuming it is possible to create one WAR file from multiple (Eclipse) projects. Looking at RTC, it has one WAR file, but is created from multiple projects. Multiple Streams basically requires one repository workspace per stream to load the data (as far as I know). * The Jazz SCM tab built into the Jazz build Engine, can only load one (!) repository workspace or stream. So you can't use this to load the data on disk. * You can use the SCM command line to load more complex scenarios. * You can use SCM/LSCM to load multiple repository workspaces to disk. There are some rules with respect to overlap that you need to follow. You don't want the same projects in the two streams. However, if you avoid the scenarios not supported and overlap in general, you will be able to load data for multiple repository workspaces to disk. * After doing so, you would be able to run a build across the data you loaded. * Later, if you wanted to, you could create separate snapshots on each stream/repository workspace. So, I think this is possible,however it requires some work to get the loading done. Comments
sam detweiler
commented Jul 07 '14, 11:03 a.m.
see the discussion here
Ralph,
Ralph Schoon
commented Jul 07 '14, 11:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This blows me away. I have to try that myself. Thanks Sam!!!
sam detweiler
commented Jul 07 '14, 11:37 a.m.
and, if you do NOT set 'create folder per component', then all the files will be loaded starting with the root of the sandbox workspace folder.. one big directory tree
|
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.
Comments
I think this goes back to a prior question. if the workspace has multiple flow targets set, then build will pull from all of them, and assuming no negative overlaps, will give you the combined results on the build machine..
then the build process should work from all the files present.
an example would be to take components A&V from stream 1
components X & Q from stream 2
and component Y from stream 3.
then the result in the workspace (and sandbox) will be
components A, V, X, Q and Y