Tags:
codeBeamer Eclipse Studio Tutorial
This is a quick tutorial to teach you how to work offline with codeBeamer Eclipse Studio .
Note: this is intentionally kept as concise as possible, and assumes some basic understanding of Eclipse , Mylyn and Mercurial .
Tutorial
You have to start with installing the following tools:
- You can install codeBeamer Eclipse Studio easily with Eclipse Update
.
- You can install HgEclipse also in a minute.
- Downloading codeBeamer
and installing it is straightforward, too. Just follow the instructions of the setup wizard.
Launching a New Collaborative Project
Now you are ready to start your new project:
- Login to codeBeamer (CB from now).
- Click the Projects tab. Click New Project and fill in the details.
- Click Source Code and choose Mercurial as your SCM System. (If you have some existing code, you can easily import it uploading a Mercurial bundle
via the web interface.)
When the project is created, add some tasks that you will work on offline:
- Click the Trackers tab and choose the Task tracker.
- Submit some issues, and assign them to your own user account.
To learn more about the project collaboration features available in CB, codeBeamer Knowledge Base is your best resource.
Importing the Project to Eclipse
First clone your own repository of the code, and import the project to Eclipse:
- Click File, New and choose the Clone Existing Mercurial Repository wizard. Enter your user credentials and the pull URL of the repository, and submit the dialog. (To figure out your pull URL, open up your browser, login to CB, choose your project and click the Source Code tab. The URL will be in the top part.)
All right, at this point the code is already on your computer.
Importing Tasks to Mylyn
Now bring your tasks to Eclipse, or to be precise, to its task management plugin called Mylyn:
- Open the Planning perspective in Eclipse.
- Open the Task Repositories view, and create a new task repository of the CodeBeamer type. (Your CB server URL is http://localhost:8080/cb by default.)
- Open the Task List view, and create a new query. Select the previously created task repository in the first step. Then select your new project, the Task tracker and check Assigned to me. Click Finish.
Your tasks will now appear in Eclipse. For more information on Mylyn, you should start reading here .
Working Offline
Here is where the fun starts. You can go completely offline now.
- Activate the task you want to resolve in the Task List view.
- Start coding, and commit your changes using the Synchronization View. (Note: the default commit messages offered by the system will contain the ID of the related CB issue. It's a good idea not to leave the reference there, because CB will associate your change sets with your issues, opening up a lot possibilities later.)
- Activate another tasks, and work that. Commit these changes, too.
Synchronizing
When you are ready to publish your changes back to CB you need to come online again.
- Code: switch to Synchronization View and push your source code change sets to Mercurial.
- Tasks: simply let the Task List view synchronize with server automatically in the background. Or, if you are in a hurry, select a set of tasks and click Synchronize in the popup menu.
Finally
It's that simple! Now you are ready to work offline, on the plane, on your customers' site or on the beach.
We suggest learning more via these links:
Happy coding!
Other Tutorials
Chinese Translation
Read the Chinese translation of this article .
|
Intland Software - Feed |
Functional Safety Forum 2015
Jul 07 06:00
|
How to Integrate Git, SVN and Mercurial into ALM
Apr 15 12:00
|
QA & Testing in Medical Devices
Apr 08 12:00
|
codeBeamer: Advanced Process Configuration Example
Tomorrow 12:00
|
Change and Configuration Management in a nutshell
Mar 27 06:06
|
Kanban or Scrum – Is Scrum for Developers and Kanban for IT Support?
Mar 25 12:11
|
Kanban or Scrum – Is Scrum for developers and Kanban for IT support?
Mar 25 12:00
|
Why ALM Maturity is Key to Your Company’s Success
Mar 25 10:48
|
Code Review
Mar 25 03:25
|
Recap of REConf 2015: Bridging Gaps, Connecting People
Mar 20 10:33
|
|