Combine cvs commands [message #336904] |
Sat, 11 July 2009 20:22 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Andrus Salumets![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=piilupart%40gmail.com) 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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04280 seconds