Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 98 for jar (0.2 sec)

  1. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

    import java.io.File;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.jar.JarEntry;
    import java.util.jar.JarFile;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipInputStream;
    
    import org.codelibs.core.jar.JarFileUtil;
    import org.codelibs.core.zip.ZipInputStreamUtil;
    
    /**
     * リソースをトラバースするためのクラスです。
     *
     * @author taedium
     * @see ResourceHandler
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/net/URLUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testToCanonicalProtocol() throws Exception {
            assertEquals("jar", URLUtil.toCanonicalProtocol("wsjar"));
            assertEquals("jar", URLUtil.toCanonicalProtocol("jar"));
            assertEquals("zip", URLUtil.toCanonicalProtocol("zip"));
            assertEquals("file", URLUtil.toCanonicalProtocol("file"));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

            MavenProject mavenProject = new MavenProject();
            mavenProject.setArtifact(new DefaultArtifact("g", "a", "1.0", Artifact.SCOPE_TEST, "jar", "", null));
            File artifactFile = Files.createTempFile("foo", "tmp").toFile();
            try {
                mavenProjectHelper.attachArtifact(mavenProject, "java-source", artifactFile);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

        @Test
        void test() throws Exception {
            Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() {
                Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
    
                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                    String filename = file.getFileName().toString();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
                plugins.add(newPlugin("maven-resources-plugin", "resources", "testResources"));
                plugins.add(newPlugin("maven-surefire-plugin", "test"));
                plugins.add(newPlugin("maven-jar-plugin", "jar"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProjectHelper.java

        /**
         * Add or replace an artifact to the current project.
         * @param project the project reference.
         * @param artifactType the type (e.g. jar) or null.
         * @param artifactClassifier the classifier or null.
         * @param artifactFile the file for the artifact.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolverTest.java

                    .getFile());
    
            lib.getArtifact().setFile(new File("lib.jar"));
    
            resolver.resolveProjectDependencies(
                    war, scopesToCollect, scopesToResolve, session, aggregating, reactorArtifacts);
    
            assertEquals(
                    new File("lib.jar"),
                    war.getArtifactMap()
                            .get("org.apache.maven.its.mng6300:mng6300-lib")
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * An artifact points to a resource such as a jar file or war application.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Artifact {
    
        /**
         * Returns a unique identifier for this artifact.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 15 15:48:33 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                                                    newPlugin("maven-surefire-plugin", "test"),
                                                    newPlugin("maven-jar-plugin", "jar"),
                                                    newPlugin("maven-install-plugin", "install"),
                                                    newPlugin("maven-deploy-plugin", "deploy")))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.io.File;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.util.zip.ZipInputStream;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.jar.JarFileUtil;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top