Common component name for different streams
One answer
In addition, a component can be used by many streams. So you can have a common component with code that is shared, and use it in multiple streams. Which version of code the streams see, depneds on which baseline for the component you pick.
Comments
Thanks Ralph,
Actually in my case its not common code. Every stream has its own code. But streams are very small and no of streams is very high so creating separate component will increase component count. So i was wondering if i create one component only and use it for all tools stream will cause any problem. Since i will be creating stream from separate workspace so in case of same path for a file with same name will be treated differently.
Ashok, please comment in case you want to comment answers.
A component identifies the projects/folders files contained. You will see all the data you put into the component and the users will need to know which data to use. So from my perspective I would not suggest to do that.
The component only looks at the relative path of a file/folder. So if you have two workspaces with files with the same relative name and path (from their position in the workspace), they will be treated as one file.
So my answer would be: don't do that. Create the necessary components. If two components are supposed to contain different data, make them different.