Class IvyAntVariableContainer

    • Field Detail

      • overwrittenProperties

        private java.util.Map<java.lang.String,​java.lang.String> overwrittenProperties
      • project

        private org.apache.tools.ant.Project project
    • Constructor Detail

      • IvyAntVariableContainer

        public IvyAntVariableContainer​(org.apache.tools.ant.Project project)
    • Method Detail

      • updateProject

        public void updateProject​(java.lang.String id)
        Updates the Ant Project used in this container with variables set in Ivy. All variables defined in Ivy will be set in the Ant project under two names:
        • the name of the variable
        • the name of the variable suffixed with a dot + the given id, if the given id is not null
        Parameters:
        id - The identifier of the settings in which the variables have been set, which should be used as property names suffix
      • setPropertyIfNotSet

        private void setPropertyIfNotSet​(java.lang.String property,
                                         java.lang.String value)