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

Class VAJAntTool


public class VAJAntTool
extends java.lang.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 org.apache.tools.ant.taskdefs.optional.ide.VAJBuildInfo
loadBuildData(String projectName)
Loads the BuildInfo for the specified VAJ project from the tool data for this project.
static void
main(java.lang.String[] args)
Starts the application.
static void
saveBuildData(org.apache.tools.ant.taskdefs.optional.ide.VAJBuildInfo info)
Saves the BuildInfo for a project in the VAJ repository.

Method Details

loadBuildData

public static org.apache.tools.ant.taskdefs.optional.ide.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(java.lang.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(org.apache.tools.ant.taskdefs.optional.ide.VAJBuildInfo info)
Saves the BuildInfo for a project in the VAJ repository.
Parameters:
info - BuildInfo build info to save

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