Exports an OSB project from either an Eclipse or JDeveloper Workspace to a deployable jar file. The jar file will be stored in the artifacts folder for you automatically.

You should checkout or export code for OSB project (not entire JDeveloper application) from SCM prior to running this operation. Checkout or Export can be easily done if you configure project with Source details. A folder must exist in FD_TEMP_DIR with a name that matches the OSB Project project property, and must contain the sources for the OSB project.

This operation should be run on a OSB server. To accomplish this, Flexagon recommends adding the OSB instance to a build environment rather than checking the "Build Environment" checkbox in a deployment environment. This will reduce the number of environments that show up when you choose to build.

Environment/Instance Properties

Property Name

Property Code

Required

Description

OSB Extended Classpath

FDOSB_EXT_CLASSPATH

No

Allows the user to extend the classpath for this plugin call.

OSB Home

FDOSB_ORACLE_SB_HOME

Yes

The Oracle OSB home. For example: /opt/middleware/Oracle_OSB1

Oracle Weblogic Home (WL_HOME)

FDWLS_WEBLOGIC_HOME

Yes

Weblogic Home Directory. (e.g. /u01/oracle/products/fmw/wlserver)

Project Properties

Property Name

Property Code

Required

Description

OSB Project

FDOSB_PROJECT_NAME

Yes

OSB Project Name.

OSB Jar Name

FDOSB_JAR_NAME

Yes

Name of the jar file used to deploy the OSB project.

OSB Configuration Project

FDOSB_CONFIG_PROJECT_NAME

No

OSB Configuration Project Name.

OSB Parent Project Path

FDOSB_PARENT_PROJECT_PATH

No

OSB Project folder is derived by using value of this property, i.e. if <Workflow Execution Temp Directory>/<OSB Parent Project Path>/<OSB Project> is considered Project Folder. Project folder is only valid if it contains either servicebus.sboverview, .settings or .project files. If that is not true or this property is not specified project folder will be derived by searching servicebus.sboverview, .settings or .project files in exported source.

Inputs

Input Name

Input Code

Required

Description





Outputs

Output Name

Required

Description




Artifacts

This operation produces a deployable jar file artifact that will be stored in the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

Customization/Configuration File

During the build workflow, the customization/configuration file inside the project should be copied to the artifacts folder using the File Plugin's saveArtifacts operation.