Вы находитесь на странице: 1из 25

DAVE Usage with SVN

Tutorial v 1.0
DAVE Team June, 2013

Required DAVE Version


Required DAVE version: v 3.1.6

Required Eclipse plug-in update:

To makes sure that you have the latest plug-in update follow these instructions:
Press: ->Help ->Check for Updates

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 2

Table of contents

Eclipse Subversive Overview

Eclipse Subversive Installation in DAVE DAVE3 CE Example Project usage with SVN

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 3

Eclipse Subversive
Subversive plug-in provides access to Subversion (SVN) repositories from the DAVE v 3 (Eclipse) workbench
http://www.eclipse.org/subversive/index.php

Subversive Features Full-Scale SVN Client


Subversive is designed to be used as a full-featured SVN client, so you can update, commit, merge changes, work with SVN properties, view change history and perform other operations with SVN directly from the Eclipse environment.

Advanced SVN Features


Subversive includes several features that extend functionality of the standard SVN client. In particular, Subversive can show the SVN repository content grouped by the logical structures of trunk, branch and tag and display changes on a visual revisions graph.

Seamless Integration with Eclipse


Subversive is an official Eclipse project and an integral part of Eclipse Simultaneous releases. The project follows all Eclipse guidelines and requirements to deliver a quality SVN team provider plug-in similar to CVS and Git implementations.

Support of the Latest SVN Versions


Subversive evolves together with the Subversion project to provide Eclipse users with the features that appeared in new versions of the SVN implementation. You can use the new SVN functionality in Eclipse by installing the Early Access version of Subversive

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 4

Eclipse Subversive Installation Instructions Page 1


Step 1: Start DAVE and select menu item 'Help > Install New Software...'

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 5

Eclipse Subversive Installation Instructions Page 2


Step 2: Select Eclipse Indigo link as per below

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 6

Eclipse Subversive Installation Instructions Page 3


Step 3: Expand the Collaboration option

Step 4: Select the Subversive Features & then click Next

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 7

Eclipse Subversive Installation Instructions Page 4


Step 5: The update manager calculates dependencies and offers you a list of features to install. Select the needed ones and click the 'Next >' button

Step 6: Accept terms of license agreement and click the 'Finish' button in order to start the download of selected features. Step 7: To apply installation changes and restart Eclipse click on the 'Yes' button.

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 8

Eclipse Subversive Installation Instructions Page 5


Step 8: After Eclipse restart you'll see connectors discovery dialog which will allow you to install Subversive Connectors without registering connectors update site manually. Install the appropriate connector as per your subversion repository

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 9

Eclipse Subversive Installation Instructions Page 6


Step 9: You can find Subversive perspective and views in correspondent dialogs, activated by menu items 'Window > Open Perspective > Other...' and 'Window > Show View > Other...'.

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 10

Team Support with SVN


Various Features of Eclipse Plug-in Usage with SVN are provided below
http://www.eclipse.org/subversive/documentation/teamSupport.php

SVN Exploring, Locating..etc

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 11

DAVE CE Project Example Usage with SVN Page 1


Step1: Select the SVN Repository Exploring Perspective

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 12

DAVE CE Project Example Usage with SVN Page 2


Step2: Select SVN Repository Location or Create New Repository

Existing SVN Repository

or

New SVN Repository

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 13

DAVE CE Project Example Usage with SVN Page 3

Step3: Select Active Project to be source controlled with SVN

Step4: Save Application Model and Switch to Project Explorer Tab

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 14

DAVE CE Project Example Usage with SVN Page 3


Step5: Right Click Project, Select Team & Share Project

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 15

DAVE CE Project Example Usage with SVN Page 4


Step6: Right Click Project, Select Team & Share Project

Step7: Select SVN repository & Click Finish

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 16

DAVE CE Project Example Usage with SVN Page 5


Step8: The project is added to SVN Repository Now!!

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 17

DAVE CE Project Example Usage with SVN Page 6


Step9: Before doing the steps described in next slides always make sure you do the following steps after every operation (i.e. Add/Delete/Modify etc)
1) Whenever project contents are modified (i.e local copy) [like contents updated, added, deleted etc] make sure that before doing any SVN operations, update your local copy from SVN repo using command SVN->Update 2) Commit your changes to SVN using SVN->Commit 3) Update local copy from SVN SVN->Update 4) Check if project is still in check-out mode [using project explorer]
Subclipse FAQ
This page will attempt to answer some questions about Subclipse http://subclipse.tigris.org/wiki/PluginFAQ#head68eead02c3eff5648b77985d163791473810144a Return to Wiki FrontPage

5) If yes again start from steps 2 6) Refer attached SVN FAQ for more info
Set date Copyright Infineon Technologies 2011. All rights reserved.

Contents
1. General questions: 1. Why does this project exist? 2. Does Subclipse support Eclipse X.Y or Other IDE X.Y? 3. What is an adapter? What is JavaHL? 4. Which adapter should I use? 5. Which adapter am I using? 6. I have chosen SVNKit, but it looks like JavaHL is still being used. 7. Usernames and passwords 2. How-to: 1. How do I check out the Subclipse code? 2. How do I create a repository? How do I import data into it? 3. How do I configure an HTTP proxy connection? 4. How do I specify SSL client certificates? 5. How do I configure an svn+ssh:// connection? 3. Troubleshooting: 1. While installing Subclipse I can't get past the Review Licenses page 2. New files added by other users are not showing up in Synchronize view or even coming into my workspace when I update the entire project 3. How do I get the JavaHL library for my operating system? 4. How do I build JavaHL from source? 5. I think I have a valid JavaHL library installed, but Subclipse says it is "Not available". What should I do? 6. I keep getting an error message about my "Working Copy not locked". Is this a bug? What should I do? 7. I am trying to commit some changes and I am getting an error message about the transaction being "out of date". What does this mean and what should I do? 8. On the SVN preferences page the SVN Interface drop down is Blank. What do I do? 4. Obsolete FAQs: 1. As soon as I do something with Subclipse on Windows, Eclipse just crashes. Why does this happen? 2. Why am I getting an error dialog telling me the case of my Eclipse workspace path does not match the filesystem? Windows does not seem to care.

General questions:
Why does this project exist?
Subclipse exists to provide an outstanding user interface to Subversion from within the Eclipse IDE. We aim to provide a client that is every bit as robust and user-friendly as the CVS client

Page 18

DAVE CE Project Example Usage with SVN Page 6 (Contd)

Project in checked out state

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 19

DAVE CE Project Example Usage with SVN Page 6 (Contd)

Project in checked out state

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 20

DAVE CE Project Example Usage with SVN Page 6 (Contd)

Project in checked in state

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 21

DAVE CE Project Example Usage with SVN Page 7


Step10: Change some code -> example done below & save the file

Set date

Copyright Infineon Technologies 2011. All rights reserved.

Page 22

DAVE CE Project Example Usage with SVN Page 8


Step11: Select changed file -> right click -> Team -> Commit. Provide Appropriate comment. Code will be updated in SVN Repository

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 23

DAVE CE Project Example Usage with SVN Page 9


Step 12: Incase of multiple file/folder update e.g UI Update & Code Generation Note: Before doing commit, please execute the steps described in Slide 17 step 9. Select the Project Right Click -> Team -> Commit All the Project files shall be committed to SVN Repository

19-Nov-2012

Copyright Infineon Technologies 2011. All rights reserved.

Page 24

Вам также может понравиться