How to update MDS ?
        Posted  
        
            by harsh.singla
        on Oracle Blogs
        
        See other posts from Oracle Blogs
        
            or by harsh.singla
        
        
        
        Published on Fri, 14 May 2010 08:39:06 +0000
        Indexed on 
            2010/05/14
            8:56 UTC
        
        
        Read the original article
        Hit count: 402
        
The other question that comes to mind is how to update and existing file or creates a new file in MDS. It's really simple.
We already have setup done for this in Foundation Pack.
Here are the steps you need to do to update or create a new file in MDS
1) Browse to AIA_HOME/AIAMetaData
2) Place your file(it may be new file or modified existing file) at the desired location. The same hierarchy will appear in MDS starting from AIAMetaData.
3) Edit UpdateMetaDataDeploymentPlan.xml in aia_instances/AIA_INSTANCE_NAME/config.
4) In the tag, mention the files which you have modified or added new. You can add a file or directory as required.
5) Browse to AIA_HOME/Infrastructure/Install/scripts
6) Run ant -f UpdateMetaData.xml
Here is the same UpdateMetaData Deployment Plan.
There are some things that you may want to take care while updating MDS
1) The path in "fileset" tag can be anywhere on the disk.
2) The path in "include" tag has to be relative to what is given in "fileset" tag
3) The path is MDS will appear what you have given in "include" tag. The path in this tag will automatically appended to /apps/AIAMetaData/.
© Oracle Blogs or respective owner