Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Accesing version info
Accesing version info [message #76484] Tue, 17 June 2003 12:25 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #76741 is a reply to message #76645] Tue, 17 June 2003 14:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

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
Re: Accesing version info [message #76958 is a reply to message #76741] Tue, 17 June 2003 17:13 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:[PDE] How to load external Jars ?
Next Topic:Locating project directory from with java main() execution
Goto Forum:
  


Current Time: Fri Jun 06 18:26:50 EDT 2025

Powered by FUDForum. Page generated in 0.02921 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top