Panda3D
Classes | Public Member Functions | 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

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 
)
Adds the contents of the indicated source directory into
the current pool. 

Member Data Documentation

 All Classes Namespaces Functions Variables Properties