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

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,
Smitha

0 votes

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



One answer

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

0 votes

Comments

Ralph,
>So, I think this is possible,however it requires some work to get the loading done.

its really easy.. create a workspace dedicated to build.
add all the streams of content as flow targets.
poof... works..no commandline, ... just a build def, use this workspace, and load

I thought it was a fault too, til I thought about it.. really cool capability.

This blows me away. I have to try that myself. Thanks Sam!!!

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
( the parent POM could/would/should be here if using Maven)

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
× 6,122

Question asked: Jul 07 '14, 9:42 a.m.

Question was seen: 4,869 times

Last updated: Jul 07 '14, 11:38 a.m.

Related questions
Confirmation Cancel Confirm