01.02.2013 Views

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

version control in action<br />

Let’s start with<br />

VERSION CONTROL<br />

Keeping track <strong>of</strong> source code (or any kind <strong>of</strong> files for that matter)<br />

across a project is tricky. You have lots <strong>of</strong> people working on<br />

files—sometimes the same ones, sometimes different. Any serious<br />

s<strong>of</strong>tware project needs version control, which is also <strong>of</strong>ten called<br />

configuration management, or CM for short.<br />

Version control is a tool (usually a piece <strong>of</strong> s<strong>of</strong>tware) that will keep<br />

track <strong>of</strong> changes to your files and help you coordinate different<br />

developers working on different parts <strong>of</strong> your system at the same<br />

time. Here’s the rundown on how version control works:<br />

“Check out”<br />

means you<br />

get a copy <strong>of</strong><br />

BeatBox.java<br />

that you can<br />

work on.<br />

1<br />

I need the<br />

BeatBox.java file, too.<br />

Other people can get<br />

a copy <strong>of</strong> the original<br />

file while Bob works<br />

on his changes on his<br />

local machine.<br />

188 Chapter 6<br />

Bob checks out BeatBox.java<br />

from the server.<br />

1.5<br />

You’ll also see this referred to as<br />

configuration management, which is a little<br />

more formal term for the same thing.<br />

I need the<br />

BeatBox.java file.<br />

The rest <strong>of</strong> your team can check<br />

out Version 1 <strong>of</strong> BeatBox.java<br />

while Bob works on his version.<br />

Download at WoweBook.Com<br />

2<br />

Bob’s Machine<br />

Found it, here ya go…<br />

Found it, here ya go…<br />

Bob makes some<br />

changes to the code and<br />

tests them.<br />

The version control<br />

server looks up files and<br />

returns the latest version<br />

to the developers.<br />

The server running<br />

version control s<strong>of</strong>tware

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!