umich.cac.xml
Class PbsToJoblog

java.lang.Object
  extended byumich.cac.xml.PbsToJoblog

public class PbsToJoblog
extends java.lang.Object

Converts PBS XML file to NPACI Joblog format. It first reads in the XML file as Document object, inserts a <UID> tag to the XML document by reading the <USER> tag and looks up the corresponding UID from the password file. Then it uses the npaci_joblog.xsl transform on this XML document to produce the final output.

  [pbs.xml] ---> [DOM (ADD UID TO XML)] --->[XSL TRANSFORM with npaci_joglog.xsl ] --> joblog.out
 
The usage is
  java umich.cac.xml.PbsToJoblog <pbs xml file> <output file>
 

Version:
$Header: /cvsroot/pbsaccounting/pbsaccounting/doc/javadoc/umich/cac/xml/PbsToJoblog.html,v 1.6 2003/10/21 20:33:48 rodmach Exp $
Author:
rmach@umich.edu

Constructor Summary
PbsToJoblog()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main.
static void usage()
          Prints the usage to STDOUT and exits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PbsToJoblog

public PbsToJoblog()
Method Detail

usage

public static void usage()
Prints the usage to STDOUT and exits


main

public static void main(java.lang.String[] args)
Main. Usage is
  java umich.cac.xml.PbsToJoblog  
 
 

Parameters:
args - argument one is XML file, argument two is output file