Description / Features
This batch gives you the ability to extract PL/SQL source code from Oracle Forms. You can then feed SonarQube with the extracted PL/SQL source code.
This extractor uses the Oracle JDAPI library that is included in the Oracle Developer Suite. Therefore, a full installation of the Oracle Developer Suite is required. Once installed, check that the environment is correctly set:
- The "PATH" environment variable must contain the Oracle Developer Suite paths, for example: PATH=C:/OracleDevSuite/jdk/jre/bin/classic;C:/OracleDevSuite/jdk/jre/bin;C:/OracleDevSuite/jdk/jre/bin/client;C:/OracleDevSuite/jlib;C:/OracleDevSuite/bin;C:/oraclexe/app/oracle/product/10.2.0/server/bin
- The ORACLE_HOME "environment variable" must contain the Oracle root path, for example: ORACLE_HOME=C:/oraclexe/app/oracle/product/10.2.0/server
Then execute the following command:
formsExtensions property is optional. It's a comma-separated list of the extensions of Oracle Forms files. By default value is 'fmb,mmb,olb,pll'. The output directory, as set by the property outputDir, must exist and is not clean up. Generated files override existing ones.