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.

table <strong>of</strong> contents<br />

xvi<br />

6 / It<br />

building your code<br />

Insert tab a into slot b...<br />

pays to follow the instructions...<br />

...especially when you write them yourself.<br />

It’s not enough to use configuration management to ensure your code stays safe. You’ve<br />

also got to worry about compiling your code and packaging it into a deployable unit. On<br />

top <strong>of</strong> all that, which class should be the main class <strong>of</strong> your application? How should that<br />

class be run? In this chapter, you’ll learn how a build tool allows you to write your own<br />

instructions for dealing with your source code.<br />

Pieces <strong>of</strong> your project Build process Working system<br />

log4j<br />

.jar<br />

You’ve got folders<br />

<strong>of</strong> source code and<br />

unit tests...<br />

apachecommons<br />

.jar<br />

...libraries, jars,<br />

dlls, so’s...<br />

...probably some<br />

binary files, like<br />

images or icons...<br />

...deployment descriptors,<br />

HTML files, app.<br />

configs, etc...<br />

This is what we’ve been<br />

focusing on so far...<br />

The build magic<br />

happens here.<br />

Developers aren’t mind readers 220<br />

Building your project in one step 221<br />

Ant: a build tool for Java projects 222<br />

Projects, properties, targets, tasks 223<br />

Good build scripts... 228<br />

Good build scripts go BEYOND the basics 230<br />

Your build script is code, too 232<br />

New developer, take two 233<br />

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

Here’s what we need<br />

to work on now.<br />

And out pops your<br />

system, ready to run.<br />

Download at WoweBook.Com

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

Saved successfully!

Ooh no, something went wrong!