Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Combine cvs commands
Combine cvs commands [message #336904] Sat, 11 July 2009 20:22 Go to next message
Andrus Salumets is currently offline Andrus SalumetsFriend
Messages: 1
Registered: July 2009
Junior Member
Hi everybody,

In our project we have many repeating tasks, which consist of multiple
activities.

For example:
In the beginning of each release cycle, every developer needs to tag some
modules with his personal tag name for the current release and then create
a branch based on that tag. Of course, he also needs to check out the
branch.

Another example,
Quite often we need to commit a change into two different branches. So,
commit, switch version, commit, switch version back and so on...

There are many more similar "composed tasks".

After a while, this gets really boring, disturbing to click and click
and... :)

We could use cvs command line in such cases, but there seems to be some
problems using eclipse cvs together with command line tools.

Is there a way to create a script to make eclipse cvs plugin to perform
many tasks automatically?

If this is not possible, can you give me some directions, how to use
eclipse cvs plugin API to develop a custom solution for my problem?

Thanks,
Andrus
Re: Combine cvs commands [message #336917 is a reply to message #336904] Mon, 13 July 2009 13:56 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Andrus Salumets wrote:
> Hi everybody,
>
> In our project we have many repeating tasks, which consist of multiple
> activities.
>
> For example:
> In the beginning of each release cycle, every developer needs to tag
> some modules with his personal tag name for the current release and then
> create a branch based on that tag. Of course, he also needs to check out
> the branch.

If I understand you correctly, I think that is easily done in one step:
Team > Branch...
The wizard will prompt you for the "version name" (which is used as a
label/tag) and offers to switch to the newly created branch.

(more below)

>
> Another example,
> Quite often we need to commit a change into two different branches. So,
> commit, switch version, commit, switch version back and so on...
>
> There are many more similar "composed tasks".
>
> After a while, this gets really boring, disturbing to click and click
> and... :)
>
> We could use cvs command line in such cases, but there seems to be some
> problems using eclipse cvs together with command line tools.
>
> Is there a way to create a script to make eclipse cvs plugin to perform
> many tasks automatically?
>
> If this is not possible, can you give me some directions, how to use
> eclipse cvs plugin API to develop a custom solution for my problem?

You'll want to look at the org.eclipse.cvs plug-in and the
org.eclipse.team.* plug-ins. One convenient way to learn about the
existing code and UI ("learn by example", so to speak) is to use Plug-in
Spy on some part of the UI that is close to what you want to do. To
invoke Plug-in Spy, open the part of the UI you're interested in and use
the key combo Alt+Shift+F1

Hope this helps,
Eric
Previous Topic:Registers view collapses after stepping
Next Topic:newbie: tiny red square appears next to project icon
Goto Forum:
  


Current Time: Thu Apr 25 11:57:03 GMT 2024

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

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

Back to the top