Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-vcm-dev] Adding/Refreshing CVS resources programmatically

This is correct - there is no API to span all providers.  In general I
think you would find that IDE's which do support some kind of provider
independent API require the resource to already be under version control
anyway.  (Note: to head off your question, these APIs are known to be
deficient for any interesting repository technology and so weren't
encorporated into eclipse 2.0).

We do have some interest in opening up some API points for CVS, but it
would mean a CVS specific solution of course.

Note that in CVS we have a special decorator for files that are not under
version control yet not ignored, so this might help your users more than
tasks which are often ignored by users.

Kevin




                                                                                                                                     
                      birdo@xxxxxxxxxxxx                                                                                             
                      (Roberto Scaramuzzi)            To:      platform-vcm-dev@xxxxxxxxxxx                                          
                      Sent by:                        cc:                                                                            
                      platform-vcm-dev-admin@         Subject: [platform-vcm-dev] Adding/Refreshing CVS resources programmatically   
                      eclipse.org                                                                                                    
                                                                                                                                     
                                                                                                                                     
                      03/09/2002 04:54 PM                                                                                            
                      Please respond to                                                                                              
                      platform-vcm-dev                                                                                               
                                                                                                                                     
                                                                                                                                     



We are writing an Eclipse 2.0 plugin. Our plugin generates configuration
files that are stored in a separate directory under the project root. These

files are usually created when the user presses OK in a Preference or
Properties page.

We would like to be able to add the configuration directory and any new
configuration files that are generated to CVS (or whatever VCM provider is
in
use for the project) when they are created.

If this is not possible, we would like to make it so that Eclipse will
inform
the user (maybe by generating a task) when these files are created, so that

the user can add them manually.

As far as I can tell, all the CVS functionality is in internal packages,
and
the Team plugin does not provide any methods for adding/updating etc. files

and directories programmatically, so the only solution I see is for our
plugin to generate cvsmarkers when new files are created or changed. I am
not
happy with this solution because it will only work with CVS and not other
VCM
providers.

Is this correct, or am I missing something?

--
Roberto Scaramuzzi
System Engineer
Parasoft, Inc.
_______________________________________________
platform-vcm-dev mailing list
platform-vcm-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-vcm-dev






Back to the top