Best Practices for Channel Development Al Wold Arizona State University.

Slides:



Advertisements
Similar presentations
1 IST 410/420 Software Version Control 2 DevelopmentIntegration Test System Test User Acceptance Testing ProductionArchive DEVELOPMENTUSERS - Developers.
Advertisements

Change Management on the Cheap: Tortoise SVN and Ant Two Tools for your Applications Implementation Toolkit Joe Tseng North Slope Solutions
Software engineering tools for web development Jim Briggs 1CASE.
1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Integrated Development Environments, Source Control Repositories, Automated Testing Tools, Bug Tracking, Code Analysis Tools, Build Tools, Project Hosting.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
Software Configuration Management Donna Albino LIS489, December 3, 2014.
Summer of Code (SOC) Presentation Fred R McClurg Girish H Mhatre Version Control Overview.
Revision Control Systems Amin Tootoonchian Kian Mirjalali.
Developing the NSDL User Portal Dean Krafft, Cornell University
Damien Guard (BSc, MBCS) Guernsey Software Developer Forum Change management with Subversion.
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
1 CMPT 275 Software Engineering Revision Control.
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
SubVersioN – the new Central Service at DESY by Marian Gawron.
© Polarion Software ® Subtrain – SVN User training – IntroductionWhat is Subversion? 1 backupcollaboration documentationversioning.
European Organization for Nuclear Research Source Control Management Service (Subversion) Brice Copy, Michel Bornand EN-ICE 13 May 2009.
Source Code Revision Control Software CVS and Subversion (svn)
Version control Using Git 1Version control, using Git.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
Source Control Repositories for Team Collaboration: SVN, TFS, Git Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training.
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
Subversion. What is Subversion? A Version Control System A successor to CVS and SourceSafe Essentially gives you a tracked, shared file system.
Source Code Management with CVS Kurt Wiersma December 2004.
Sumedha Rubasinghe October,2009 Introduction to Programming Tools.
Source Control Repositories for Team Collaboration: SVN, TFS, Git.
Subversion, an Open Source Version Control System An Introduction.
Version Control with Subversion Quick Reference of Subversion.
Source Control Systems SVN, Git, GitHub SoftUni Team Technical Trainers Software University
Subversion Code Deployment LifeCycle August 2011.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Version control Using Git Version control, using Git1.
1 SEG4912 University of Ottawa by Jason Kealey Software Engineering Capstone Project Tools and Technologies.
Subversion (SVN) Tutorial Source:
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
An Intro to Concurrent Versions System (CVS) ECE 417/617: Elements of Software Engineering Stan Birchfield Clemson University.
July 2011CMSC 341 CVS/Ant 1 CMSC 341 Java Packages Ant CVS Project Submission.
Version Control Systems with Subversion (SVN) and Tortoise.
SVN / Apache Subversion Raymond Calderon 4/15/2010.
Subversion (SVN) A Revision Control System Successor to CVS Carlos Armas Hervey Allen.
Computer Science and Engineering The Ohio State University  Widely used, especially in the opensource community, to track all changes to a project and.
Distributed Java Programming Distributed Java Programming Setting up a Java Development Environment.
CSE 219 Computer Science III CVS
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
Version Control with SVN Images from TortoiseSVN documentation
Version Control CSC 517 John Slankas. Version Control Managing files and directories, and the changes made to them over time. - Adapted from “Version.
MSI Information using XML, XSLT, & CVS Kakapo Meeting August 28, 2003.
SWGData and Software Access - 1 UCB, Nov 15/16, 2006 THEMIS SCIENCE WORKING TEAM MEETING Data and Software Access Ken Bromund GST Inc., at NASA/GSFC.
Presentation OLOMOLA,Afolabi( ). Update Changes in CSV/SVN.
University of Southern California Center for Systems and Software Engineering Configuration Management: Concepts and Tools Pongtip Aroonvatanaporn CSCI.
© 2007 by Michal Dobisek; made available under the EPL v1.0 | EclipseCon 2007 Michal Dobisek, Inside Subversive The Subversion.
------TAO, MARKUS Project IT. JavaDoc ‣ JavaDoc is a standard method of commenting source code (interfaces, classes, methods, instances variables). ‣
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Source Control Repositories for Enabling Team Working Doncho Minkov Telerik Corporation
July 2011UMBC CMSC 341 Intro 1 CMSC 341 Course Introduction.
NALINI S. NAUTIYAL SYSTEM SOFTWARE DIVISION Subversion.
Source Control Dr. Scott Schaefer. Version Control Systems Allow for maintenance and archiving of multiple versions of code / other files Designed for.
Software Configuration Management -Subversion- RTLAB YuJin Park.
SVN intro (review).
Source Control Dr. Scott Schaefer.
Version control, using Git
Concurrent Version Control
Source Code Management
Revision Control Daniel Daugherty
Presentation transcript:

Best Practices for Channel Development Al Wold Arizona State University

Strategy Overview Revision Control: CVS Build Process: ant Deployment: CAR files Development Environment: Eclipse

Eclipse Initially developed by IBM, now community- developed Free and open source GUI is native to the OS, providing higher performance than pure Java IDEs Integration with open source standard tools (ant, CVS, JUnit)

CVS The de facto standard for open source projects Focus on multiple developers Concurrent checkout and development

CVS: The Repository Projects are represented as modules The entire source tree of a module is checked out Working copy can be updated with latest changes in repository When you are finished with a change, the file is committed to the repository

CVS: Tags Tags can be used to “flag” a specific set of files This can be used to identify development/QA/production code Branches are a form of tag which allow you to work on a separate line of changes

CVS Documentation is available at The subversion project will be the successor to CVS, but is currently not as well adopted Subversion information is available at

CAR Files Allow for deployment of a channel as a single easily-migrated unit Can contain all of your code, stylesheets, images, and other resources

CAR File Development Laying out your source tree for CAR support Coding your channel to support CAR files for external resources

Sample CAR File layout test.car: edu/asu/portal/channels/test/CTest.class edu/asu/portal/channels/test/CTest.ssl edu/asu/portal/channels/test/CTest.xsl edu/asu/portal/channels/test/images/test.gif

Coding for CAR files Pass the base media URL to the XSLT process: xslt.setStylesheetParam(“mediaPath”, runtimeData.getBaseMediaURL(this)); Reference the base media URL in the XSL:

ant Open source build tool developed by the Apache foundation Currently the most widely adopted standard build tool for Java Used by the uPortal project Ant manual:

Using ant to build a channel Prepare the build directories Compile code Package the car file Deploy the car file Reload the application

Development Considerations How to implement development environment – Multiple build environments, one runtime environment – Runtime environment for each user Commit policy – Commit files as frequently as possible to minimize conflicts, but make sure they are in a stable state Non-eclipse users – Using ant and CVS allows for theoretical use of any IDE, or no IDE