Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for tmp_dir (0.4 sec)

  1. .github/workflows/maven_build_itself.yml

              set +e
              if [ -f ${{ env.TAR_BALL }} ]; then
                temp_dir=$(mktemp -d)
                tar -xzf ${{ env.TAR_BALL }} -C "$temp_dir" --strip 1
                maven_bin_dir=$temp_dir/bin
                if [ -d $maven_bin_dir ]; then
                  echo "tar.gz file \"${{ env.TAR_BALL }}\" successfully extracted in temporarily directory \"$temp_dir.\""
                  echo "TEMP_MAVEN_BIN_DIR=$maven_bin_dir" >> $GITHUB_ENV
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir);
    
            assertEquals(basedir.getAbsolutePath(), aligned);
        }
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/Curl.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl;
    
    import java.io.File;
    
    public class Curl {
    
        public static final File tmpDir = new File(System.getProperty("java.io.tmpdir"));
    
        protected Curl() {
            // nothing
        }
    
        public static CurlRequest get(final String url) {
            return new CurlRequest(Method.GET, url);
        }
    
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

        protected static final String SUFFIX = ".tmp";
    
        protected boolean done = false;
    
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

            tempFile.delete();
            assertThat(result, is(true));
        }
    
        @Test
        void isMatchingProjectMatchOnDirectoryReturnsTrue(@TempDir File tempDir) {
            String selector = "maven-core";
            final File tempProjectDir = new File(tempDir, "maven-core");
            tempProjectDir.mkdir();
            final MavenProject mavenProject = createMavenProject("maven-core");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/analysis-api-standalone-native/tests/org/jetbrains/kotlin/analysis/api/standalone/konan/fir/test/cases/session/builder/testUtils.kt

    }
    
    internal fun compileToNativeKLib(kLibSourcesRoot: Path): Path {
        val ktFiles = Files.walk(kLibSourcesRoot).asSequence().filter { it.extension == "kt" }.toList()
        val testKlib = KtTestUtil.tmpDir("testLibrary").resolve("library.klib").toPath()
    
        val arguments = buildList {
            ktFiles.mapTo(this) { it.absolutePathString() }
            addAll(listOf("-produce", "library"))
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 16 13:31:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            childModel.setArtifactId("artifact");
    
            MavenProject childProject = new MavenProject(childModel);
    
            File childFile = new File(
                    System.getProperty("java.io.tmpdir"),
                    "maven-project-tests" + System.currentTimeMillis() + "/child/pom.xml");
    
            childProject.setFile(childFile);
    
            String adjustment = parentProject.getModulePathAdjustment(childProject);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            // ## Assert ##
            assertEquals(before, after);
        }
    
        private long countTmpFiles() {
            return Arrays.stream(Objects.requireNonNull(Curl.tmpDir.listFiles())).map(File::getName)
                    .filter(s -> s.startsWith(PREFIX) && s.endsWith(SUFFIX)).count();
        }
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt

        }
    }
    
    internal fun compileCommonKlib(kLibSourcesRoot: Path): Path {
        val ktFiles = Files.walk(kLibSourcesRoot).asSequence().filter { it.extension == "kt" }.toList()
        val testKlib = KtTestUtil.tmpDir("testLibrary").resolve("library.klib").toPath()
    
        val arguments = buildList {
            ktFiles.mapTo(this) { it.absolutePathString() }
            add("-d")
            add(testKlib.absolutePathString())
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top