projectBuild
Builds JDeveloper project(s) using a deployment profile. This operation can be used to build JAR, WAR files, etc.
You should checkout or export code for entire JDeveloper application from SCM prior to running this operation. Checkout or Export can be easily done if you configure project with Source details. It is good practice to create FlexDeploy project with name that matches JDeveloper application name.
You can also use this operation to build ADF Library JAR files that are useful to share code across various project teams for modular development. Create deployment profile on your project as necessary, commit changes to SCM and run projectBuild plugin operation to execute deployment profile.
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
JDeveloper Install Home |
| Yes | The JDeveloper installation directory. You can control Build instance associated with your project, which effectively controls which version of JDeveloper is used for build operations. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Application (JDev) Source Folder |
| No | The folder where source is checked out. Leave it blank if you did not use any sub-folder to checkout/export source. If you have only one JDeveloper Application in export or check out then leave this blank, and plugin will find .jws file automatically. If you are using SubVersion and Source is defined on Project configuration, you can use |
JDeveloper Project Name |
| No | Project name for which deployment profile will be executed. Leave it blank if you want to all run all project deployment profiles, in which case Project Deployment Profile property is ignored. |
Project Deployment Profile |
| No | The name of the deployment profile to run, only applies if specific project is provided on You can leave this blank if you want to run all deployment profiles for project. |
Application Artifacts Folder |
| No | Folder name relative to the application where artifact files (.war, .jar) will be generated. Default is the deploy folder, if you do not supply any value here. This is default when you create new Application deployment profile as well. All matching files based on Save Artifacts with Extension(s) will be copied to artifacts folder and will be saved as Artifacts in FlexDeploy artifact repository. |
Save Artifacts with Extension(s) |
| No | Specify comma separated extensions to be copied to artifacts after build. For example: war, jar. (Optional). Select one or more from drop down. |
Override File Pattern(s) |
| No | Specify |
Artifacts
The plugin input Save Artifacts with Extension(s)
is used to determine what types of artifacts to copy to the artifacts repository. The files are copied from the folder specified by Application Artifacts Folder
Ā which has a default value of "deploy".
Endpoint Selection
This operation will select all available endpoints associated to the Target.
You must create a target group for JDeveloper and associate the endpoints where you have JDeveloper installed. You can create more than one target group if you are supporting multiple JDeveloper versions in your environment. For example, JDeveloper 11.1.1.8, JDeveloper 12.1.3 etc. Projects can select a specific JDeveloper target group on the Project Configuration Screen as per what version of JDeveloper each project is using for development.
Endpoint Execution
This operation will randomly execute on one of the endpoints identified during selection.
Special Considerations
- style