de.enough.polish.postcompile
Class AntCallPostCompiler

java.lang.Object
  extended by de.enough.polish.Extension
      extended by de.enough.polish.postcompile.PostCompiler
          extended by de.enough.polish.postcompile.AntCallPostCompiler

public class AntCallPostCompiler
extends PostCompiler

Call an Ant target in the postcompiler build phase.

Copyright Enough Software 2005

 history
        22-May-2005 - rob creation
 

Author:
Robert Virkus, j2mepolish@enough.de

Field Summary
 
Fields inherited from class de.enough.polish.Extension
antProject, autoStartCondition, environment, extensionDefinition, extensionManager, extensionSetting, extensionTypeDefinition, isBuildStarted
 
Constructor Summary
AntCallPostCompiler()
          Creates a new post compiler
 
Method Summary
 void postCompile(File classesDir, Device device)
          Postcompiles the project for the given target device.
 void setParameters(Variable[] properties, File baseDir)
           
 
Methods inherited from class de.enough.polish.postcompile.PostCompiler
execute, findFiles, getInstance, getSetting, verifyBootClassPath, verifyClassPath
 
Methods inherited from class de.enough.polish.Extension
configure, executeAntTarget, executeAntTarget, finalize, getAntProject, getAutoStartCondition, getEnvironment, getExtensionDefinition, getExtensionSetting, getInstance, getParameterValue, getType, init, initialize, isConditionFulfilled, notifyBuildEnd, notifyBuildStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntCallPostCompiler

public AntCallPostCompiler()
Creates a new post compiler

Method Detail

postCompile

public void postCompile(File classesDir,
                        Device device)
                 throws BuildException
Description copied from class: PostCompiler
Postcompiles the project for the given target device.

Specified by:
postCompile in class PostCompiler
Parameters:
classesDir - the directory that contains all compiled classes
device - the current target device
Throws:
BuildException - when post-compiling fails

setParameters

public void setParameters(Variable[] properties,
                          File baseDir)