ant

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2018 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntBuilder

type AntBuilder struct {
	AntCmd     string
	AntVersion string

	JavaCmd     string
	JavaVersion string
}

AntBuilder implements build context for SBT builds

func (*AntBuilder) Analyze

func (builder *AntBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)

Analyze resolves a lib directory and parses the jars inside

func (*AntBuilder) Build

func (builder *AntBuilder) Build(m module.Module, force bool) error

Build is currently not implemented

func (*AntBuilder) DiscoverModules

func (builder *AntBuilder) DiscoverModules(dir string) ([]module.Config, error)

DiscoverModules returns a root build.xml if found, and build configs for all sub-projects otherwise

func (*AntBuilder) Initialize

func (builder *AntBuilder) Initialize() error

Initialize collects metadata on Java and SBT binaries

func (*AntBuilder) IsBuilt

func (builder *AntBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, error)

IsBuilt always returns true for Ant builds

func (*AntBuilder) IsModule

func (builder *AntBuilder) IsModule(target string) (bool, error)

IsModule is not implemented

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL