|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.symbian.et.test.controller.visitor.BuildCommand
Field Summary | |
static java.lang.String |
ABLD_BAT
Literal for "abld.bat". |
static java.lang.String |
BLDFILES
Literal for "bldfiles". |
static java.lang.String |
BLDMAKE_BAT
Literal for "bldmake.bat". |
static java.lang.String |
BUILD
Literal for "build". |
static java.lang.String |
CLEAN
Literal for "clean". |
static java.lang.String |
EPOC32_REL_PLAT_VAR
Literal for "epoc32/release/". |
static java.lang.String |
REALLYCLEAN
Literal for "reallyclean". |
static java.lang.String |
SYS_BIN
Literal for "c:\sys\bin". |
protected static java.lang.String |
SYS_DATA
Literal for "c:\system\data". |
static java.lang.String |
TARGET
Literal for "target". |
static java.lang.String |
TEST
Literal for "test". |
static java.lang.String |
WHAT
Literal for "-what". |
Constructor Summary | |
BuildCommand()
|
Method Summary | |
static void |
doAfterBuild(com.symbian.et.test.engine.TaskSet aTaskSet,
java.util.Vector lTransferFileVector)
Does post-processing for the build commands. |
static void |
doBeforeBuild(java.io.File aGroupDir,
int aTimeout)
Runs operations nessary before a build. |
static java.util.Vector |
doBuild(java.io.File aGroupDir,
boolean aBuildType,
java.lang.String aComponent,
int aTimeout)
Builds the Symbian code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SYS_BIN
protected static final java.lang.String SYS_DATA
public static final java.lang.String WHAT
public static final java.lang.String EPOC32_REL_PLAT_VAR
public static final java.lang.String TARGET
public static final java.lang.String BUILD
public static final java.lang.String TEST
public static final java.lang.String REALLYCLEAN
public static final java.lang.String BLDFILES
public static final java.lang.String CLEAN
public static final java.lang.String BLDMAKE_BAT
public static final java.lang.String ABLD_BAT
Constructor Detail |
public BuildCommand()
Method Detail |
public static void doBeforeBuild(java.io.File aGroupDir, int aTimeout) throws java.io.IOException, java.lang.InterruptedException
aGroupDir
- The group directory containing the bld.inf file.aTimeout
- The maximun time the build operation should take before being
terminated.
java.io.IOException
- If the group directory path doesn't contain a bld.inf file.
java.lang.InterruptedException
- If bldmake or abld could not complete sucessfully.public static java.util.Vector doBuild(java.io.File aGroupDir, boolean aBuildType, java.lang.String aComponent, int aTimeout) throws java.io.IOException, java.lang.InterruptedException
aGroupDir
- The group directory containing the bld.inf file.aBuildType
- If true
then will run "abld test build", else
if false
then it will run "abld build".aComponent
- The mmp target.aTimeout
- The maximun time for the build operations to run before being
terminated.
java.io.IOException
- If reading the output of the build commands failed.
java.lang.InterruptedException
- If the build commands thread was interuptedpublic static void doAfterBuild(com.symbian.et.test.engine.TaskSet aTaskSet, java.util.Vector lTransferFileVector) throws java.io.IOException
aTaskSet
- The task set to add the export to.lTransferFileVector
- The vector of all the exported targets from the build
operation.
java.io.IOException
- If there is an I/O error with the exported targets.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |