org.apache.ctakes.utils.build
Class BuildPear

java.lang.Object
  extended by org.apache.ctakes.utils.build.BuildPear

public class BuildPear
extends java.lang.Object

Build a PEAR file for this project
Looks for BuildPear.properties file for classpath and datapath values to use for PEAR.
Expects the properties file to be in the same directory as this class file. and expects this class file to be in a directory 'bin'


Constructor Summary
BuildPear()
           
 
Method Summary
static boolean createDirIfNotExist(java.lang.String path)
           
static void main(java.lang.String[] args)
           
static java.lang.String quote(java.lang.String s)
          Quote the string, using double quotes if the string contains any single quotes, otherwise using single quotes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildPear

public BuildPear()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - optional - project name (directory name) of project to edu.mayo.bmi.utils.build, and in which to look for a BuildPear.properties file

quote

public static java.lang.String quote(java.lang.String s)
Quote the string, using double quotes if the string contains any single quotes, otherwise using single quotes.


createDirIfNotExist

public static boolean createDirIfNotExist(java.lang.String path)
Returns:
true if the directory exists or if directory was successfully created, false others