Accesing version info [message #76484] |
Tue, 17 June 2003 12:25  |
Eclipse User |
|
|
|
Originally posted by: jmordax.terra.es
I have several projects under SCM control (CVS or CC LT).
Now, I am developing an Eclipse Plugin where I need to know the version
(or more generic, the tag) of a specific file within the workspace. I
mean, for example, to know that I have loaded version 1.1 of class
Test.java
- Is there a generic API within Eclipse to know this? I have been
reviewing SCM API and it seems it has nothing about this.
- Do I have to interact directly with the specific SCM Provider plugin?
If that is the case, does CVS plugin publish and document that API? And
Clear Case (I know this is not included by default with Eclipse.... but
just in case anybody knows.....). Should I use the Resource API? Or.....
I have to access SCM Providers external tools like DLLs or EXEs (like it
seems is the solution with Clear Case)?
Thanks in advance,
Chemi.
|
|
|
Re: Accesing version info [message #76645 is a reply to message #76484] |
Tue, 17 June 2003 13:47   |
Eclipse User |
|
|
|
Originally posted by: jan.karstens.web.de
Hi Chemi,
I'm also working on a small plugin that accesses SCM information. As far
as I know, there is no generic way to access detailed version
information (e.g. some API).
That's why I decided to support CVS only. By using the
org.eclipse.team.cvs.core package you can access the version information
for resources that are under CVS control.
Cheers,
Jan
Chemi wrote:
> I have several projects under SCM control (CVS or CC LT).
>
> Now, I am developing an Eclipse Plugin where I need to know the version
> (or more generic, the tag) of a specific file within the workspace. I
> mean, for example, to know that I have loaded version 1.1 of class
> Test.java
>
> - Is there a generic API within Eclipse to know this? I have been
> reviewing SCM API and it seems it has nothing about this.
>
> - Do I have to interact directly with the specific SCM Provider plugin?
> If that is the case, does CVS plugin publish and document that API? And
> Clear Case (I know this is not included by default with Eclipse.... but
> just in case anybody knows.....). Should I use the Resource API? Or.....
> I have to access SCM Providers external tools like DLLs or EXEs (like it
> seems is the solution with Clear Case)?
>
> Thanks in advance,
>
> Chemi.
>
|
|
|
|
Re: Accesing version info [message #76958 is a reply to message #76741] |
Tue, 17 June 2003 17:13  |
Eclipse User |
|
|
|
Originally posted by: jan.karstens.web.de
The javadoc is quite usefull. Just have a look at the different CVS
views how they use the api to get the infos. You can find them in the
package org.eclipse.team.cvs.ui.
Jan.
Chemi wrote:
> But is there any doc about org.eclipse.team.cvs.core package? I haven't
> found any info about that plugin....
>
> Thanks,
>
> Chemi.
>
> Jan Karstens wrote:
>
>> Hi Chemi,
>>
>> I'm also working on a small plugin that accesses SCM information. As
>> far as I know, there is no generic way to access detailed version
>> information (e.g. some API).
>>
>> That's why I decided to support CVS only. By using the
>> org.eclipse.team.cvs.core package you can access the version
>> information for resources that are under CVS control.
>>
>> Cheers,
>> Jan
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02921 seconds