org.freehep.maven.nar
Class Compiler

java.lang.Object
  extended by org.freehep.maven.nar.Compiler
Direct Known Subclasses:
C, Cpp, Fortran

public abstract class Compiler
extends Object

Abstract Compiler class

Version:
$Id: Compiler.java 13303 2007-09-06 19:01:26Z duns $
Author:
Mark Donszelmann

Constructor Summary
protected Compiler()
           
 
Method Summary
 void copyIncludeFiles(org.apache.maven.project.MavenProject mavenProject, File targetDirectory)
           
 net.sf.antcontrib.cpptasks.CompilerDef getCompiler(String type, String output)
           
protected  Set getExcludes()
           
protected  List getIncludePaths(String type)
           
 Set getIncludes()
           
protected  Set getIncludes(String type)
           
protected abstract  String getName()
           
protected  String getPrefix()
           
 File getSourceDirectory()
           
protected  File getSourceDirectory(String type)
           
 void setAbstractCompileMojo(AbstractCompileMojo mojo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler

protected Compiler()
Method Detail

setAbstractCompileMojo

public void setAbstractCompileMojo(AbstractCompileMojo mojo)

getSourceDirectory

public File getSourceDirectory()

getSourceDirectory

protected File getSourceDirectory(String type)

getIncludePaths

protected List getIncludePaths(String type)

getIncludes

public Set getIncludes()
                throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getIncludes

protected Set getIncludes(String type)
                   throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getExcludes

protected Set getExcludes()
                   throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getPrefix

protected String getPrefix()
                    throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getCompiler

public net.sf.antcontrib.cpptasks.CompilerDef getCompiler(String type,
                                                          String output)
                                                   throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getName

protected abstract String getName()

copyIncludeFiles

public void copyIncludeFiles(org.apache.maven.project.MavenProject mavenProject,
                             File targetDirectory)
                      throws IOException
Throws:
IOException


Copyright © 2000-2007 FreeHEP. All Rights Reserved.