Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 611 for Task (0.03 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestUtil.java

        }
    
        /**
         * Creates a {@link RestIntegTestTask} task with the source set of the same name
         */
        public static Provider<RestIntegTestTask> registerTestTask(Project project, SourceSet sourceSet) {
            return registerTestTask(project, sourceSet, sourceSet.getName());
        }
    
        /**
         * Creates a {@link RestIntegTestTask} task with a custom name for the provided source set
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPluginFuncTest.groovy

                }
            }
            """
            when:
            def result = gradleRunner("copyArchive").build()
    
            then: "tar task executed and target folder contains plain tar"
            result.task(':buildProducerTar').outcome == TaskOutcome.SUCCESS
            result.task(':consumer:copyArchive').outcome == TaskOutcome.SUCCESS
            file("producer-tar/build/distributions/elasticsearch.tar.gz").exists()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            } finally {
                if (task != null) {
                    task.cancel();
                }
                if (p != null && p.isAlive()) {
                    logger.warn("Process {} is still alive in finally block. Forcing destruction.", p);
                    if (task == null) {
                        task = new ProcessDestroyer(p, ist, commandDestroyTimeout);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaPlugin.java

                    // Explicitly using an Action interface as java lambdas
                    // are not supported by Gradle up-to-date checks
                    jarTask.doFirst(new Action<Task>() {
                        @Override
                        public void execute(Task task) {
                            // this doFirst is added before the info plugin, therefore it will run
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 7.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

      }
    
      /**
       * Submits a blocking task for the given {@link Future} to provide {@link ListenableFuture}
       * functionality.
       *
       * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the
       * returned future will emulate {@link ListenableFuture#addListener} by submitting a task to the
       * given executor at the first call to {@code addListener}. The task must be started by the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

            // for fips mode check
            project.getRootProject().getPluginManager().apply(GlobalBuildInfoPlugin.class);
            // Default test task should run only unit tests
            maybeConfigure(project.getTasks(), "test", Test.class, task -> task.include("**/*Tests.class"));
    
            // none of this stuff is applicable to the `:buildSrc` project tests
            File heapdumpDir = new File(project.getBuildDir(), "heapdump");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  7. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

            enabled = false // don't publish normalized local version to remote repository when using 'publish' lifecycle task
        }
        tasks.named("publishGradleDistributionPublicationToLocalRepository") {
            enabled = false // this should not be used so we disable it to avoid confusion when using 'publish' lifecycle task
        }
        val localPublish = project.tasks.named("publishLocalPublicationToLocalRepository") {
            doFirst {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

              throw new TimeoutException("Timeout waiting for task.");
            }
    
            return getValue();
          }
    
          /**
           * Blocks until {@link #complete(Object, Throwable, int)} has been successfully called. Throws
           * a {@link CancellationException} if the task was cancelled, or a {@link ExecutionException}
           * if the task completed with an error.
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java

        public void copy(String resource) {
            if (getState().getExecuted() || getState().getExecuting()) {
                throw new GradleException(
                    "buildResources can't be configured after the task ran. " + "Make sure task is not used after configuration time"
                );
            }
            resources.add(resource);
        }
    
        @TaskAction
        public void doExport() {
            if (resources.isEmpty()) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestRerunTaskExtension.java

     */
    public class TestRerunTaskExtension {
    
        /**
         * The default number of reruns we allow for a test task.
         */
        public static final Integer DEFAULT_MAX_RERUNS = 1;
    
        /**
         * The name of the extension added to each test task.
         */
        public static String NAME = "rerun";
    
        private final Property<Integer> maxReruns;
    
        private final Property<Boolean> didRerun;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.8K bytes
    - Click Count (0)
Back to Top