Skip to Main Content
Automating ActionScript Projects with Eclipse and Ant
book

Automating ActionScript Projects with Eclipse and Ant

by Sidney de Koning
October 2011
Intermediate to advanced content levelIntermediate to advanced
98 pages
2h 18m
English
O'Reilly Media, Inc.
Content preview from Automating ActionScript Projects with Eclipse and Ant

Chapter 2. Source Code Management

Consider the following scenario. You have spent the past two days crafting the most perfect piece of code for your own library or framework. You ask your team member to create a practical example to test if it all works as you intended. You copy your source, and your teammate compiles it and finds a bug. Since he is a good team member, he wants to dive right into your code, fix it, and give you back the corrected code.

But after he fixes it, there are now two versions that need to be merged into one working piece of software. This can be a very error-prone and intimidating process: you have to identify what has changed and adjust it so it is correct in both versions.

Or what about this scenario? You are part of a team and need to work on the application for that Really Big Client. Since you work on location with the client and your colleague works back at your office, you can’t work at the same time on the same code; you can only take turns with it. And since there is no centralized place to put the code, you have to copy over the source from your teammate before you can work on the project. Not very efficient!

This is where source code management (SCM) comes into play. SCM, or version control, is the practice of managing the revisions of your code with comments so the code can be easily retrieved, even if it was written a long time ago.

The best way to visualize a versioning system is to think of it as a tree. As a tree grows, layers develop, known ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AdvancED ActionScript 3.0: Design Patterns

AdvancED ActionScript 3.0: Design Patterns

Ben Smith
ActionScript 3.0 Cookbook

ActionScript 3.0 Cookbook

Joey Lott, Darron Schall, Keith Peters
Migrating to Swift from Flash and ActionScript

Migrating to Swift from Flash and ActionScript

Radoslava Leseva Adams, Hristo Lesev

Publisher Resources

ISBN: 9781449314736Errata PageSupplemental Content