Building Your Event-Driven Architecture : Service Development Help : Building Java Services in Your Own IDE : Using the jcode Utility : Using jcode frag/fragall to Split Java Source for Designer
Using jcode frag/fragall to Split Java Source for Designer
Use the jcode frag or fragall command to split Java source files for one or more folders in a package into fragments. The jcode utility saves the resulting fragments and service signature (input and output parameters) in the namespace (ns) directory of the package. Because Designer obtains the service information from the ns directory, after running the frag or fragall command, if you view the service in Designer, Designer displays the code from the updated fragments.
The jcode utility does not modify the original Java source.
Important:  
Before you use the jcode utility to update the Java code fragments and service signature, you must add specially formatted Java comments (jcode tags) to the Java source code to designate various segments of the source code. For more information, see Adding Comments to Your Java Code for the jcode Utility.
Command Syntax for jcode frag
Use the jcode frag command to fragment the Java source for a single folder (that is, a single Java source file).
jcode frag package folder
*package is the name of an Integration Server package.
*folder is the name of the folder in the specified package. This folder contains the source you want to fragment.
Command Syntax for jcode fragall
Use the jcode fragall command to fragment the Java source for all folders of an Integration Server package.
jcode fragall package
*package is the name of the Integration Server package containing the source code you want to fragment.
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback