@Mojo(name="launch-designer", defaultPhase=PROCESS_TEST_RESOURCES) @Execute(phase=PROCESS_TEST_RESOURCES) public class LaunchDesignerMojo extends AbstractBWMojo
This goal launches a TIBCO Designer with exactly the same environment that will be used to compile the TIBCO BusinessWorks EAR from the TIBCO BusinessWorks project sources (with the compile-bw-ear goal in the compile phase).
This is made possible by inheriting from AbstractBWMojo
class.
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
adaptAliases
If true, ".aliaslib" can use parameters such as ${project.version}.
|
protected static java.lang.String |
LAUNCH_DESIGNER_FAILED |
protected static java.lang.String |
LAUNCHING_DESIGNER |
protected static java.lang.String |
PROJECT_LOCATION |
protected java.lang.Boolean |
useBuildSrcDirectory
If true, the project copied in "target/src" is used by TIBCO Designer.
|
ALIASES_FILE, APPMANAGE_BINARY_NOTFOUND, buildLibDirectory, buildSrcDirectory, BWEAR_DEPLOY_TYPE, BWEAR_EXTENSION, BWEAR_TYPE, BWPROJECT_NOTFOUND, BWPROJECT_PREF_LIB_ERROR_MSG, dependenciesIgnored, DESIGNER_BINARY_NOTFOUND, DESIGNER5_PREFS, directory, DTL_FILE_NAME, FILE_ALIAS_PREFIX, FILE_ALIAS_PREFIX_ESCAPED, HAWK_BINARY_NOTFOUND, hawkDomain, hawkRvDaemon, hawkRvNetwork, hawkRvService, hawkSubscribeInterval, hawkSubscribeNumberOfRetry, hawkVersion, hideLibraryResources, JAR_EXTENSION, JAR_TYPE, mavenPropertyPattern, outputDirectory, packageDirectory, POM_EXTENSION, POM_TYPE, projectDirectory, PROJLIB_EXTENSION, PROJLIB_TYPE, PROPERTIES_EXTENSION, session, SKIPPING, sourceEncoding, testDirectory, testLibDirectory, testSrcDirectory, TIBCO_ALIAS_PREFIX, TIBCO_HOME_DIR, tibcoAppManagePath, tibcoAppManageTRAPath, tibcoBuildEARTRAPath, tibcoBuildEARUseDesignerTRA, tibcoBuildLibraryTRAPath, tibcoBuildLibraryUseDesignerTRA, tibcoBWEngineTRAPath, tibcoDesignerPath, tibcoDesignerTRAPath, tibcoHome, tibcoRvHomePath, timeOut, XML_EXTENSION, XML_TYPE
Constructor and Description |
---|
LaunchDesignerMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
The execute method of this Mojo will :
check that the BusinessWorks project exists
copy the Designer5.prefs file
copy the .designtimelibs file useful for setting a TIBCO environment
for the project being built.
|
checkAppManage, checkDesigner, enableTestScope, getAliasesFile, getBWEARAlias, getBWEARName, getBWEARsDependencies, getDependencies, getDependencyPath, getDesigner5Prefs, getJarAlias, getJarDependencies, getJarName, getProject, getProjlibAlias, getProjlibName, getProjlibsDependencies, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValueInSettings, getRootProjectProperty, getRootProjectProperty, getSession, initHawk, isCurrentGoal, launchTIBCOBinary, launchTIBCOBinary, propertiesManager, propertyExists, propertyExists, propertyExistsInSettings, propertyExistsInSettings, readDependenciesFromFile, replaceProperties, setProject, setSession, setSettings
protected static final java.lang.String LAUNCH_DESIGNER_FAILED
protected static final java.lang.String LAUNCHING_DESIGNER
protected static final java.lang.String PROJECT_LOCATION
@Parameter(property="bw.project.use.copy", required=false, defaultValue="false") protected java.lang.Boolean useBuildSrcDirectory
@Parameter(property="bw.project.adapt.aliases", required=false, defaultValue="true") protected java.lang.Boolean adaptAliases
public void execute() throws org.apache.maven.plugin.MojoExecutionException
AbstractBWMojo
The execute method of this Mojo will :
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractBWMojo
org.apache.maven.plugin.MojoExecutionException