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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 6 1/2<br />

<strong>Development</strong> Techniques<br />

Use a build tool to script building,<br />

packaging, testing, and deploying your<br />

system<br />

Most IDEs are already using a build<br />

tool underneath. Get familiar with that<br />

tool, and you can build on what the IDE<br />

already does<br />

Treat your build script like code and<br />

check it into version control<br />

234 Chapter 6 ½<br />

Tools for your <strong>S<strong>of</strong>tware</strong> <strong>Development</strong> Toolbox<br />

<strong>S<strong>of</strong>tware</strong> <strong>Development</strong> is all about developing<br />

and delivering great s<strong>of</strong>tware. In this chapter,<br />

you learned about several techniques to keep<br />

you on track. For a complete list <strong>of</strong> tools in the<br />

book, see Appendix ii.<br />

<strong>Development</strong> Principles<br />

Building a project should be repeatable<br />

and automated<br />

Build scripts set the stage for other<br />

automation tools<br />

Build scripts go beyond just stepby-step<br />

automation and can capture<br />

compilation and deployment logic<br />

decisions<br />

Here are some<br />

<strong>of</strong> the key<br />

techniques you<br />

learned in this<br />

chapter...<br />

... and some <strong>of</strong> the<br />

principles behind<br />

those techniques.<br />

Download at WoweBook.Com<br />

�<br />

�<br />

�<br />

�<br />

�<br />

All but the smallest projects<br />

have a nontrivial build<br />

process.<br />

You want to capture and<br />

automate the knowledge<br />

<strong>of</strong> how to build your<br />

system—ideally in a single<br />

command.<br />

Ant is a build tool for Java<br />

projects and captures build<br />

information in an XML file<br />

named build.xml.<br />

The more you take<br />

advantage <strong>of</strong> common<br />

conventions, the more<br />

familiar your project will look<br />

to someone else, and the<br />

easier the project will be to<br />

integrate with external tools.<br />

Your build script is just as<br />

much a part <strong>of</strong> your project<br />

as any other piece <strong>of</strong><br />

code. It should be checked<br />

into version control with<br />

everything else.

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

Saved successfully!

Ooh no, something went wrong!