code: static function run_generate_sample_package_xml( $task=null, $args=array(), $cliopts=array() )
      {
          pake_copy( self::getResourceDir() . '/package_master.xml', 'package.xml' );
          // tokens not replaced here are replaced at build time
          // tokens in square brackets are supposed to be edited by the developer
          $tokens = array(
              '$summary' => '[Summary]',
              '$description' => '[Description]',
              '$vendor' => '',
              '$maintainers' => '',
              '$documents' => '',
              '$changelog' => '',
              '$simple-files' => '',
              '$state' => '[State]',
              '$requires' => ''
          );
          //$files = pakeFinder::type( 'file' )->name( 'package.xml' )->maxdepth( 0 )->in( '.' );
          pake_replace_tokens( 'package.xml', '.', '{', '}', $tokens );
          pake_echo ( "File package.xml generated. Please replace all tokens in square brackets in it (but do not replace values in curly brackets) then commit it to sources in the top dir of the extension" );
      }
docs: Generates a sample package.xml to allow creation of packaged extension
  
  NB: that file is to be completed by hand