Check-in from local (unresolved status) to a workspace
Hi,
sorry for my English.
I have a question:
I've created a file in a project (component) not programmatically (right click -> new file -> etc), thus in my Pending changes I see that this file is in the Unresolved status ( to check-in or to check-in and deliver).
I know that I can deliver a file from a workspace to a stream with the method:
workspace.deliver(stream,......, .... );
There's a way to check-in a file from local file system (unresolved status) to a workspace? If yes, which method I have to use?
sorry for my English.
I have a question:
I've created a file in a project (component) not programmatically (right click -> new file -> etc), thus in my Pending changes I see that this file is in the Unresolved status ( to check-in or to check-in and deliver).
I know that I can deliver a file from a workspace to a stream with the method:
workspace.deliver(stream,......, .... );
There's a way to check-in a file from local file system (unresolved status) to a workspace? If yes, which method I have to use?
One answer
I believe you would want to look at the
com.ibm.team.filesystem.client.operations.ICheckinOperation API. You can
get a chech-in operation from the operation factory
com.ibm.team.filesystem.client.IOperationFactory.instance.getCheckinOperation(...)
Hope this helps,
Michael
fcotto wrote:
com.ibm.team.filesystem.client.operations.ICheckinOperation API. You can
get a chech-in operation from the operation factory
com.ibm.team.filesystem.client.IOperationFactory.instance.getCheckinOperation(...)
Hope this helps,
Michael
fcotto wrote:
Hi,
sorry for my English.
I have a question:
I've created a file in a project (component) not programmatically
(right click -> new file -> etc), thus in my Pending changes I
see that this file is in the Unresolved status ( to check-in or to
check-in and deliver).
I know that I can deliver a file from a workspace to a stream with the
method:
workspace.deliver(stream,......, .... );
There's a way to check-in a file from local file system (unresolved
status) to a workspace? If yes, which method I have to use?