Basically this is how my ANT scripts works. First add your own metadata folders under the apps folder ( do this in jdeveloper\integration\seed\apps ).
My ANT script will do the following steps for every metadata folder under apps
- optionally remove the metadata folder from the remote Soa Suite Database MDS repository
- Make a zip file of the metadata files ( Local MDS file repository) .
- Make a new Soa Bundle zip with this metadata zip
- Deploy this soa bundle to the Soa Suite Server, The server will add this to the Database MDS
To make this work copy the antcontrib jar to the jdeveloper\ant\lib folder ( because of the foreach and the propertycopy fucntion )
Here is my build.properties
and at last the deployMDS.bat file
set ORACLE_HOME=C:\oracle\MiddlewareJdev11gR1PS2 set ANT_HOME=%ORACLE_HOME%\jdeveloper\ant set PATH=%ANT_HOME%\bin;%PATH% set JAVA_HOME=%ORACLE_HOME%\jdk160_18 set CURRENT_FOLDER=%CD% ant -f build.xml deployMDSSee my github for the source code https://github.com/biemond/soa_tools