DAVE Usage with SVN. Presentation and Tutorial v 2.0. May, 2014



Similar documents
Beginning with SubclipseSVN

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

Manual. CollabNet Subversion Connector to HP Quality Center. Version 1.2

INF 111 / CSE 121. Homework 4: Subversion Due Tuesday, July 14, 2009

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

A Tutorial on installing and using Eclipse

Lab 0 (Setting up your Development Environment) Week 1

Source Control Guide: Git

Introducing Xcode Source Control

BlueJ Teamwork Tutorial

Version Control! Scenarios, Working with Git!

educ Office Remove & create new Outlook profile

Building OWASP ZAP Using Eclipse IDE

Version Control with Subversion

Exchange 2003 Mailboxes

WhatsUp Gold v16.3 Installation and Configuration Guide

Revision control systems (RCS) and

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

MadCap Software. SharePoint Guide. Flare 11.1

EAE-MS SCCAPI based Version Control System

MailEnable Connector for Microsoft Outlook

Introduction to Programming Tools. Anjana & Shankar September,2010

BestSync Tutorial. Synchronize with a FTP Server. This tutorial demonstrates how to setup a task to synchronize with a folder in FTP server.

Using GitHub for Rally Apps (Mac Version)

Business mail 1 MS OUTLOOK CONFIGURATION... 2

Maintenance Guide. Outpost Firewall 4.0. Personal Firewall Software from. Agnitum

Using Git for Project Management with µvision

ELF WP 2 UML repository instruction

pure::variants Transformer for Software Configuration Management Manual

Windows 7 Hula POS Server Installation Guide

Why Use Blackboard Content System to Store Documents One Time

Set up Outlook for your new student e mail with IMAP/POP3 settings

CoProc2. 1 Overview. Contents. Eclipse/DataPower CoProcessor

Updating Your Applied Account

DAVE Software Development Kit overview. Preparing the workbench. Creating a simple APP. Step 1: Create a new APP project

Sitecore InDesign Connector 1.1

StruxureWare Data Center Operation Troubleshooting Guide

Installing and Configuring vcloud Connector

How to install and use the File Sharing Outlook Plugin

Migrating helpdesk to a new server

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04

Configuring IBM HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on IBM WebSphere Application Server

Set up a VPN Connection on Windows

Version Control with Subversion and Xcode

Administering Jive for Outlook


Changing Your Cameleon Server IP

Setting up a local working copy with SVN, MAMP and rsync. Agentic

Apple Mail Outlook Web Access (OWA) Logging In Changing Passwords Mobile Devices Blackberry...

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

CYAN SECURE WEB APPLIANCE. User interface manual

You can find the installer for the +Cloud Application on your SanDisk flash drive.

Using Subversion in Computer Science

WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide

PTC Integrity Eclipse and IBM Rational Development Platform Guide

Content. Development Tools 2(63)

This guide provides information to show how to create and manage Riva Dynamic Distribution List policies.

Exchange 2013 mailbox setup guide

Office of Information Technology Connecting to Microsoft Exchange User Guide

Laptop Backup - User Guide (Windows)

Module 11 Setting up Customization Environment

Hosted Microsoft Exchange Client Setup & Guide Book

Kaspersky Password Manager

SIM900 Eclipse environment install Application Note_V1.00

pure::variants Connector for Version Control Systems Manual

CPSC 491. Today: Source code control. Source Code (Version) Control. Exercise: g., no git, subversion, cvs, etc.)

QUANTIFY INSTALLATION GUIDE

File Share Navigator Online 1

ultimo theme Update Guide Copyright Infortis All rights reserved

October, Install/Uninstall Xerox Print Drivers & Apps Best Practices for Windows 8, 8.1, and 10 Customer Tip

Configuration Guide. Remote Backups How-To Guide. Overview

How To Use A Pvpn On A Pc Or Mac Or Ipad (For Pc) With A Password Protected (For Mac) On A Network (For Windows) On Your Computer (For Ipad) On An Ipad Or Ipa

Zend Server 4.0 Beta 2 Release Announcement What s new in Zend Server 4.0 Beta 2 Updates and Improvements Resolved Issues Installation Issues

Employee Quick Reference Guide

