The flexibility of the Component Build Service (CBS) allows you to build software components (SCs) with various different build options. You can use the following build options to perform the component build in different variants.
Build Options
Name |
Default value |
Description |
Can be used in plug-in |
include_sources |
true |
If this value is set to true, the source code of all entity types that support source code (such as Java packages) is packed into the public parts and the deploy archives. (This is required for debugging, for example.) To stop the source code from being packed automatically, set this value to false. |
All |
com.sap.jdk.javac.force_fork |
false |
If you set this value to true, the source code is compiled in forked mode. This option requires the option com.sap.jdk.home_path_key. |
All plug-ins that compile Java source code |
com.sap.jdk.home_path_key |
none |
This option specifies the full key for the JDK version (such as JDK1.3.1_HOME). |
All plug-ins that compile Java source code |
com.sap.jdk.javac.deprecation |
false |
If you set this option to true, deprecation warnings are generated. |
All plug-ins that compile Java source code |
com.sapjdk.javac.optimize |
off |
If you set this option to on, the component is built with optimize=“on“; otherwise the build is performed with debug=“on“. |
All plug-ins that compile Java source code |
com.sap.javac.source |
- |
The possible values depend on the version of the Java compiler. The value of this option is passed to the Java compiler as a source code parameter. |
All |
More Information:
Editing CBS Build Compartment XML provides information about managing the build options.