Browse Source

emacssym

tags/V_1_1_b2
wisberg 21 years ago
parent
commit
12a9d7fee2

+ 28
- 16
docs/dist/doc/ant-ajc-task.html View File

@@ -165,6 +165,13 @@ defaults to <tt>false</tt>.</td>
<th colspan="3">Specifying compiler side-effects and messages</th>
</tr>

<tr>
<td VALIGN=TOP>emacssym</td>
<td VALIGN=TOP>whether to emit <tt>.ajesym</tt> symbol files for Emacs support;
defaults to <tt>false</tt>.</td>
<td ALIGN=CENTER VALIGN=TOP>No</td>
</tr>

<tr>
<td VALIGN=TOP>verbose</td>
<td VALIGN=TOP>whether to emit compiler status messages during the compile;
@@ -249,15 +256,15 @@ interface and having a public no-argument constructor.</td>
<tr>
<td VALIGN=TOP>warn</td>
<td VALIGN=TOP>one or more comma-separated warning specifications:
constructorName,
packageDefaultMethod,
deprecation,
maskedCatchBlocks,
unusedLocals,
unusedArguments,
unusedImports,
syntheticAccess, or
assertIdentifier.</td>
<tt>constructorName</tt>,
<tt>packageDefaultMethod</tt>,
<tt>deprecation</tt>,
<tt>maskedCatchBlocks</tt>,
<tt>unusedLocals</tt>,
<tt>unusedArguments</tt>,
<tt>unusedImports</tt>,
<tt>syntheticAccess</tt>, or
<tt>assertIdentifier</tt>.</td>
<td ALIGN=CENTER VALIGN=TOP>No</td>
</tr>

@@ -269,15 +276,17 @@ assertIdentifier.</td>

<tr>
<td VALIGN=TOP>debuglevel</td>
<td VALIGN=TOP>comma-separated list lines, vars, or source,
indicating to add debugging information for lines,
variables, or source</tt></td> <!-- XXX weak -->
<td VALIGN=TOP>one or more comma-separated debug specifications:
<tt>lines</tt>,
<tt>vars</tt>, or
<tt>source</tt>.
</td>
<td ALIGN=CENTER VALIGN=TOP>No</td>
</tr>

<tr>
<td VALIGN=TOP>PreserveAllLocals</td>
<td VALIGN=TOP>code gen preserve all local variables (for debug purposes);
<td VALIGN=TOP>code gen preserves all local variables (for debug purposes);
defaults to <tt>false</tt>.&nbsp;</td>
<td ALIGN=CENTER VALIGN=TOP>No</td>
</tr>
@@ -329,13 +338,16 @@ assertIdentifier.</td>
<td ALIGN=CENTER VALIGN=TOP>No</td>
</tr>

<!--
<tr>
<td VALIGN=TOP>noexit</td>
<td VALIGN=TOP>disable System.exit (kills Ant -- use failonerror);
defaults to <tt>true</tt>.&nbsp;</td>
<td VALIGN=TOP>disable System.exit; defaults to <tt>true</tt>.
(<em>If false, this kills the Ant process</em>;
to halt compile gracefully, use <tt>failonerror</tt>);
&nbsp;</td>
<td ALIGN=CENTER VALIGN=TOP>No</td>
</tr>
-->
<tr>
<td VALIGN=TOP>target</td>
<td VALIGN=TOP>Specify target class file format (must be "1.1" or "1.2");

+ 4
- 0
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java View File

@@ -190,6 +190,10 @@ public class AjcTask extends MatchingTask {
public void setDebug(boolean debug) {
addFlag("-g", debug);
}
public void setEmacssym(boolean emacssym) {
addFlag("-emacssym", emacssym);
}

public void setDebugLevel(String level) {
level = validCommaList(level, VALID_DEBUG);

Loading…
Cancel
Save