ANT target: CreatePublishDataSource
CreatePublishDataSource creates a data source which points to the production database. The quickpublish feature uses this data source to move data from the authoring server's database to the production server's database. CreatePublishDataSource adds the new datasource under the current WebSphere Commerce JDBC Provider in the authoring server.
Called by:
Prerequisites:
The createInstance.properties file must exist for this Ant target to work. For information on generating the properties file, see ANT targets.
Required parameters:
- instance
- The name of the WebSphere Commerce instance with which you are working (for example, demo).
- dbUserPassword
- The WebSphere Commerce database user's password.
Example
WC_installdir/bin/config_ant.sh -buildfile WC_installdir/components/Workspaces/xml/configureWorkspaces.xml -DinstanceName=instance -DdbUserPassword=dbUserPassword CreatePublishDataSource
- Windows: WC_installdir/bin/config_ant.bat -buildfile WC_installdir/components/Workspaces/xml/configureWorkspaces.xml -DinstanceName=instance -DdbUserPassword=dbUserPassword CreatePublishDataSource
Related Concepts
ANT targets