Ant target: CreatePublishDataSource

CreatePublishDataSource creates a data source that points to the production database. The quick publish feature uses this data source to move data from the authoring server's database to the production server's database. CreatePublishDataSource adds the new data source under the current WebSphere Commerce JDBC Provider in the authoring server.

Important: This Ant target is to be used only as a part of WebSphere Commerce instance creation.

Called by



The file must exist for this Ant target to work. For information about generating the properties file, see Ant targets.

Required parameters

The name of the WebSphere Commerce instance with which you are working (for example, demo).
The WebSphere Commerce database user's password.


  • LinuxAIXFor IBM i OS operating systemWC_installdir/bin/ -buildfile WC_installdir/components/Workspaces/xml/configureWorkspaces.xml -DinstanceName=instance_name -DdbUserPassword=dbUserPassword CreatePublishDataSource
  • WindowsWC_installdir/bin/config_ant.bat -buildfile WC_installdir/components/Workspaces/xml/configureWorkspaces.xml -DinstanceName=instance_name -DdbUserPassword=dbUserPassword CreatePublishDataSource