blob: 81ded443f1b66e10ff42b68ce4bb3d3b5863f6e4 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Building manually
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Building manually
</h1>
<h2>
Incremental build
</h2>
<p>
The <strong>Build</strong> command performs an incremental build that compiles all
resources modified since the last build. To trigger an incremental build, either:
</p>
<ul>
<li>
press <strong>Ctrl+B</strong> or
</li>
<li>
from the menu bar, select <strong>Project &gt; Build All</strong>
</li>
</ul>
<h2>
Incremental project build
</h2>
<p>
You can also incrementally build single projects. Select the project that you want to build and:
</p>
<ul>
<li>
Select <strong>Project &gt; Build Project</strong> from the menu bar or
</li>
<li>
Select <strong>Build Project</strong> from the project's pop-up menu
</li>
</ul>
<h2>
Clean and rebuild from scratch (full build)
</h2>
<p>
To clean and rebuild all workbench resources that have an associated builder (e.g. Java projects),
select <strong>Project</strong> &gt; <strong>Clean...</strong> from the menu bar.
Then select <strong>Clean all projects</strong> and press <strong>OK</strong>.
</p>
<h2>
Clean and rebuild selected projects
</h2>
<p>
To clean and rebuild all resources contained in one or multiple projects:
</p>
<ul>
<li>
Select the projects
</li>
<li>
Select <strong>Project</strong> &gt; <strong>Clean...</strong> from the menu bar
</li>
<li>
Press <strong>OK</strong>
</li>
</ul>
<p>
or
</p>
<ul>
<li>
Select <strong>Project</strong> &gt; <strong>Clean...</strong> from the menu bar
</li>
<li>
Select <strong>Clean projects selected below</strong>
</li>
<li>
Select the projects to clean and press <strong>OK</strong>
</li>
</ul>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" >
</p>
<p>
<a href="../concepts/concepts-4.htm">Java builder</a><br>
<a href="../concepts/cbuildcp.htm">Build classpath</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="tasks-106.htm">Building a Java program</a><br>
<a href="tasks-108.htm">Building automatically</a><br>
<a href="tasks-110.htm">Working with build paths</a><a href="tasks-110.htm"></a><br>
<a href="tasks-113.htm">Adding a JAR file to the build path</a><br>
<a href="tasks-112.htm">Adding a class folder to the build path</a><br>
<a href="tasks-111.htm">Viewing and editing a project's build path</a><br>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" ><br>
<a href="../reference/ref-123.htm">Java Build path</a><br>
<a href="../reference/ref-menu-project.htm">Project menu</a>
</p>
</body>
</html>