Working with a Version Control System

Lab 5 Using Remote Worklight Server

Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide

Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

DiskPulse DISK CHANGE MONITOR

CONNECT-TO-CHOP USER GUIDE

Network Connect Installation and Usage Guide

FAQ: troubleshooting Java for Saba Web Access

Installing Novell Client Software (Windows 95/98)

Using Oracle Cloud to Power Your Application Development Lifecycle

ADOBE DRIVE CC USER GUIDE

Running the Tor client on Mac OS X

How to Configure Outlook Client for Exchange

Administration Guide. BlackBerry Enterprise Service 12. Version 12.0

Version Control Using Subversion. 12 May 2013 OSU CSE 1

ANIMATED HEADER IMAGE WITH IMAGE HEADER SLIDESHOW (FL_HEADER_SLIDE)

GFI Product Manual. Outlook Connector User Manual

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

Frequently Asked Questions

Team Foundation Server 2013 Installation Guide

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

National Fire Incident Reporting System (NFIRS 5.0) NFIRS Data Entry/Validation Tool Users Guide

Transcription:

DAVE Usage with SVN Presentation and Tutorial v 2.0 May, 2014

Required DAVE Version Required DAVE version: v 3.1.6 or higher (recommend to use the most latest version, as of Feb 28, 2014, v 3.1.10) Required Eclipse plug-in update: To makes sure that you have the latest plug-in update follow these instructions: Press: ->Help ->Check for Updates Page 2

Table of contents General Considerations Eclipse Subversive Overview Eclipse Subversive Installation in DAVE DAVE CE Example Project usage with SVN Page 3

General Information How to Use DAVE Generated Sources in a Version Control SW Initial folder structure when creating a new DAVE CE project, adding some DAVE Apps and generate code Contains cached code template class files (intermediate files of a code generation process) to improve operation speed Contains the generated sources and header files Model Folder contains the model of each DAVE App (static coded, templates, UI models, configurations) that has been added to the project with the current configuration settings Other files are: startup files, linker script stubs for the c library and a simple main.c Folder with build artifacts added after first build Page 4

Version Control of the DAVE Generated Code DAVE will generate the code from the files stored in the model folder by utilizing the device model of the chosen device that is in the local library store located in the user folder Therefore it is only required to put all files of the Dave model folder under version control Putting the Dave Generated folder and the Dave Cache folder under version control is not required Recommendation: only the Dave Model folder and may be the Dave Generated folder should be put under version control cache folders and.codecache file should be assigned as svn ignore before committing) Before committing the Dave Model folder into a repository the application model has to be saved (all cached memory information to be saved in App instance file) After updating the Dave Model folder from the repository the code needs to be generated (assuming Dave Generated folder is not under version control) Page 5

What changes the files in the Dave Model folder Project changes File changes in the Dave Model folder A new DAVE App is added to the project A new instance of an existing DAVE App is added Configuration changes Code generation Deletion of an App instance Opening DAVE Close DAVE Switch active project New files and folders are added A new App instance file (<app_instance>.app) will be created that contains configuration data The content and date of the related App instance file will be changed and the date of all other instance files will also change (same content) No content change in the model folder but date of App instance files will change The related App instance file will be deleted; date of remaining App instance files will change No change; date of all App instance files will change No content change if no previous configurations changes already saved, but date of all App instance files will change. If previous configuration changes are not saved, will be saved now -> content of related App instance file will change Same as close DAVE for the current active project, same as open DAVE for the new active project To avoid version changes based on changed date information a version control system that verifies the content is required, like SVN Page 6

What changes the files in the Dave Generated folder Project changes File changes in the Dave Generated folder A new DAVE App is added to the project A new instance of an existing DAVE App is added Configuration changes No change No change No change Code generation Deletion of an App instance All exiting files will be deleted and new files will be created. If there was no model change before the content did not change but the date No change Opening DAVE Close DAVE No change No change Switch active project No change Page 7

Merging and Conflicts It is not allowed to let SVN merge model files In case a second user wants to commit a changed model folder that has be differently changed by another user previously, svn will offer a merge functionality, this merge functionality should not be executed. Second user should first update the working copy then make the required changes in the model file and then commit Page 8

