Class Ant

  • All Implemented Interfaces:
    net.ssehub.easy.instantiation.core.model.vilTypes.IVilType

    public class Ant
    extends net.ssehub.easy.instantiation.core.model.defaultInstantiators.AbstractFileInstantiator
    Builds Java applications with ANT.
    Author:
    Sebastian Bender
    • 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 void antDebugging​(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Ant

        public Ant()
    • 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.VilException
        Executes a specific ANT-build target.
        Parameters:
        root - the root-path
        buildFilePath - ANT-buildfile name
        buildtarget - 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