Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-vcm-dev] Retrieve team status of workspace resource


Hi Mark,

The Eclipse Team component doesn't expose a repository neutral API. The good news is that we are working on one for the next release of Eclipse. In the mean time you could prototype your work by using the CVS plugin (not the best solution, but it will get you going).

To find out if a CVS resource has been modified locally you can look at the CVSLightweightDecorator::isDirty() method.

Cheers,
Jean-Michel



"Mark Phippard" <MarkP@xxxxxxxxxxxxxxx>
Sent by: platform-vcm-dev-admin@xxxxxxxxxxx

05/13/2003 03:18 PM
Please respond to platform-vcm-dev

       
        To:        platform-vcm-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-vcm-dev] Retrieve team status of workspace resource




Is there any API that can be called for a given Workspace Resource that will tell you if it is currently "Checked In".  For an optimistic provider this would mean that it has not been modified locally, for a pessimistic provider it would mean that it has not been checked out.


I am building a deployment solution and I would like to not allow resources to be "deployed" unless they are checked in.  So as to insure that the resource has been properly merged with any other changes in the repository prior to deployment.


Thanks


Mark





Back to the top