Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 122 for jarFiles (0.24 sec)

  1. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoDynamicRevisionIntegrationTest.groovy

            then: "Version 1.1 is used"
            file('libs').assertHasDescendants('projectA-1.1.jar', 'projectB-1.1.jar')
            file('libs/projectA-1.1.jar').assertIsCopyOf(projectA1.jarFile)
            file('libs/projectB-1.1.jar').assertIsCopyOf(projectB1.jarFile)
    
            when: "New versions are published"
            server.resetExpectations()
            def projectA2 = ivySftpRepo.module("group", "projectA", "1.2")
            projectA2.publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/FileDependencyResolveIntegrationTest.groovy

            }
        }
    
        def "files are requested once only when dependency is resolved"() {
            buildFile << '''
                def jarFile = file("jar-1.jar")
                jarFile << 'content'
                def libFiles = {
                    println "FILES REQUESTED"
                    [jarFile]
                }
    
                configurations { compile }
                dependencies {
                    compile files(libFiles)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 23 22:33:17 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarFactory.java

                        .progressDisplayName("Generating " + file.getName());
                }
            }));
            LOGGER.debug("Using Gradle runtime shaded JAR file: {}", jarFile);
            return jarFile;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 11:37:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java

         *
         * @param conn
         *            {@link JarURLConnection}。{@literal null}であってはいけません
         * @return {@link JarFile}
         */
        public static JarFile getJarFile(final JarURLConnection conn) {
            assertArgumentNotNull("conn", conn);
    
            try {
                return conn.getJarFile();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesJavaQuickstartIntegrationTest.groovy

            result.assertTestClassesExecuted('org.gradle.PersonTest')
            // Check jar exists
            def jarFile = javaprojectDir.file("build/libs/quickstart-1.0.jar")
            jarFile.assertIsFile()
            // Check contents of Jar
            TestFile jarContents = file('jar')
            jarFile.unzipTo(jarContents)
            jarContents.assertHasDescendants(
                'META-INF/MANIFEST.MF',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/buildship.gradle

            // copy the jar to the project location
            fs.copy {
                from jarFile
                into projectDirectory
            }
    
            // create the .project and .classpath files
            new File(projectDirectory, '.project').text = getDotProjectText()
            new File(projectDirectory, '.classpath').text = getDotClasspathText(jarFile.name)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                    if (form.jarFile == null) {
                        throwValidationError(messages -> messages.addErrorsPluginFileIsNotFound(GLOBAL, form.id), this::asListHtml);
                    }
                    if (!form.jarFile.getFileName().endsWith(".jar")) {
                        throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, form.jarFile.getFileName()),
                                this::asListHtml);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/util/internal/JarUtil.java

        public static boolean extractZipEntry(File jarFile, String entryName, File extractToFile) throws IOException {
            boolean entryExtracted = false;
    
            ZipInputStream zipStream = null;
            BufferedOutputStream extractTargetStream = null;
            try {
                zipStream = new ZipInputStream(new FileInputStream(jarFile));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 07 19:17:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

        private val unshadedPackages: Set<String>,
        private val ignorePackages: Set<String>
    ) {
    
        fun analyze(jarFile: File, classesDir: File, manifestFile: File, buildReceipt: File): ClassGraph {
            val classGraph = classGraph()
    
            val jarUri = URI.create("jar:${jarFile.toPath().toUri()}")
            FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. build-logic/packaging/src/main/kotlin/gradlebuild/shade/tasks/ShadedJar.kt

                }
            }
    
            JarOutputStream(BufferedOutputStream(FileOutputStream(jarFile.get().asFile))).use { jarOutputStream ->
                if (!manifests.isEmpty) {
                    jarOutputStream.addJarEntry(JarFile.MANIFEST_NAME, manifests.first())
                }
                if (!buildReceiptFile.isEmpty) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 12 10:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top