Browse Source

document handling of inner classes in <rmic>.

PR: 2436


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269378 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
08535a06a2
2 changed files with 7 additions and 3 deletions
  1. +3
    -2
      build.xml
  2. +4
    -1
      docs/manual/CoreTasks/rmic.html

+ 3
- 2
build.xml View File

@@ -640,7 +640,7 @@


<junit printsummary="no" haltonfailure="yes" fork="${junit.fork}">
<jvmarg value="-classic"/>
<!-- <jvmarg value="-classic"/> -->
<classpath refid="tests-classpath"/>

<sysproperty key="build.tests" value="${build.tests}"/>
@@ -693,8 +693,9 @@
<target name="run-single-test" if="testcase" depends="compile-tests">

<junit printsummary="no" haltonfailure="yes" fork="${junit.fork}">
<jvmarg value="-classic"/>
<!-- <jvmarg value="-classic"/> -->
<sysproperty key="build.tests" value="${build.tests}"/>
<classpath location="${java.home}/lib/classes.zip" />
<classpath refid="tests-classpath"/>
<formatter type="plain" usefile="false" />
<test name="${testcase}" />


+ 4
- 1
docs/manual/CoreTasks/rmic.html View File

@@ -12,7 +12,10 @@
<p>Runs the rmic compiler for a certain class.</p>
<p>Rmic can be run on a single class (as specified with the classname
attribute) or a number of classes at once (all classes below base that
are neither _Stub nor _Skel classes).</p>
are neither _Stub nor _Skel classes). If you want to rmic a single
class and this class is a class nested into another class, you have to
specify the classname in the form <code>Outer$$Inner</code> instead of
<code>Outer.Inner</code>.</p>
<p>It is possible to refine the set of files that are being rmiced. This can be
done with the <i>includes</i>, <i>includesfile</i>, <i>excludes</i>, <i>excludesfile</i> and <i>defaultexcludes</i>
attributes. With the <i>includes</i> or <i>includesfile</i> attribute you specify the files you want to


Loading…
Cancel
Save