Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Znav
nextSlice2Java Ant Task
prevAsynchronous Method Invocation (AMI) in Java

The Slice-to-Java compiler, slice2java, offers the following command-line options in addition to the standard options:

  • --impl
    Generate sample implementation files. This option will not overwrite an existing file.
  • --impl-tie
    Generate sample implementation files using tie classes. 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:

    Wiki Markup
    {zcode}
    slice2java --checksum Checksums File1.ice File2.ice
    {zcode}
  • --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. Global metadata specified with --meta overrides any corresponding global metadata directive in the files being compiled.

Ztop

See Also

Zret
 
Znav
nextSlice2Java Ant Task
prevAsynchronous Method Invocation (AMI) in Java