org.apache.tools.ant.taskdefs.optional.ide

Class VAJAntTool

public class VAJAntTool extends Object

This class is the equivalent to org.apache.tools.ant.Main for the VAJ tool environment. It's main is called when the user selects Tools->Ant Build from the VAJ project menu. Additionally this class provides methods to save build info for a project in the repository and load it from the repository
Method Summary
static VAJBuildInfoloadBuildData(String projectName)
Loads the BuildInfo for the specified VAJ project from the tool data for this project.
static voidmain(String[] args)
Starts the application.
static voidsaveBuildData(VAJBuildInfo info)
Saves the BuildInfo for a project in the VAJ repository.

Method Detail

loadBuildData

public static VAJBuildInfo loadBuildData(String projectName)
Loads the BuildInfo for the specified VAJ project from the tool data for this project. If there is no build info stored for that project, a new default BuildInfo is returned

Parameters: projectName String project name

Returns: BuildInfo buildInfo build info for the specified project

main

public static void main(String[] args)
Starts the application.

Parameters: args an array of command-line arguments. VAJ puts the VAJ project name into args[1] when starting the tool from the project context menu

saveBuildData

public static void saveBuildData(VAJBuildInfo info)
Saves the BuildInfo for a project in the VAJ repository.

Parameters: info BuildInfo build info to save

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.