You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2017/12/12 11:32:00 UTC

[jira] [Commented] (MEECROWAVE-85) MEECROWAVE_TMPDIR does not work properly

    [ https://issues.apache.org/jira/browse/MEECROWAVE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287474#comment-16287474 ] 

Mark Struberg commented on MEECROWAVE-85:
-----------------------------------------

Imo we need to revise the whole logic of using java.io.tmpdir as default.
It should rather only be used as fallback if no explicit tempdir was set.
And also only if there is no ./target nor ./build

[~romain.manni-bucau] wdyt?

> MEECROWAVE_TMPDIR does not work properly
> ----------------------------------------
>
>                 Key: MEECROWAVE-85
>                 URL: https://issues.apache.org/jira/browse/MEECROWAVE-85
>             Project: Meecrowave
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.2.0
>
>
> Seems we do not properly evaluate {{--temp-dir}} in Meecrowave.java line 902:
> {noformat}
> file = new File(Stream.of(new File(System.getProperty("meecrowave.base", "."), "temp").getAbsolutePath(), "target", "build", ".")
>                 .map(File::new)
>                 .filter(File::isDirectory)
>                 .findFirst().get(), "meecrowave-" + System.nanoTime());
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)