Class Ant
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.defaultInstantiators.AbstractFileInstantiator
-
- net.ssehub.easy.instantiation.ant.instantiators.Ant
-
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
public class Ant extends net.ssehub.easy.instantiation.core.model.defaultInstantiators.AbstractFileInstantiatorBuilds 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 net.ssehub.easy.instantiation.core.model.vilTypes.Set<net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact>ant(net.ssehub.easy.instantiation.core.model.artifactModel.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.
-
-
-
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 net.ssehub.easy.instantiation.core.model.vilTypes.Set<net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact> ant(net.ssehub.easy.instantiation.core.model.artifactModel.Path root, java.lang.String buildFilePath, java.lang.String buildtarget) throws net.ssehub.easy.instantiation.core.model.common.VilExceptionExecutes a specific ANT-build target.- Parameters:
root- the root-pathbuildFilePath- ANT-buildfile namebuildtarget- the ANT-Build-Target- Returns:
- the created artefacts
- Throws:
net.ssehub.easy.instantiation.core.model.common.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
-
-