Extract Program

Extracting the Java source in the form of a file out to a directory is useful for working in an IDE.

A user can edit, compile, and debug code in an IDE. The extract program command processes any special macros and generates a file containing the Java source of the JPO. If no source directory is given, the system uses ENOVIA_INSTALL/java/custom (added to MX_CLASSPATH automatically by the install program).

extract program PATTERN [source DIRECTORY];
  • PATTERN is the name of the program to extract.
  • DIRECTORY path to the location of the program.

To use the extract feature, the JPO name must follow the Java language naming convention (no spaces, special characters, and so on). Only alphanumeric printable characters plus '.' and '_' are allowed in class names in the JPO.