Data Source Deployment
To deploy data source, file uploaded to the data source is automatically deployed if -nodatafile parameter is not provided. To deploy a data source from eclipse format to a specific MDM server, use the following syntax in the command line.
For Windows
<Install Directory>\studio-mdm\4.0\eclipse>TIBCOBusinessStudio.exe -application com.tibco.xpd.deploy.server.cim.DeployModel -data <Workspace Directory> -u <username> -pwd <password> -mode ds -baseURL <BaseURL> -i <input file> -e <User Enterprise> -d <Deployment Enterprise>
For example,
<Install Directory>\studio-mdm\4.0\eclipse>TIBCOBusinessStudio.exe -application com.tibco.xpd.deploy.server.cim.DeployModel -data "c:\Users\mdm\workspace" -u jsmith -pwd jsmith -mode ds -baseURL http://localhost:8080 -i "c:\Users\myname\workspace\MyProject\Datasources\Contact.ds" -e techpubs -d techpubs
For Linux
./TIBCOBusinessStudio -application com.tibco.xpd.deploy.server.cim.DeployModel -data <Workspace Directory> -u <username> -pwd <password> -mode ds -baseURL <BaseURL> -i <input file> -e <User Enterprise> -d <Deployment Enterprise>
For example,
./TIBCOBusinessStudio -application com.tibco.xpd.deploy.server.cim.DeployModel -data "/home/apps/workspace" -u jsmith -pwd jsmith -mode ds -baseURL http://localhost:8080 -i "/home/apps/workspace/MyProject/Datasources/Contact.ds" -e techpubs -d techpubs