installtoolkit.deb
Class DebhelperTask

java.lang.Object
  extended by Task
      extended by installtoolkit.deb.DebhelperTask

public class DebhelperTask
extends Task

Task to execute a list of debhelper scripts and additional commands in an fakeroot environment.

Author:
Christian Elberfeld

Field Summary
protected  java.lang.String architecture
           
protected  java.lang.String buildprog
           
protected  java.util.List<CommandType> commands
           
protected  java.util.List<DebhelperType> debhelper
           
protected  boolean debug
           
protected  java.io.File destdir
           
protected  java.io.File srcdir
           
 
Constructor Summary
DebhelperTask()
           
 
Method Summary
 void addCommand(CommandType cmd)
          The additional commands to execute
 void addDh(DebhelperType dh)
          The debhelper scripts to execute
 void execute()
           
 void setArchitecture(java.lang.String architecture)
          The Debian architecture to build the package for
 void setDebug(boolean debug)
          Enable debug output
 void setDestdir(java.io.File destdir)
          The directory to place the package
 void setSrcdir(java.io.File srcdir)
          The directory to build the package from
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

protected boolean debug

destdir

protected java.io.File destdir

srcdir

protected java.io.File srcdir

architecture

protected java.lang.String architecture

buildprog

protected java.lang.String buildprog

debhelper

protected java.util.List<DebhelperType> debhelper

commands

protected java.util.List<CommandType> commands
Constructor Detail

DebhelperTask

public DebhelperTask()
Method Detail

execute

public void execute()
             throws BuildException
Throws:
BuildException
See Also:
Task#execute()

addDh

public void addDh(DebhelperType dh)
The debhelper scripts to execute

Parameters:
dh -

addCommand

public void addCommand(CommandType cmd)
The additional commands to execute

Parameters:
cmd -

setDestdir

public void setDestdir(java.io.File destdir)
The directory to place the package

Parameters:
destdir -

setSrcdir

public void setSrcdir(java.io.File srcdir)
The directory to build the package from

Parameters:
srcdir -

setDebug

public void setDebug(boolean debug)
Enable debug output

Parameters:
debug -

setArchitecture

public void setArchitecture(java.lang.String architecture)
The Debian architecture to build the package for

Parameters:
architecture -


Copyright 2006-2006 null. All Rights Reserved.