|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.dotnet.executable.compiler.impl.PhpCompiler
public final class PhpCompiler
Compiler for PHP (http://php4mono.sourceforge.net/)
| Field Summary | |
|---|---|
protected CompilerContext |
compilerContext
The context that the compiler implementation can use to obtain information to customize the compile. |
protected org.codehaus.plexus.logging.Logger |
logger
A logger for writing log messages |
| Constructor Summary | |
|---|---|
PhpCompiler()
|
|
| Method Summary | |
|---|---|
void |
execute()
Compiles class files. |
boolean |
failOnErrorOutput()
Returns true to fail the build if the compiler writes anything to the error stream, otherwise return false. |
java.util.List<java.lang.String> |
getCommands()
Returns the commands that this compiler will use to compile the application. |
java.io.File |
getCompiledArtifact()
Returns a file pointing to the compiled artifact for this executable. |
java.lang.String |
getExecutable()
Returns the executable file name that this compiler will use to compile the application. |
java.io.File |
getExecutionPath()
Returns the parent directory of the executable. |
Vendor |
getVendor()
Returns vendor framework used to run executable. |
void |
init(NMavenContext nmavenContext)
This method may be overridden if the developer needs to create a profile of one of the other compilers. |
void |
resetCommands(java.util.List<java.lang.String> commands)
Resets the commands to be used by the executable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CompilerContext compilerContext
protected org.codehaus.plexus.logging.Logger logger
| Constructor Detail |
|---|
public PhpCompiler()
| Method Detail |
|---|
public boolean failOnErrorOutput()
CompilerExecutable
public java.util.List<java.lang.String> getCommands()
throws ExecutionException
NetExecutable
ExecutionExceptionpublic void resetCommands(java.util.List<java.lang.String> commands)
NetExecutable
public void init(NMavenContext nmavenContext)
init in interface NetExecutable
public java.io.File getCompiledArtifact()
throws InvalidArtifactException
CompilerExecutable
getCompiledArtifact in interface CompilerExecutableInvalidArtifactException - if the artifact is invalidCompilerExecutable.getCompiledArtifact()
public java.lang.String getExecutable()
throws ExecutionException
NetExecutable
getExecutable in interface NetExecutableExecutionExceptionNetExecutable.getExecutable()public java.io.File getExecutionPath()
NetExecutable
getExecutionPath in interface NetExecutableNetExecutable.getExecutionPath()
public void execute()
throws ExecutionException
NetExecutable
execute in interface NetExecutableExecutionException - if the compiler writes to the standard error stream.
artifact (module, library, exe, winexe) or the target artifact is not valid for the compilerNetExecutable.execute()public Vendor getVendor()
NetExecutable
getVendor in interface NetExecutable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||