commit a project in svn using svn plugin in anypoint studio

13
How to commit a project in SVN using SVN plugin in Anypoint Studio

Upload: sunil-komarapu

Post on 08-Jan-2017

187 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: commit a project in svn using svn plugin in anypoint studio

How to commit a project in SVN using SVN plugin in Anypoint

Studio

Page 2: commit a project in svn using svn plugin in anypoint studio

Agenda

A presentation to show a step by step process for committing a code in SVN and steps to check out the code in SVN.

A. Committing a CodeB. Code Check out

Page 3: commit a project in svn using svn plugin in anypoint studio

A. Committing a CODE in SVN

1. Create a Studio project to an SVN repository so that multiple developers can save changes to the project in a shared location

2. In Project Explorer, right click your project name, navigate to Team, then select Share Project

Page 4: commit a project in svn using svn plugin in anypoint studio

3. In the Share Project wizard, specify the location of your SVN project in the URIfield, then click Next.

Page 5: commit a project in svn using svn plugin in anypoint studio

4. If you have already configured an SVN repository in Studio, you can select Use existing repository location to commit your project to the existing repository.

5. In the next wizard panel, specify the name of your project’s folder within the SVN repository.

Page 6: commit a project in svn using svn plugin in anypoint studio

5. Click Next, then edit the commit comments, if you wish, to describe the changes

you have made to the project.

6. Click Finish to complete the task

Page 7: commit a project in svn using svn plugin in anypoint studio

7. Studio displays a panel that gives you the option to automatically open Synchronize View, which ensures that your local workspace does not conflict with your team’s repository.

Click Yes to open the view and begin synchronizing your workspacesclick No to simply return to your local workspace in Studio.

Page 8: commit a project in svn using svn plugin in anypoint studio

B. Project Check OutChecking Out the Project1. Starting from Studio’s application menu, click Window, navigate to Open Perspective, then

select Other

2. In the pop-up panel, select SVN Repository Exploring, then click OK.

To switch back to the Mule perspective, click the Mule icon next toSVN Repository Exploring. You can switch back and forth between perspectives as needed.

Page 9: commit a project in svn using svn plugin in anypoint studio

3. After Studio opens the new perspective, SVN Repository Exploring, right-click within the SVN Repositories explorer tab, select New, then Repository Location

Page 10: commit a project in svn using svn plugin in anypoint studio

4. In the Url field, enter the location of your SVN repository and click Finish

5. In the SVN Repository Exploring tab, right click your project name and select Checkout. Within context of Subversion, you are checking out the project from your SVN repository.

Page 11: commit a project in svn using svn plugin in anypoint studio

5. Click the Mule perspective to work on the project in Studio.

6. After you have completed your changes to your Studio project, you must commit your changes to the SVN repository. In the Mule perspective, click File, then Save

7. In Package Explorer, right click your project name, navigate to Team, then select Commit.

Page 12: commit a project in svn using svn plugin in anypoint studio

8. In the Commit message field of the Commit Changes panel, enter notes to describe what you have added or changed in the Studio project.

9. Click the check box next to all items listed in the Files pane, then click Commit to save the changes to the SVN repository.

Page 13: commit a project in svn using svn plugin in anypoint studio

Thank You!