Table of Contents Previous Next
Logo
Client-Side Slice-to-Java Mapping : 10.16 slice2java Command-Line Options
Copyright © 2003-2008 ZeroC, Inc.

10.16 slice2java Command-Line Options

The Slice-to-Java compiler, slice2java, offers the following command-line options in addition to the standard options described in Section 4.19:
• tie
Generate tie classes (see Section 12.7).
• impl
Generate sample implementation files. This option will not overwrite an existing file.
• impltie
Generate sample implementation files using ties (see Section 12.7). This option will not overwrite an existing file.
• checksum CLASS
Generate checksums for Slice definitions into the class CLASS. The given class name may optionally contain a package specifier. The generated class contains checksums for all of the Slice files being translated by this invocation of the compiler. For example, the command below causes slice2java to generate the file Checksums.java containing the checksums for the Slice definitions in File1.ice and File2.ice:
slice2java checksum Checksums File1.ice File2.ice
• stream
Generate streaming helper functions for Slice types (see Section 32.2).
• meta META
Define the global metadata directive META. Using this option is equivalent to defining the global metadata META in each named Slice file, as well as in any file included by a named Slice file. See Section 10.15.2 for an example of using this option.
Table of Contents Previous Next
Logo