Workspace

The Workspace folder contains the models and harvested code of each project.

Source base of an application is typically the root of a Git or Mercurial repository; that way one can simply clone their repository into workspace directory.

Standard directory structure under <NSF_ROOT>/workspace:

  • /<sourceBase.baseRoot>
    • /<sourceBase.name>.xmlTODO to be introduced–
    • /applications
      • /<application.shortName>
        • /ext, /harvest, /test
          • code extensions, if any
        • /settings
        • /model
          • /<application.shortName>-<application.version>.xml
          • /instances
            • /<applicationInstance.name>.xml
    • /components
      • /<component.name>
        • /ext, /harvest, /test
          • code extensions, if any
        • /model
        • /models
          • Note that these files are typically not used – directory format is the standard.
          • /<component.name>-<component.version>.xml
          • /<component.name>-model-<timestamp>/<component.name>-<component.version>.xml
            • model backups

A basic application example:

<NSF_ROOT>
  /workspace
    /demobooking
      /applications
        /bookingApp
          /model
            /instances
              /transavia_bookingapp.xml
            /bookingApp-1.0.xml
      /components
        /demoBooking
          /model
            /dataElements
              /Person.xml
            /demoBooking-1.0.xml

See also:

References