Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for jarFile (0.19 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

            createJar(classGraph, classesDir, manifestFile, jarFile)
    
            return jarFile
        }
    
        private
        fun createJar(classGraph: ClassGraph, classesDir: File, manifestFile: File, jarFile: File) {
            try {
                JarOutputStream(BufferedOutputStream(FileOutputStream(jarFile))).use { jarOutputStream ->
                    if (manifestFile.exists()) {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

            throws IOException {
          JarFile jarFile;
          try {
            jarFile = new JarFile(file);
          } catch (IOException e) {
            // Not a jar file
            return;
          }
          try {
            for (File path : getClassPathFromManifest(file, jarFile.getManifest())) {
              // We only scan each file once independent of the classloader that file might be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt

    import java.io.IOException
    import java.util.Properties
    import java.util.jar.JarEntry
    import java.util.jar.JarFile
    
    
    data class PluginEntry(val pluginId: String, val implementationClass: String)
    
    
    fun pluginEntriesFrom(jar: File): List<PluginEntry> = try {
        JarFile(jar, false).use { jarFile ->
            jarFile.entries().asSequence().filter {
                isGradlePluginPropertiesFile(it)
            }.map { pluginEntry ->
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

            for (final WebResource possibleJar : possibleJars) {
                if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) {
                    try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) {
                        final Manifest manifest = jarFile.getManifest();
                        if (manifest != null && manifest.getEntries() != null) {
                            final Attributes attributes = manifest.getMainAttributes();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/TraversalUtil.java

             * @param rootDir
             *            ルートディレクトリ
             */
            public JarFileTraverser(final JarFile jarFile, final String rootPackage, final String rootDir) {
                this.jarFile = jarFile;
                this.rootPackage = rootPackage;
                this.rootDir = rootDir;
            }
    
            /**
             * インスタンスを構築します。
             *
             * @param url
             *            Jarファイルを表すURL
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                    && artifact.getPath() != null) {
                Path artifactPath = artifact.getPath();
                if (Files.isRegularFile(artifactPath)) {
                    try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) {
                        ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION);
    
                        if (pluginDescriptorEntry != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. 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 ->
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            }
        }
    
        private
        fun openJarFile(file: File) =
            openJars.computeIfAbsent(file, ::JarFile)
    
        override fun close() {
            openJars.values.forEach(JarFile::close)
        }
    }
    
    
    /**
     * See https://docs.oracle.com/javase/8/docs/technotes/tools/findingclasses.html#userclass
     */
    private
    val File.isClassPathArchive
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            assertThat(set.contains(TestCase.class.getName()), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_JarFile() throws Exception {
            final Traverser traverser = TraversalUtil.getTraverser(TestCase.class);
            assertThat(traverser, is(notNullValue()));
            assertThat(traverser instanceof JarFileTraverser, is(true));
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/plugin/admin_plugin_installplugin.jsp

                                                <label for="jarFile" class="col-md-3 text-sm-right col-form-label"><la:message
                                                        key="labels.plugin_jar_file"/></label>
                                                <div class="col-md-9 text-sm-right col-form-label">
                                                    <input id="jarFile" type="file" name="jarFile" class="form-control-file"/>
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 14 12:15:45 GMT 2020
    - 5.8K bytes
    - Viewed (0)
Back to top