Hi Everyone,
Thank you very much for all the response.
I have benefitted from each suggestion provided by you.
As i got it correct i am writing down the steps i took to get it
done.
1. First is exporting the data from your non-versioned repository:
startSQlRepository -m MotorpriseJSP -repository /atg/userprofiling/
ProfileAdapterRepository -export All c:\24JanProfile.xml
startSQlRepository -m MotorpriseJSP -repository /atg/commerce/catalog/
ProductCatalog -export All c:\24JanCatalog.xml
startSQlRepository -m MotorpriseJSP -repository /atg/commerce/pricing/
priceLists/PriceLists -export All c:\24JanPriceLists.xml
startSQlRepository -m MotorpriseJSP -repository /atg/commerce/pricing/
Promotions -export All c:\24JanPromotions.xml
2. Second is on the new DB settting up the versioned tables.
C:\ATG\ATG2006.3\DAS\solid\i486-unknown-win32\solsql.exe "tcp 1313"
publishing publishing C:\ATG\ATG2006.3\DCS\Versioned\sql\install\solid
\dcs_versioned_ddl.sql
C:\ATG\ATG2006.3\DAS\solid\i486-unknown-win32\solsql.exe "tcp 1313"
publishing publishing C:\ATG\ATG2006.3\DCS\CustomCatalogs\Versioned\sql
\db_components\solid\versioned_custom_catalog_ddl.sql
C:\ATG\ATG2006.3\DAS\solid\i486-unknown-win32\solsql.exe "tcp 1313"
publishing publishing C:\ATG\ATG2006.3\B2BCommerce\Versioned\sql
\install\solid\b2bcommerce_versioned_ddl.sql
3. Third is updating the property files.
Create /config/atg/commerce/catalog/CatalogRepository.properties in
the place of original repository configuration XML file with the
following details
$class=atg.adapter.version.VersionRepository
versionManager=/atg/epub/version/VersionManagerService
versionItemsByDefault=true
checkTables=false
MotorpriseJSPVer/config/atg directory , create epub/version directory
structure. Then create a new file in that directory structure called
VersionManagerService.properties with the following property :
versionedRepositories+=\
CatalogRepository=/atg/commerce/catalog/ProductCatalog
4. Fourth import the data to the new tables:
startSQLRepository -m MotorpriseJSPVer -repository /atg/commerce/
catalog/ProductCatalog -import c:\24JanCatalog.xml -workspace motor -
comment motorversion
startSQLRepository -m MotorpriseJSPVer -repository /atg/commerce/
pricing/priceLists/PriceLists -import c:\24JanPriceList.xml -workspace
motorprice -comment motorversion
Hope this would help someone else with the same trouble as i had.
Thank you all.
Vincy
On Jan 24, 10:46 am, Naga <
a.s.nagara...@gmail.com> wrote:
> Vincy,
> You dont need to have the user and organization data in the versioned
> repository as user data is not going to be modified by the Merchandising or
> CMS or Outreach systems. If you need to have your new Catalog info in your
> Merchandising module. You may have to export your ProductCatalog repository
> and import them into the versioned system and thats it. I dont know if the
> MotorpriseJSP has an extended ProductCatalog - i mean if there is any new
> tables added or anything like that..in that case you may have to create a
> MotorpriseJSPVer using ATGRequired as Publishing.base and have the extended
> productcatalog xml and pricing model xml copied over to the new module and
> make changes for deployable and other attributes if need be and the start
> you versioned module using B2BCommerce.versioned PubPortlet and
> MotorpriseJSPVer and you are good to go to see all your merchandising
> changes...
>
> Naga
>