Class Ant
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.defaultInstantiators.AbstractFileInstantiator
-
- net.ssehub.easy.instantiation.ant.instantiators.Ant
-
- All Implemented Interfaces:
IVilType
public class Ant extends AbstractFileInstantiator
Builds Java applications with ANT.- Author:
- Sebastian Bender
-
-
Field Summary
Fields Modifier and Type Field Description private static CustomAntLoggerCONSOLE_LOGGERprivate static intERR_PRIOprivate static intMSG_PRIOprivate static java.lang.StringXML_TYPE
-
Constructor Summary
Constructors Constructor Description Ant()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<FileArtifact>ant(Path root, java.lang.String buildFilePath, java.lang.String buildtarget)Executes a specific ANT-build target.private static voidantDebugging(org.apache.tools.ant.Project project)Applies debugging settings to the ANT project.-
Methods inherited from class net.ssehub.easy.instantiation.core.model.defaultInstantiators.AbstractFileInstantiator
determineTargetPath, toString
-
-
-
-
Field Detail
-
XML_TYPE
private static final java.lang.String XML_TYPE
- See Also:
- Constant Field Values
-
CONSOLE_LOGGER
private static final CustomAntLogger CONSOLE_LOGGER
-
ERR_PRIO
private static final int ERR_PRIO
- See Also:
- Constant Field Values
-
MSG_PRIO
private static final int MSG_PRIO
- See Also:
- Constant Field Values
-
-
Method Detail
-
ant
public static Set<FileArtifact> ant(Path root, java.lang.String buildFilePath, java.lang.String buildtarget) throws VilException
Executes a specific ANT-build target.- Parameters:
root- the root-pathbuildFilePath- ANT-buildfile namebuildtarget- the ANT-Build-Target- Returns:
- the created artefacts
- Throws:
VilException- in case of artifact / parameter problems
-
antDebugging
private static void antDebugging(org.apache.tools.ant.Project project)
Applies debugging settings to the ANT project.- Parameters:
project- the project to be modified
-
-