It's all about the answers!

Ask a question

Check-in from local (unresolved status) to a workspace


francesco cotto (111) | asked Aug 26 '10, 11:29 a.m.
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?

One answer



permanent link
Michael Valenta (3.7k3) | answered Aug 27 '10, 10:59 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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:
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?

Your answer


Register or to post your answer.