Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Sonar Code Quality Testing Essentials

You're reading from  Sonar Code Quality Testing Essentials

Product type Book
Published in Aug 2012
Publisher Packt
ISBN-13 9781849517867
Pages 318 pages
Edition 1st Edition
Languages
Author (1):
Charalampos S Arapidis Charalampos S Arapidis
Profile icon Charalampos S Arapidis

Table of Contents (18) Chapters

Sonar Code Quality Testing Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
1. Preface
1. An Overview of Sonar 2. Installing Sonar 3. Analyzing your First Project 4. Following Coding Standards 5. Managing Measures and Getting Feedback 6. Hunting Potential Bugs 7. Refining Your Documentation 8. Working with Duplicated Code 9. Analyzing Complexity and Design 10. Code Coverage and Testing 11. Integrating Sonar Sonar Metrics Index

Setting up a Subversion server


Next, we will create a repository for our projects, configure a user named svnpackt to have access to the repository, and import a dummy Maven project named packt-app into the repository. The process is the same for Linux and Windows.

Creating a Subversion repository

A Subversion repository is simply a directory in the filesystem containing repository configuration files and our project's files. To create a repository, open a terminal and enter the following command:

$ svnadmin create $PATH_REPO

Replace $PATH_REPO with a directory, for example, /home/dev/repo.

To verify the creation of the repository, navigate to $PATH_REPO. The following directories should have been created:

  • conf: Subversion configuration files

  • db: Project data files and revisions

  • hooks: Templates for useful automation commands

  • locks: Logs of locked files, checked out and modified by developers

  • format (file): Contains information about the repository's layout

  • README.txt (file): Getting started...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}