blob: 11398e157f11689890867e9959d29d356f9243fe [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Java projects</title>
</head>
<body>
<h1>Java projects</h1>
<p>A Java project contains source code and related files for building a Java
program. It has an associated Java builder that can incrementally compile Java source files as they are changed.</p>
<p>A Java project also maintains a model of its contents. This model
includes information about the type hierarchy, references and declarations of Java elements.
This information is constantly updated as the user changes
the Java source code. The updating of the internal Java project model is independent of the
Java builder; in particular, when performing code modifications, if autobuild is turned
off, the model will still reflect the present project contents.</p>
<p>You can organize Java projects in two different ways:</p>
<ul>
<li><span>Using the project as the source container. This is the recommended organization for simple projects.</span></li>
<li><span>Using source folders inside the project as the source container. This is the recommended organization for more complex projects. It allows you to subdivide packages into
groups.</span></li>
</ul>
<p><img width="159" height="27" src="../images/ngrelc.gif" alt="Related concepts" border="0"><br>
<a href="concepts-4.htm">Java builder</a><br>
<a href="../concepts/concepts-9.htm">Refactoring support</a></p>
<p><img border="0" width="159" height="27" src="../images/ngrelt.gif" alt="Related tasks"><br>
<a href="../tasks/tasks-12.htm">Creating a new Java project</a><br>
<a href="../tasks/tasks-13.htm">Creating a Java project as its own source container</a><br>
<a href="../tasks/tasks-14.htm">Creating a Java project with source folders</a><br>
<a href="../tasks/tasks-26.htm">Creating a new source folder</a><br>
<a href="../tasks/tasks-11.htm">Creating Java elements</a><br>
<a href="../tasks/tasks-85.htm">Copying and moving Java elements</a><br>
<a href="../tasks/tasks-57.htm">Generating getters and setters</a><br>
<a href="../tasks/tasks-47.htm">Filtering elements</a><br>
</p>
<p><img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159"><br>
<a href="../reference/ref-121.htm">New Java Project wizard</a><br>
<a href="../reference/ref-preferences-new-project.htm">New Project preferences</a></p>
<p><a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" width=324 height=14 alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0"></a></p>
</body>
</html>