Package org.apache.ant.antunit.junit3
Class AntUnitSuite.MyProjectFactory
- java.lang.Object
-
- org.apache.ant.antunit.junit3.AntUnitSuite.MyProjectFactory
-
- All Implemented Interfaces:
ProjectFactory
- Enclosing class:
- AntUnitSuite
private static class AntUnitSuite.MyProjectFactory extends java.lang.Object implements ProjectFactory
The antscript project factory that creates projects in a junit context.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.PrintStreamrealStdErrprivate java.io.PrintStreamrealStdOutprivate java.io.FilescriptFile
-
Constructor Summary
Constructors Constructor Description MyProjectFactory(java.io.File scriptFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.tools.ant.ProjectcreateProject()Creates a new project instance and configures it according to the execution context.
-
-
-
Method Detail
-
createProject
public org.apache.tools.ant.Project createProject()
Description copied from interface:ProjectFactoryCreates a new project instance and configures it according to the execution context.- Specified by:
createProjectin interfaceProjectFactory- Returns:
- a new project
-
-