Handle common files in RTC
Hello together,
I am in doubt about how to handle shared files in RTC. We have projects which build not only their own files but also common files like interfaces. These common files are used in other projects like in the picture below. At the moment we would store these jar files on a public file server or network storage in order to import it during the build process. Is there a better way to handle this in RTC? |
2 answers
Geoffrey Clemm (30.1k●3●30●35)
| answered Aug 12 '13, 6:27 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You probably would be interested in work item Allow a stream to "share" a component from another stream. (127541) . This would allow multiple streams to stay in sync on a shared component, without requiring accepts/delivers, flowing each workspace with multiple streams, or loading multiple workspaces into a sandbox.
I originally thought you were asking a different question ... i.e. whether you should stored derived (computed) files like .jar files under source control, and re-use them directly out of source control. Clearly the source for the common components should be under source control, but should the derived files? Downsides of storing the derived files under source control include: - Derived files that are very big or that change rapidly can waste storage in the SCM system. - You need to be careful that you are re-using the right versions of the derived files (the build system is usually better than the versioning system at managing this kind dependency analysis). |
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.