From b9421dc80af485591a9c50cc8921f912e0def11e Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:05:40 -0700 Subject: Removing sources to replace with download links instead. Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/rmic.html | 353 --------------------- 1 file changed, 353 deletions(-) delete mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/rmic.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/rmic.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/rmic.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/rmic.html deleted file mode 100644 index b644c68c..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/rmic.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - - -Rmic Task - - - - -

Rmic

-

Description

-

Runs the rmic compiler for a certain class.

-

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). 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 Outer$$Inner instead of -Outer.Inner.

-

It is possible to refine the set of files that are being rmiced. This can be -done with the includes, includesfile, excludes, excludesfile and defaultexcludes -attributes. With the includes or includesfile attribute you specify the files you want to -have included by using patterns. The exclude or excludesfile attribute is used to specify -the files you want to have excluded. This is also done with patterns. And -finally with the defaultexcludes attribute, you can specify whether you -want to use default exclusions or not. See the section on directory based tasks, on how the -inclusion/exclusion of files works, and how to write patterns.

-

This task forms an implicit FileSet and -supports most attributes of <fileset> -(dir becomes base) as well as the nested -<include>, <exclude> and -<patternset> elements.

-

It is possible to use different compilers. This can be selected -with the "build.rmic" property, the compiler -attribute. or a nested element. -Here are the choices:

- - -

The miniRMI -project contains a compiler implementation for this task as well, -please consult miniRMI's documentation to learn how to use it.

- -

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
basethe location to store the compiled files. - Also serves as the parent directory for any non-Fileset includes, etc. - (This functionality has remained unchanged.)*1
destdirthe location to store the compiled files.
classnamethe class for which to run rmic.No
filteringindicates whether token filtering should take placeNo
sourcebasePass the "-keepgenerated" flag to rmic and - move the generated source file to the given sourcebase directory.No
stubversionSpecify the JDK version for the generated stub code. - Specify "1.1" to pass the "-v1.1" option to rmic, - "1.2" for -v12, compat for -vcompat.
- Since Ant1.7, if you do not specify a version, and do not ask - for iiop or idl files, "compat" is selected. - -
No, default="compat"
classpathThe classpath to use during compilationNo
classpathrefThe classpath to use during compilation, given as reference to a PATH defined elsewhereNo
includescomma- or space-separated list of patterns of files that must be - included. All files are included when omitted.No
includesfilethe name of a file. Each line of this file is - taken to be an include patternNo
excludescomma- or space-separated list of patterns of files that must be - excluded. No files (except default excludes) are excluded when omitted.No
excludesfilethe name of a file. Each line of this file is - taken to be an exclude patternNo
defaultexcludesindicates whether default excludes should be used or not - ("yes"/"no"). Default excludes are used when omitted.No
verifycheck that classes implement Remote before handing them - to rmic (default is false)No
iiopindicates that portable (RMI/IIOP) stubs should be generatedNo
iiopoptsadditional arguments for IIOP class generationNo
idlindicates that IDL output files should be generatedNo
idloptsadditional arguments for IDL file generationNo
debuggenerate debug info (passes -g to rmic). Defaults to false.No
includeAntRuntimewhether to include the Ant run-time libraries; - defaults to yes.No
includeJavaRuntimewhether to include the default run-time - libraries from the executing VM; defaults to no.No
extdirslocation of installed extensions.No
compilerThe compiler implementation to use. - If this attribute is not set, the value of the - build.rmic property, if set, will be used. - Otherwise, the default compiler for the current VM will be used. - (See the above list of valid - compilers.)No
executableComplete path to the rmic - executable to use in case of the forking - or xnew compiler. - Defaults to the rmic compiler of the Java version that is currently - running Ant.
- Since Ant 1.8.0.
No
listfilesIndicates whether the source files to be compiled will - be listed; defaults to no.
- Since Ant 1.8.0.
No
- -

*1: -

-

- -

Parameters specified as nested elements

-

classpath and extdirs

-

Rmic's classpath and extdirs attributes are PATH like structure and can also be set via a nested -classpath and extdirs elements.

- -

compilerarg

- -

You can specify additional command line arguments for the compiler -with nested <compilerarg> elements. These elements -are specified like Command-line -Arguments but have an additional attribute that can be used to -enable arguments only if a given compiler implementation will be -used.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
valueSee - Command-line Arguments.Exactly one of these.
line
file
path
prefixSee - Command-line Arguments. - Since Ant 1.8.No
suffixNo
compilerOnly pass the specified argument if the chosen - compiler implementation matches the value of this attribute. - Legal values are the - same as those in the above list of valid - compilers.)No
- -

compilerclasspath since Ant 1.8.0

- -

A PATH like structure holding the - classpath to use when loading the compiler implementation if a - custom class has been specified. Doesn't have any effect when - using one of the built-in compilers.

- -

Any nested element of a type that implements RmicAdapter - since Ant 1.8.0

- -

If a defined type implements the RmicAdapter - interface a nested element of that type can be used as an - alternative to the compiler attribute.

- -

Examples

-
  <rmic classname="com.xyz.FooBar" base="${build}/classes"/>
-

runs the rmic compiler for the class com.xyz.FooBar. The -compiled files will be stored in the directory ${build}/classes.

-
  <rmic base="${build}/classes" includes="**/Remote*.class"/>
-

runs the rmic compiler for all classes with .class -files below ${build}/classes whose classname starts with -Remote. The compiled files will be stored in the directory -${build}/classes.

- -

If you want to use a custom - RmicAdapter org.example.MyAdapter you can either - use the compiler attribute:

-
-<rmic classname="com.xyz.FooBar"
-      base="${build}/classes"
-      compiler="org.example.MyAdapter"/>
-
-

or a define a type and nest this into the task like in:

-
-<componentdef classname="org.example.MyAdapter"
-              name="myadapter"/>
-<rmic classname="com.xyz.FooBar"
-      base="${build}/classes">
-  <myadapter/>
-</rmic>
-
-

in which case your compiler adapter can support attributes and - nested elements of its own.

- - - - -- cgit 1.2.3-korg