blob: 6b6ead29612425fe6c3e892d50b46198f8d83b81 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Converting the extensions for a project
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
</head>
<body>
<h1>
Converting the extensions for a project
</h1>
<p>
To convert the file extensions for an AspectJ project:
<ol>
<li>Right click on that project in the package explorer then select <strong>AspectJ Tools &gt; Convert File Extensions...</strong>.</li>
<li>The recommended configuration is the default, <strong>Convert all source files containing aspects to .aj files
and the rest to .java files</strong>. Optionally switch to <strong>Convert all source files to .aj files
</strong> or <strong>Convert all source files to .java files</strong>.
Note that the default option will rename files that contain inner aspects to <em>.aj</em> files.</li>
<li>Optionally select not to rename files that are not included in the active build configurations by unchecking <strong>
Include source files that are not included in the active build configuration</strong></li>
<li>Optionally select not to update build configurations by unchecking <strong>
Update all build configurations</strong></li>
<li>Click <strong>OK</strong> to perform the selected conversion.</li>
</ol>
</p>
<p>
<img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159">
</p>
<p>
<a href="../concepts/aspects.htm">Aspects</a><br>
<a href="../concepts/editor.htm">AspectJ editor</a>
</p>
<p>
<img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159">
</p>
<p>
<a href="convertfileextension.htm">Converting the extensions for individual files</a>
</p>
</body>
</html>