public abstract class AbstractCompileMojo extends AbstractDependencyMojo
Modifier and Type | Field and Description |
---|---|
protected int |
commandLogLevel
Do we log commands that is executed to produce the end-result?
Conception was to allow eclipse to sniff out include-paths from compile.
|
protected boolean |
decorateLinkerOptions
Flag to cpptasks to indicate whether linker options should be decorated or not
|
protected boolean |
onlySpecifiedCompilers
By default NAR compile will attempt to compile using all known compilers against files in the directories specified by convention.
|
archiverManager, artifactResolver, remoteArtifactRepositories
classesDirectory, classifiers, libraries
LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_VERBOSE, LOG_LEVEL_WARNING, NAR, NAR_AOL, NAR_EXTENSION, NAR_NO_ARCH, NAR_ROLE_HINT, NAR_TYPE
Constructor and Description |
---|
AbstractCompileMojo() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
failOnError(AOL aol) |
protected org.apache.tools.ant.Project |
getAntProject() |
protected C |
getC() |
protected Cpp |
getCpp() |
protected List |
getDependencyLibOrder() |
protected Fortran |
getFortran() |
protected IDL |
getIdl() |
protected Java |
getJava() |
protected int |
getMaxCores(AOL aol) |
protected Message |
getMessage() |
protected String |
getOutput(AOL aol,
String type) |
protected Resource |
getResource() |
protected String |
getRuntime(AOL aol) |
protected List |
getTests() |
void |
setC(C c) |
void |
setCpp(Cpp cpp) |
void |
setDependencyLibOrder(List order) |
void |
setFortran(Fortran fortran) |
void |
setIdl(IDL idl) |
void |
setMessage(Message message) |
void |
setResource(Resource resource) |
protected boolean |
useLibtool(AOL aol) |
downloadAttachedNars, getAllAttachedNarArtifacts, getArchiverManager, getArtifacts, getBinding, getLocalRepository, getNarArtifacts, getNarInfo, getNarManager, getRemoteRepositories, narExecute, unpackAttachedNars
execute, getAOL, getArchitecture, getBasedir, getJavah, getJavaHome, getLayout, getLibraries, getLinker, getMavenProject, getNarInfo, getOS, getOutput, getOutputDirectory, getTargetDirectory, getTestTargetDirectory, getTestUnpackDirectory, getUnpackDirectory, validate
protected boolean onlySpecifiedCompilers
protected int commandLogLevel
protected boolean decorateLinkerOptions
protected final org.apache.tools.ant.Project getAntProject()
public void setCpp(Cpp cpp)
public void setC(C c)
public void setFortran(Fortran fortran)
public void setResource(Resource resource)
public void setIdl(IDL idl)
public void setMessage(Message message)
protected final C getC()
protected final Cpp getCpp()
protected final Fortran getFortran()
protected final Resource getResource()
protected final IDL getIdl()
protected final Message getMessage()
protected final int getMaxCores(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final boolean useLibtool(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final boolean failOnError(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final String getRuntime(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final String getOutput(AOL aol, String type) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final List getTests()
protected final Java getJava()
public final void setDependencyLibOrder(List order)
protected final List getDependencyLibOrder()
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.