org.apache.maven.dotnet.executable.compiler
Interface CompilerExecutable

All Superinterfaces:
NetExecutable
All Known Implementing Classes:
CSharpCompilerForProfile, DefaultCompiler, DotGNUCompiler, JavaCompiler, NemerleCompiler, PhpCompiler, RubyCompiler

public interface CompilerExecutable
extends NetExecutable

Provides a service for obtaining the compiled artifact. This interface is needed because the plugins need to set the compiled artifact file on the maven project: MavenProject.getArtifact().setFile

Author:
Shane Isbell

Method Summary
 boolean failOnErrorOutput()
          Returns true to fail the build if the compiler writes anything to the error stream, otherwise return false.
 java.io.File getCompiledArtifact()
          Returns a file pointing to the compiled artifact for this executable.
 
Methods inherited from interface org.apache.maven.dotnet.executable.NetExecutable
execute, getCommands, getExecutable, getExecutionPath, getVendor, init, resetCommands
 

Method Detail

getCompiledArtifact

java.io.File getCompiledArtifact()
                                 throws InvalidArtifactException
Returns a file pointing to the compiled artifact for this executable.

Returns:
a file pointing to the compiled artifact for this executable
Throws:
InvalidArtifactException - if the artifact is invalid

failOnErrorOutput

boolean failOnErrorOutput()
Returns true to fail the build if the compiler writes anything to the error stream, otherwise return false.

Returns:
true to fail the build if the compiler writes anything to the error stream, otherwise return false


Copyright © 2007 NMaven. All Rights Reserved.