Table of contents General Considerations Eclipse Subversive Overview Eclipse Subversive Installation in DAVE DAVE CE Example Project usage with SVN Page 9

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 Page 10

Table of contents General Considerations Eclipse Subversive Overview Eclipse Subversive Installation in DAVE DAVE CE Example Project usage with SVN Page 11

Eclipse Subversive Installation Instructions (I) Step 1: Start DAVE and select menu item 'Help > Install New Software...' Page 12

Eclipse Subversive Installation Instructions (II) Step 2: Select Eclipse Indigo link as per below Page 13

Eclipse Subversive Installation Instructions (III) Step 3: Expand the Collaboration option Step 4: Select the Subversive Features & then click Next Page 14

Eclipse Subversive Installation Instructions (IV) 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. Page 15

Eclipse Subversive Installation Instructions (V) 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 Page 16

Eclipse Subversive Installation Instructions (VI) 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...'. Page 17

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 Page 18

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 Page 19

Table of contents General Considerations Eclipse Subversive Overview Eclipse Subversive Installation in DAVE DAVE CE Example Project usage with SVN Page 20

Open the SVN related Perspectives Step1: Select the SVN Repository Exploring Perspective Page 21

Connect to an Existing repository or Create a new One Step2: Select SVN Repository Location or Create New Repository Existing SVN Repository or New SVN Repository For test purposes a repository on a local drive can be created; Browse to the desired location Page 22

Project to be imported to a SVN Repository Step3: Select Active Project to be source controlled with SVN Step4: Save Application Model and Switch to Project Explorer Tab Page 23

Import the project to a SVN Repository Step5: Before the first import to the repository DAVE should not generate code or redundant folders (DAVE Generated, DAVE Cache folder, artifact folder,...), if already done, theses folders may be deleted. If the DAVE Generated folder should be also put under version control then the code has to be generated and the folders that should not be put under version control should be deleted. Page 24

Import the project to a SVN Repository Step6: Right Click Project, Select Team & Share Project Step7: Select SVN repository & Click Finish Page 25

Import the project to a SVN Repository Step8: The project is added (imported) to SVN Repository Now!! Page 26

Assign folders that should not be under version control as svn ignore The svn ignore attribute can only be assigned to files and folder if the project is added (imported) in a SVN repository. First the folders that should be marked as svn ignore has to be created by pressing code generation and build (if the artifact folder should also be ignored) Step 9: Each folder that should be marked as marked as svn ignore should be handled like shown left: Right click on the folder Select Team Select Add to svn ignore We recommend to do this for the Cache folder and file:.codecache in the Dave folder and also the artifact folder Page 27

Subclipse FAQ This page will attempt to answer some questions about Subclipse http://subclipse.tigris.org/wiki/pluginfaq#head- 68eead02c3eff5648b77985d163791473810144a Return to Wiki FrontPage 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. 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 Rules to work with SVN Step10: Before doing any project modifications make sure that you are working on the most current project version by update your local copy from SVN repository using command SVN- >Update Rules to make sure that changes are correctly committed to the SVN repository 1) Update local copy from SVN: SVN->Update 2) Make the required changes in the project 3) Commit your changes to SVN using SVN->Commit 4) Check if project is still in check-out mode [using the project icons in the project explorer, see following pages] 5) If yes again start from steps 3 6) Refer attached SVN FAQ for more info Contents General questions: Why does this project exist? Page 28

Step 1: Update local copy from SVN Project in checked out state Page 29

Step 3: Commit your changes to SVN Project in checked out state Page 30

Alternatives to Subversive Instead of Subversive also the eclipses plug-in Subclipse can be used Subclipse is usually more up to date in following the latest updates of svn Instead of an eclipse plug-in, tortoises might be used Client and repo browser that is integrated in the windows file explorer After the initial project import all svn commands are available via the windows project explorer Page 31

Summary The DAVE generated code can be put under version control as any other project files To avoid redundancies only the Dave Model folder should be put under version control The Dave Cache folder should be marked as ignored by the version control system The Dave Generated folder should also be marked as ignored To avoid regeneration it could also be kept under version control The version control systems should verify the content of the files and not the date of the last change SVN can be recommended CVS can not be recommended Page 32