nico 01/02/04 05:08:52
Modified: src/main/org/apache/tools/ant/taskdefs Rmic.java
docs index.html
Log:
Added debug-attribute to rmic (Bug #224)
Revision Changes Path
1.18 +8 -0
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Rmic.java
Index: Rmic.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Rmic.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Rmic.java 2001/01/09 12:24:51 1.17
+++ Rmic.java 2001/02/04 13:08:51 1.18
@@ -108,6 +108,7 @@
private String iiopopts;
private boolean idl = false;
private String idlopts;
+ private boolean debug = false;
private Vector compileList = new Vector();
@@ -133,6 +134,10 @@
filtering = filter;
}
+ public void setDebug(boolean debug) {
+ this.debug = debug;
+ }
+
/**
* Set the classpath to be used for this compilation.
*/
@@ -272,6 +277,9 @@
cmd.createArgument().setValue("-idl");
if( idlopts != null )
cmd.createArgument().setValue(idlopts);
+ }
+ if( debug ) {
+ cmd.createArgument().setValue("-g");
}
int fileCount = compileList.size();
1.202 +6 -1 jakarta-ant/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/index.html,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -r1.201 -r1.202
--- index.html 2001/02/04 01:00:41 1.201
+++ index.html 2001/02/04 13:08:52 1.202
@@ -34,7 +34,7 @@
<center>
<p>Version: @VERSION@<br>
-$Id: index.html,v 1.201 2001/02/04 01:00:41 nico Exp $</p>
+$Id: index.html,v 1.202 2001/02/04 13:08:52 nico Exp $</p>
</center>
<hr>
@@ -4647,6 +4647,11 @@
<tr>
<td valign="top">idlopts</td>
<td valign="top">additional arguments for IDL file generation</td>
+ <td align="center" valign="top">No</td>
+ </tr>
+ <tr>
+ <td valign="top">debug</td>
+ <td valign="top">generate debug info (passes -g to rmic). Defaults to
false.</td>
<td align="center" valign="top">No</td>
</tr>
</table>