The -createbundle option can be used to create source and binary bundles. The following usage applies:
uberBuild -createbundle [ -src | -flavor ] [ -bundleversion ] [ -bundlelabel ] [ -compiler ] [ -pkgconf [variable substitutions] ] [ bundle definitions ]
The -src option declares that the resulting bundles should be source bundles. Without this option, the bundles would be binary bundles.
The -flavor option defines the non compiler component of the flavor. Common values are pthr, dbg and dbgpthr. This option is not required.
The -bundleversion option gives the value that the resulting bundles should use for its version. Without this option, the value in the given bundle definition is used.
The -bundlelabel option gives the value the resulting bundle should use as its label. The label is used by the bundle for non GPT purpose plus the label is used as part of the name of the resulting bundle for identification purposes. Labels can be any alpha numberic combination.
The -compiler specifies the compiler to use for the binary bundle. This option is also necessary for the source bundle if the source bundle is created from raw source directories, as described in "Creating Source Packages."
The -pkgconf option specifies the package configuration file to use.
The "bundle definitions" are xml files which describe the contents of the resulting bundle.