Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for classpathSize (0.17 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy

            def classpathSize = Integer.parseInt(lines[headingIndex + 1])
            // The gradle-launcher.jar is mandatory.
            // The gradle-instrumentation-agent.jar may not be available if the build runs in no-daemon mode.
            // There should not be more jars on the system classpath.
            classpathSize == 1 || classpathSize == 2
            def maybeHasAgent = classpathSize > 1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/VisitableURLClassLoaderSpecSerializer.java

            byte typeTag = decoder.readByte();
            String name = decoder.readString();
            List<URL> classpath = new ArrayList<>();
            int classpathSize = decoder.readInt();
            for (int i=0; i<classpathSize; i++) {
                classpath.add(new URL(decoder.readString()));
            }
    
            switch(typeTag) {
                case VISITABLE_URL_CLASSLOADER_SPEC:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/EffectiveClassPath.java

        }
    
        private static void addClasspathFile(File classpathFile, List<File> classpathFiles) {
            if (classpathFile.exists() && !classpathFiles.contains(classpathFile)) {
                classpathFiles.add(classpathFile.getAbsoluteFile());
                addManifestClasspathFiles(classpathFile, classpathFiles);
            }
        }
    
        private static void addManifestClasspathFiles(File classpathFile, List<File> classpathFiles) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/DefaultModuleRegistry.java

            for (File classpathFile : new EffectiveClassPath(classLoader).plus(additionalModuleClassPath).getAsFiles()) {
                classpath.add(classpathFile);
                if (classpathFile.isFile() && !classpathJars.containsKey(classpathFile.getName())) {
                    String jarFileName = classpathFile.getName();
                    classpathJars.put(jarFileName, classpathFile);
                    if (gradleInstallation == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ManifestUtil.java

                    throw new UncheckedIOException(e);
                }
            }
            return manifestClasspath;
        }
    
        private static String[] readManifestClasspathString(File classpathFile) {
            try {
                Manifest manifest = findManifest(classpathFile);
                if (manifest == null) {
                    return EMPTY;
                }
                String classpathEntry = manifest.getMainAttributes().getValue("Class-Path");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy

            when:
            def classpathFile = tmpDir.createFile("mydir/foo.jar")
            createJar(manifestWithClasspath('foo.jar'))
    
            and:
            def classpathURI = ManifestUtil.parseManifestClasspath(jarFile)[0]
    
            then:
            new File(classpathURI).absoluteFile == classpathFile.absoluteFile
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top