PSEC - Powershell Enhanced Capability
Version 1.2.1

Lib Task Gen JWire Encoders

Purpose

This step is used to generate the JWire encoder/decoder logic for all classes marked as implementing JWired.

Description

Refer to the Java JWire documentation for detailes on the class themselves. This document details the building steps.

The source for the process are the compiled java files and refered to by the -gael parameter used in GenJWireEncoders invoked by this script.

  1. Modify/add the JWired classes in the server side Java code.
  2. Compile the server code.
  3. Run this step to generated the JWired encoders. The Update Java classes and Update Dart classes need to be check for the output to put into the compiler input stream.
  4. Rerun the compiler to generate class files for these new files.
  5. Restart the server

Note

When the Java compiler has trouble with the generated Java encoder, delete it. This is only referred to with Class.forName so there is no dependency. This is mostly encountered when dealing with new JWire types.

Dart does not have the same capability so just keep regenerating the version until a good file is produced. Theoretically it shoud only generate compilable files.

PSEC - Powershell Enhanced Capability
1.2.1

Copyright © 2018-2021, 2022, Rexcel System Inc.

 

 

 

 

 

X