Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for Main (0.13 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

        System.out.println("CLOSE: " + code + " " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        t.printStackTrace();
      }
    
      public static void main(String... args) {
        new WebSocketEcho().run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 04 11:40:21 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertPathSuffixEquals("src/main/filter/it.properties", pom.getValue("build/filters[1]"));
    
            assertEquals(1, ((List<?>) pom.getValue("build/resources")).size());
            assertPathSuffixEquals("res/main", pom.getValue("build/resources[1]/directory"));
            assertPathSuffixEquals("main", pom.getValue("build/resources[1]/targetPath"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         */
        String MAVEN_PLUGIN = "maven-plugin";
    
        /**
         * Artifact type name for a JAR file containing test classes. If the main artifact is placed on the class-path
         * ({@value #JAR} or {@value #CLASSPATH_JAR} types), then the test artifact will also be placed on the class-path.
         * Otherwise, if the main artifact is placed on the module-path ({@value #JAR} or {@value #MODULAR_JAR} types),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         */
        void addOutputDirectory(Path main, Path test, PathModularizationCache cache) throws IOException {
            if (outputModules != null) {
                throw new IllegalStateException("Output directories must be set first and only once.");
            }
            if (main != null) {
                outputModules = cache.getModuleInfo(main);
                addPathElement(outputModules.getPathType(), main);
            } else {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                for (Artifact main : mains) {
                    result.remove(main);
                    result.add(new DefaultArtifact(
                            main.getGroupId(),
                            main.getArtifactId(),
                            BUILD_POM_CLASSIFIER,
                            main.getExtension(),
                            main.getVersion(),
                            main.getProperties(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         */
        void addOutputDirectory(Path main, Path test, PathModularizationCache cache) throws IOException {
            if (outputModules != null) {
                throw new IllegalStateException("Output directories must be set first and only once.");
            }
            if (main != null) {
                outputModules = cache.getModuleInfo(main);
                addPathElement(outputModules.getPathType(), main);
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface ProjectScope extends ExtensibleEnum {
    
        /**
         * Main scope.
         */
        ProjectScope MAIN = projectScope("main");
    
        /**
         * Test scope.
         */
        ProjectScope TEST = projectScope("test");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

    import javax.xml.transform.stream.StreamSource;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    
    public class XslTransformer {
        public static void main(String[] args) throws TransformerException, IOException {
            if (args.length < 3 || args.length > 4) {
                throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]");
            }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                  @Override
                  public void run() {
                    notifyStarted();
                    // We need to wait for the main thread to leave the ServiceManager.startAsync call
                    // to
                    // ensure that the thread running the failure callbacks is not the main thread.
                    Uninterruptibles.awaitUninterruptibly(afterStarted);
                    notifyFailed(new Exception("boom"));
                  }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
Back to top