aQute.bnd.ant
Class BndTask

java.lang.Object
  extended by Task
      extended by aQute.bnd.ant.BaseTask
          extended by aQute.bnd.ant.BndTask
All Implemented Interfaces:
Reporter

public class BndTask
extends BaseTask

This file is the bnd main task for ant. Example usage

 
    
    
      
        
        
          
        
      
      
        
          
        
      
      
        
          
        
      
 
      
      
 
 
 
            
                  
                    
                      
                            
                      
                  
                  
                    
                      
                                              
                  
       
    
  
 


Constructor Summary
BndTask()
           
 
Method Summary
 void addBndfiles(Path path)
           
 void addClasspath(Path path)
           
 void execute()
           
 void setBasedir(java.io.File basedir)
          Set the base directory of the project.
 void setBndfilePath(Reference reference)
           
 void setClasspath(java.lang.String value)
           
 void setClasspathref(Reference reference)
           
 void setCommand(java.lang.String command)
           
 void setDestFile(java.io.File output)
           
 void setEclipse(boolean eclipse)
           
 void setExceptions(boolean exceptions)
           
 void setFailok(boolean failok)
           
 void setFiles(java.lang.String files)
           
 void setInherit(boolean inherit)
           
 void setOutput(java.io.File output)
           
 void setSourcepath(java.lang.String sourcepath)
           
 void setTestDir(java.io.File testDir)
           
protected  void validate()
          validate required parameters before starting execution
 
Methods inherited from class aQute.bnd.ant.BaseTask
error, getErrors, getFile, getProgress, getWarnings, isPedantic, join, progress, report, report, setPedantic, setTrace, split, trace, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BndTask

public BndTask()
Method Detail

execute

public void execute()
             throws BuildException
Throws:
BuildException

setCommand

public void setCommand(java.lang.String command)

setBasedir

public void setBasedir(java.io.File basedir)
Set the base directory of the project. This property MUST be set.

Parameters:
basedir -

setFiles

public void setFiles(java.lang.String files)

setClasspath

public void setClasspath(java.lang.String value)

setEclipse

public void setEclipse(boolean eclipse)

setFailok

public void setFailok(boolean failok)

setExceptions

public void setExceptions(boolean exceptions)

setSourcepath

public void setSourcepath(java.lang.String sourcepath)

setOutput

public void setOutput(java.io.File output)

setDestFile

public void setDestFile(java.io.File output)

setTestDir

public void setTestDir(java.io.File testDir)

setInherit

public void setInherit(boolean inherit)

setClasspathref

public void setClasspathref(Reference reference)

setBndfilePath

public void setBndfilePath(Reference reference)

addClasspath

public void addClasspath(Path path)

addBndfiles

public void addBndfiles(Path path)

validate

protected void validate()
validate required parameters before starting execution

Throws:
BuildException - , if build is impossible