edu.byu.ece.edif.jedif
Class EDIFMain

java.lang.Object
  extended by edu.byu.ece.edif.jedif.EDIFMain
Direct Known Subclasses:
BetaRegression, JEdifAnalyze, JEdifBuild, JEdifClockDomain, JEdifClockDomain, JEdifDetectionSelection, JEdifDotty, JEdifMoreFrequentVoting, JEdifNetlist, JEdifNMR, JEdifNMRSelection, JEdifPersistenceDetection, JEdifQuery, JEdifRecoveryDistance, JEdifReplicationQuery, JEdifVoterSelection, SerializeTest

public class EDIFMain
extends java.lang.Object

This class provides a template for "main" routines based on the EDIF infrastructure. TODO:


Field Summary
static java.lang.String COPYRIGHT_STRING
           
static java.lang.String DEFAULT_AUTHOR_STRING
           
static java.lang.String EXECUTABLE_NAME
           
static java.lang.String newLine
           
static java.lang.String TOOL_SUMMARY_STRING
           
static java.lang.String VERSION_DATE
           
static java.lang.String VERSION_STRING
           
 
Constructor Summary
EDIFMain()
           
 
Method Summary
static java.lang.String getExtendedVersionString()
           
private static java.lang.String getSVNversion()
          Reads the first line from a file at edu.byu.ece.jarversion and uses that as the version number.
static void main(java.lang.String[] args)
           
static void printProgramExecutableString(java.io.PrintStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXECUTABLE_NAME

public static java.lang.String EXECUTABLE_NAME

VERSION_STRING

public static java.lang.String VERSION_STRING

VERSION_DATE

public static java.lang.String VERSION_DATE

COPYRIGHT_STRING

public static java.lang.String COPYRIGHT_STRING

DEFAULT_AUTHOR_STRING

public static java.lang.String DEFAULT_AUTHOR_STRING

TOOL_SUMMARY_STRING

public static java.lang.String TOOL_SUMMARY_STRING

newLine

public static java.lang.String newLine
Constructor Detail

EDIFMain

public EDIFMain()
Method Detail

printProgramExecutableString

public static void printProgramExecutableString(java.io.PrintStream out)

getExtendedVersionString

public static java.lang.String getExtendedVersionString()

main

public static void main(java.lang.String[] args)

getSVNversion

private static java.lang.String getSVNversion()
Reads the first line from a file at edu.byu.ece.jarversion and uses that as the version number. If that file does not exist then the local version number will be used, which is very likely to be inaccurate. To create the jar follow these steps:
  1. svnversion > edu/byu/ece/jarversion
  2. jar cf ...

Another option is to have the jarversion file in the repository, and add the following steps to creating a jar:
  1. touch jarversion
  2. svn commit
  3. svn update
  4. jar cf ...

Returns:
Version number as a string