Examples of enterScope()


Examples of org.apache.tools.ant.property.LocalProperties.enterScope()

        // need to set the project on unknown element
        UnknownElement c = copy(macroDef.getNestedTask(), false);
        c.init();
        LocalProperties localProperties
            = LocalProperties.get(getProject());
        localProperties.enterScope();
        try {
            c.perform();
        } catch (BuildException ex) {
            if (macroDef.getBackTrace()) {
                throw ProjectHelper.addLocationToBuildException(
View Full Code Here

Examples of org.apache.tools.ant.property.LocalProperties.enterScope()

            project.log(this, "Skipped because property '"
                    + project.replaceProperties(unlessString) + "' set.", Project.MSG_VERBOSE);
            return;
        }
        LocalProperties localProperties = LocalProperties.get(getProject());
        localProperties.enterScope();
        try {
            // use index-based approach to avoid ConcurrentModificationExceptions;
            // also account for growing target children
          // do not optimize this loop by replacing children.size() by a variable
          // as children can be added dynamically as in RhinoScriptTest where a target is adding work for itself
View Full Code Here

Examples of org.apache.tools.ant.property.LocalProperties.enterScope()

        // need to set the project on unknown element
        UnknownElement c = copy(macroDef.getNestedTask(), false);
        c.init();
        LocalProperties localProperties
            = LocalProperties.get(getProject());
        localProperties.enterScope();
        try {
            c.perform();
        } catch (BuildException ex) {
            if (macroDef.getBackTrace()) {
                throw ProjectHelper.addLocationToBuildException(
View Full Code Here

Examples of org.apache.tools.ant.property.LocalProperties.enterScope()

            project.log(this, "Skipped because property '"
                    + project.replaceProperties(unlessCondition) + "' set.", Project.MSG_VERBOSE);
            return;
        }
        LocalProperties localProperties = LocalProperties.get(getProject());
        localProperties.enterScope();
        try {
            // use index-based approach to avoid ConcurrentModificationExceptions;
            // also account for growing target children
            for (int i = 0; i < children.size(); i++) {
                Object o = children.get(i);
View Full Code Here

Examples of org.apache.tools.ant.property.LocalProperties.enterScope()

            project.log(this, "Skipped because property '"
                    + project.replaceProperties(unlessCondition) + "' set.", Project.MSG_VERBOSE);
            return;
        }
        LocalProperties localProperties = LocalProperties.get(getProject());
        localProperties.enterScope();
        try {
            // use index-based approach to avoid ConcurrentModificationExceptions;
            // also account for growing target children
            for (int i = 0; i < children.size(); i++) {
                Object o = children.get(i);
View Full Code Here

Examples of org.apache.tools.ant.property.LocalProperties.enterScope()

            project.log(this, "Skipped because property '"
                    + project.replaceProperties(unlessCondition) + "' set.", Project.MSG_VERBOSE);
            return;
        }
        LocalProperties localProperties = LocalProperties.get(getProject());
        localProperties.enterScope();
        try {
            // use index-based approach to avoid ConcurrentModificationExceptions;
            // also account for growing target children
          // do not optimize this loop by replacing children.size() by a variable
          // as children can be added dynamically as in RhinoScriptTest where a target is adding work for itself
View Full Code Here

Examples of org.apache.tools.ant.property.LocalProperties.enterScope()

        // need to set the project on unknown element
        UnknownElement c = copy(macroDef.getNestedTask(), false);
        c.init();
        LocalProperties localProperties
            = LocalProperties.get(getProject());
        localProperties.enterScope();
        try {
            c.perform();
        } catch (BuildException ex) {
            if (macroDef.getBackTrace()) {
                throw ProjectHelper.addLocationToBuildException(
View Full Code Here

Examples of org.apache.tools.ant.property.LocalProperties.enterScope()

     * @throws BuildException if one of the nested tasks fails.
     */
    public void execute() throws BuildException {
        LocalProperties localProperties
            = LocalProperties.get(getProject());
        localProperties.enterScope();
        try {
            for (Iterator i = nestedTasks.iterator(); i.hasNext();) {
                Task nestedTask = (Task) i.next();
                nestedTask.perform();
            }
View Full Code Here

Examples of org.platformlayer.ops.log.JobLogger.enterScope()

  private void enterLogScope(Object controller) {
    OpsContext opsContext = OpsContext.get();

    if (opsContext != null) {
      JobLogger jobLogger = opsContext.getJobLogger();
      jobLogger.enterScope(controller);
    }
  }

  private void exitLogScope() {
    OpsContext opsContext = OpsContext.get();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.