Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Classes | Public Member Functions | Public Attributes | Static Public Attributes

# PackageMerger Class Reference

List of all members.

## Classes
class | PackageEntry
## Public Member Functions
def | __init__
def | close
def | merge
## Public Attributes
| contents
| contentsDoc
| contentsSeq
| installDir
| maxAge
| xhost
## Static Public Attributes
tuple | notify = directNotify.newCategory("PackageMerger")

## Detailed Description

    This class will combine two or more separately-built stage
    directories, the output of Packager.py or the ppackage tool, into
    a single output directory.  It assumes that the clocks on all
    hosts are in sync, so that the file across all builds with the
    most recent timestamp (indicated in the contents.xml file) is
    always the most current version of the file.

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | installDir
| ) |  |

## Member Function Documentation

def close | ( |  | self | ) |

    Finalizes the results of all of the previous calls to
    merge(), writes the new contents.xml file, and copies in all
    of the new contents.

def merge | ( |  | self,
|  |  | sourceDir,
|  |  | packageNames = `None`
| ) |  |

    Adds the contents of the indicated source directory into
    the current pool.  If packageNames is not None, it is a list
    of package names that we wish to include from the source;
    packages not named in this list will be unchanged.

## Member Data Documentation

contents

contentsDoc

contentsSeq

installDir

maxAge

tuple notify = directNotify.newCategory("PackageMerger")`[static]`

xhost

All Classes Namespaces Functions Variables Enumerations Enumerator Properties