Java code - how to deliver components to the stream induvidually in a iteration
Hi
I using java API and I am trying to deliver components induvidually in a iteration, but how to pass a List of components to the deliver command
workspace.deliver(stream, sync, Collections.EMPTY_LIST,sync.outgoingChangeSets(component), monitor);
______________________________________________________________________________________________________________
example:
---create stream
---create workspace
------------------------------------------loop start here--------------------------------------
for (int i=0; i<listofcomponents.size(),i++)
{
<creation of components>
}
-----------------------------------------loop ends here-----------------------------------------
Sharing the folders from local drive to components using the lscm command
---------------------------------------------deliver--------------------------------------------------
for (int i=0; i<listofcomponents.size(),i++)
{
//deliver command
???????
}