Data source Deployment using Studio command line
book
Article ID: KB0079466
calendar_today
Updated On:
Description
When deploying data source from studio command line using below command, we don't have any option to provide external path of data file to upload.
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
-nodatafile command is there which will not upload file but just deploy data source.If we don't provide this parameter , it takes file path which we provided in studio project.
Resolution
To Support datafile path argument in command line for datafile deployment which is placed at any location the argument is "-datafilepath".
So after adding this the whole command to deploy datasource along with external data file path is,
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 -datafilepath "path of datafile"
Issue/Introduction
Data Source Deployment Using command line referring external data file
Feedback
thumb_up
Yes
thumb_down
No