ANT job to call JDeveloper to create an EAR file with the specified deployment file

I was asked about the possibility of creating an ANT script that can be used to copy property files (associated with the target environment), create an EAR file (possibly using the JDeveloper deployment file), and deploy this EAR file for the target OC4J container.

I ask if anyone ever successfully runs JDeveloper automatically to create an EAR file using the specified "deploy" file using ANT? OR is this possible if you pass JDeveloper at all. Is there a sample ANT code snippet for this, or any info / hint that might be helpful.

Thanks.

+3
source share
5

JDevelopers EAR , , (.. ).

Ant, (, Ear zip, zipfileset ear).

OC4J, , , EAR - ( copy).

+2

ADF Business Components (BC), ojdeploy. BC .

ojdeploy JDeveloper (ouch!) EAR JDeveloper.

( , -, .)

+3

ojdeploy jdev\bin, Delayment JDeveloper .

+1

, ant, jDeveloper, ( ): C:\Oracle\Middleware\jdeveloper\bin

,

These are the files that he uses when he right-clicks and select Expand from interface

+1
source

You can create your own JDeveloper deployment profile interpreter program and create an Ant file from the deployment profile. I have done this before. Tim

0
source

Source: https://habr.com/ru/post/1702732/


All Articles