commit a project in svn

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

Upload: abdulimrankhan7

Post on 22-Jan-2018

150 views

Category:

Technology


0 download

TRANSCRIPT

How to 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 Code

B. Code Check out

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

3. In the Share Project wizard, specify the location of your SVN

project in the URIfield, then click Next.

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.

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

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 workspaces

click No to simply return to your local workspace in 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.

3. After Studio opens the new perspective, SVN Repository

Exploring, right-click within the SVN Repositories explorer

tab, select New, then Repository Location

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.

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.

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.

Thank You!