gov.nih.nci.cagrid.metadata.xmi
Class FixXmiExecutor
java.lang.Object
gov.nih.nci.cagrid.metadata.xmi.FixXmiExecutor
public class FixXmiExecutor
- extends java.lang.Object
FixXmiExecutor
Executes SDK 3.1 / 3.2 / 3.2.1's fix-xmi ant target
- Version:
- $Id: FixXmiExecutor.java,v 1.7 2007/12/10 20:36:19 dervin Exp $
- Author:
- David Ervin
|
Method Summary |
static java.io.File |
fixEaXmiModel(java.io.File originalModel,
java.io.File sdkDir)
Runs the SDK's fix-xmi target against the specified model |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.log4j.Logger LOG
FIX_XMI_TASK
public static final java.lang.String FIX_XMI_TASK
- See Also:
- Constant Field Values
COMPILE_GENERATOR_TASK
public static final java.lang.String COMPILE_GENERATOR_TASK
- See Also:
- Constant Field Values
MODEL_DIR_PROPERTY
public static final java.lang.String MODEL_DIR_PROPERTY
- See Also:
- Constant Field Values
MODEL_FILENAME_PROPERTY
public static final java.lang.String MODEL_FILENAME_PROPERTY
- See Also:
- Constant Field Values
FIXED_MODEL_FILENAME_PROPERTY
public static final java.lang.String FIXED_MODEL_FILENAME_PROPERTY
- See Also:
- Constant Field Values
PREPROCESSOR_PROPERTY
public static final java.lang.String PREPROCESSOR_PROPERTY
- See Also:
- Constant Field Values
EA_XMI_PREPROCESSOR
public static final java.lang.String EA_XMI_PREPROCESSOR
- See Also:
- Constant Field Values
fixEaXmiModel
public static java.io.File fixEaXmiModel(java.io.File originalModel,
java.io.File sdkDir)
throws java.io.IOException,
java.lang.InterruptedException
- Runs the SDK's fix-xmi target against the specified model
- Parameters:
originalModel - The file containing the original XMI model from EAsdkDir - The caCORE SDK base directory
- Returns:
- The file containing the 'fixed' model
- Throws:
java.io.IOException
java.lang.InterruptedException