Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Git Folder structure
    • /MDS/apps/order/order.xsd
    • /MDS/apps/customer/customer.xsd
  • If you want both of the objects
    • Use "MDS/apps" for sparse checkout folder script. You can use anything for checkout folder script.
    • Use apps for MDS Name Space.
    • Leave MDS Base Object Path as empty and all objects will be included in artifact jar file and it will have proper structure i.e. order/order.xsd and customer/customer.xsd.
    • At deploy time both files will deploy to apps folder.
    • This option should work for partial deployment project as well.
  • If you want only customer objects
    • Use "MDS/apps/customer" for sparse checkout folder script. You can use anything for checkout folder script.
    • Leave MDS Base Object Path as empty.
    • So we have only checked out objects necessary for our project.
    • Use apps/customer for MDS Name Space.
  • Configurations for sparse folder and checkout folder is done on Source Configurations for project and SCM plugins will automatically utilize that information.

Subversion Example

Tip

For SCM other than Git and CVS, it is best to setup MDS Base Object Path to indicate what is included in the artifact in accordance with checkout folder setting.

  • Subversion Folder structure
    • /trunk/apps/order/order.xsd
    • /trunk/apps/customer/customer.xsd
  • If you want both objects
    • Configure /trunk/apps on Project Source.
    • Option 1
      • Set Checkout folder and MDS Base Object Path set to Project Name.
    • Option 2
      • Do not set anything for Checkout folder and MDS Base Object Path.
    • For both options, both objects will be included in artifact jar file and it will have proper structure i.e. order/order.xsd and customer/customer.xsd.
    • Configure namespace on Project Properties as apps.
  • If you want only customer objects
    • Make sure you only checkout /trunk/apps/customer folder only as we are only interested in customer objects here.
    • Use apps/customer as checkout folder as we still want to maintain structure of objects.
    • Set apps as MDS Base Object Path.
    • So we have only checked out objects necessary for our project, so only customer folder related objects will be included in artifact jar file, but it will still have proper structure, i.e. customer/customer.xsd.
    • Configure namespace on Project Properties as apps.
  • Configurations for what should be checked out and checkout folder is done on Source Configurations for project and SCM plugins will automatically utilize that information.