You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "John Interrante (Jira)" <ji...@apache.org> on 2021/12/09 19:19:00 UTC

[jira] [Commented] (DAFFODIL-2501) Resolve hanging problem running sbt (really dev.dirs) from MSYS2 on Windows

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

John Interrante commented on DAFFODIL-2501:
-------------------------------------------

We don't use directories-jvm anymore, so we can remove the env var workaround and close this issue.

> Resolve hanging problem running sbt (really dev.dirs) from MSYS2 on Windows
> ---------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2501
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2501
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End C-Generator, Infrastructure
>    Affects Versions: 3.1.0
>            Reporter: John Interrante
>            Assignee: John Interrante
>            Priority: Minor
>
> We need to report a issue with a reproducible test case in the dev.dirs/directories-jvm project on GitHub. Note that dev.dirs exhibits the problem but they may or may not be responsible for it. Their code which tries to run a Windows PowerShell script using a Java subprocess call hangs when run from MSYS2 on Windows although it works fine when run from CMD on Windows.
> Then we need to wait until the hanging problem is fixed in the directories library, coursier picks up the new directories version, sbt picks up the new coursier version, and daffodil picks up the new sbt version, before we can remove the "echo >> $GITHUB_ENV" lines from .github/workflows/main.yml. We defined these COURSIER_CACHE and COURSIER_CONFIG_DIR environment variables to work around the sbt hanging problem by skipping the ProjectDirectories.from(null, null, "Coursier") calls.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)