prod_create



NAME

      product create - create a new product


SYNOPSIS

      product create [-f] [product] ["product description"] [product_release]
      ["responsible company"] [product_directory]


DESCRIPTION

      The product create command creates a new product named product. To
      create a new product means the following:

      Create a directory named product. The directoy is created
           in the root directory for products. The root directory is defined
           by the SDE_PRODUCTS environment variable. The default value for
           the root directory is /ipa/products directory.

      Create the product subdirectory named release.

      In the release directory create Product Directory Set (PDS)
           which includes the following directories:
           bin, etc, doc, forms, help, include, lib and info.

      You may have your own default directory set, which the command will
      create. A default directory set may be defined in a file which must be
      pointed to by the environment variable PDS. If the PDS environment
      variable is not defined then the program looks for
      $SDE_HOME/config/PDS file. If this file is present then the
      directories specified in this file will be created.

      Note that the info directory is allways created.

      Create the file overview in the info directory and add the following
           information:

           product.name:
           product.description:
           product.responsible:
           product.date.cretion:
           product.release:
           product.offspring:

      The format follows the X resource managers database format.

      If the product directory is not placed in the products' root directory
           (default /ipa/products) directory then create a link named
           product to point to the newly created product directory.

    PARAMETERS
      product
           product name

      product_description
           One line product description

      product_release
           The first release name (by default 1.0-0).

      responsible_department
           Company/department responsible for the product

      product_directory
           The home directory of the product.  The default value is the
           product name placed in the /ipa/products_directory.

      NOTE: You must have the write access to create the product structure
      and the link in /ipa directory.

    OPTIONS
      -f   Executes the command directly without prompting for parameters.


EXAMPLES

      product create
      product name : ex_prod
      product description : Product example
      product release  (default=1.0-0) :
      Product responsible company/dept  : SEAUT/KMT
      product directory (default=/ipa/products/ex_prod) :

      product name        : ex_prod
      Description         : Product example
      Configuration       : 1.0-0
      Responsible company : SEAUT/KMT
      product directory   : /ipa/products/ex_prod

      Are data correct[y/n/q] (default=y) :

      Directory /ipa/products/ex_prod/1.0-0/info is created
      Directory /ipa/products/ex_prod/1.0-0/bin is created
      Directory /ipa/products/ex_prod/1.0-0/etc is created
      Directory /ipa/products/ex_prod/1.0-0/doc is created
      Directory /ipa/products/ex_prod/1.0-0/forms is created
      Directory /ipa/products/ex_prod/1.0-0/help is created
      Directory /ipa/products/ex_prod/1.0-0/lib is created
      Directory /ipa/products/ex_prod/1.0-0/include is created
      File      /ipa/products/ex_prod/1.0-0/info/overview is created
      Link      /ipa/ex_prod pointing to the /ipa/products/ex_prod/1.0-0 is
      created

      product create ex_prod completed




FILES

      /ipa/products/product/info/overview
      $SDE_HOME/config/PDS


DIRECTORIES

      /ipa/products/product
      /ipa/products/product/info
      /ipa/products/product/bin
      /ipa/products/product/etc
      /ipa/products/product/doc
      /ipa/products/product/forms
      /ipa/products/product/help
      /ipa/products/product/include
      /ipa/products/product/lib


EXTERNAL INFLUENCES

      The SDE_PRODUCTS environment variable defines where the project
      directory will be created. The default value is /ipa/products.


SEE ALSO

      product(1), prod_delete(1)


AUTHOR

      Ivica Crnkovic