installtoolkit
Class DebianPackageTask

java.lang.Object
  extended by Task
      extended by installtoolkit.InstallerGeneratorTask
          extended by installtoolkit.DebianPackageTask

public class DebianPackageTask
extends InstallerGeneratorTask


Field Summary
protected  java.lang.String architecture
           
protected  java.io.File changelog
           
protected  java.util.List<CommandType> commands
           
protected  int compatlevel
           
protected  java.io.File conffiles
           
protected  java.util.List<Pattern> configfiles
           
protected  java.io.File control
           
protected  java.io.File copyright
           
protected  java.util.List<DebhelperType> debhelper
           
protected  java.lang.String depends
           
protected  java.lang.String desktopdir
           
protected  java.lang.String priority
           
protected  java.lang.String recommends
           
protected  java.lang.String section
           
protected  java.util.List<LinkType> startmenue
           
protected  java.lang.String suggests
           
 
Fields inherited from class installtoolkit.InstallerGeneratorTask
debug, descriptor, DESCRIPTOR_NAMESPACE, destdir, email, license, longDescription, manufacturer, packageName, schema, shortDescription, validate, version, workdir
 
Constructor Summary
DebianPackageTask()
           
 
Method Summary
 void addCommand(CommandType cmd)
          Additional commands to execute
 void addDebhelper(DebhelperType dh)
          Additional debhelper scripts to execute
protected  void build()
          The build() method must be overridden by the concrete install-builder classes.
 void readDebTag(Element root)
          This method should be overridden if the task needs informations from the <Deb> element of the descriptor file.
 void setArchitecture(java.lang.String architecture)
          The Architecture to build the package for
 void setChangelog(java.io.File changelog)
          Alternative changelog file
 void setCompatlevel(int compatlevel)
          Alternative debhelper cpmpatibility level
 void setConffiles(java.io.File conffiles)
          Alternative conffiles file
 void setControl(java.io.File control)
          Alternative control file
 void setCopyright(java.io.File copyright)
          Alternative copyright file
 
Methods inherited from class installtoolkit.InstallerGeneratorTask
copy, createFilesetFromPatterns, execute, readPatterns, readWindowsTag, setDebug, setDescriptor, setDestdir, setSchema, setValidate, setVersion, setWorkdir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

control

protected java.io.File control

changelog

protected java.io.File changelog

copyright

protected java.io.File copyright

conffiles

protected java.io.File conffiles

compatlevel

protected int compatlevel

desktopdir

protected java.lang.String desktopdir

architecture

protected java.lang.String architecture

debhelper

protected java.util.List<DebhelperType> debhelper

commands

protected java.util.List<CommandType> commands

configfiles

protected java.util.List<Pattern> configfiles

section

protected java.lang.String section

priority

protected java.lang.String priority

depends

protected java.lang.String depends

recommends

protected java.lang.String recommends

suggests

protected java.lang.String suggests

startmenue

protected java.util.List<LinkType> startmenue
Constructor Detail

DebianPackageTask

public DebianPackageTask()
Method Detail

build

protected void build()
              throws java.lang.Exception
Description copied from class: InstallerGeneratorTask
The build() method must be overridden by the concrete install-builder classes.

Specified by:
build in class InstallerGeneratorTask
Throws:
java.lang.Exception
See Also:
InstallerGeneratorTask.build()

readDebTag

public void readDebTag(Element root)
Description copied from class: InstallerGeneratorTask
This method should be overridden if the task needs informations from the <Deb> element of the descriptor file.

Overrides:
readDebTag in class InstallerGeneratorTask

addDebhelper

public void addDebhelper(DebhelperType dh)
Additional debhelper scripts to execute


addCommand

public void addCommand(CommandType cmd)
Additional commands to execute


setChangelog

public void setChangelog(java.io.File changelog)
Alternative changelog file


setCompatlevel

public void setCompatlevel(int compatlevel)
Alternative debhelper cpmpatibility level


setConffiles

public void setConffiles(java.io.File conffiles)
Alternative conffiles file


setControl

public void setControl(java.io.File control)
Alternative control file


setCopyright

public void setCopyright(java.io.File copyright)
Alternative copyright file


setArchitecture

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



Copyright 2006-2006 null. All Rights Reserved.