My ant scripts in this project: https://github.com/makker-nl/ReleaseDeploy will do the job.
It's based on the config jar tool (https://docs.oracle.com/middleware/12211/osb/develop/GUID-097674FB-B943-4124-B85B-B29BE8FCBF00.htm#OSBDV2338
The scripts also support SOA Suite or ADF/Maven builds. And also Weblogic WLST configurations etc.
Unfortunately I never been in the opportunity to document it in a generic way. And provide a example deployment. Since I used this at customers only and those I can't provide.
Thanks Martien for sharing useful information.
Deploy of OSB12c jar file using ANT task is sorted.
But, still we are unable to find build OSB 12c jar file using ANT task.
Can you/anyone suggest few reference for the same
Its also in de GitHub project. Check the file https://github.com/makker-nl/ReleaseDeploy/blob/master/Source/ReleaseDeploy/Release/buildOSB.xml
And especially the macrodef <macrodef name="buildOSB".
Example config jar setings file:
In my situation this is placed in the root of the OSB application (with project folders as subfolders. The projects you want to release/build are under the <source> element.
My Release framework expects it to be named as sbSettings.0.0.10.xml.tpl, with 0.0.10 being the release number. It will expand it to sbSettings.0.0.10.xml where it will add the exact link to the resulting destination config.jar file.