[
https://issues.apache.org/jira/browse/DAFFODIL-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743189#comment-17743189
]
Mike Beckerle commented on DAFFODIL-2835:
-----------------------------------------
Maybe not so bad:
[https://alvinalexander.com/scala/setting-putting-sbt-into-offline-mode-no-wifi/]
Seems there is an "offline" option for sbt. The use case is for working on
airplanes, so not an air-gapped environment, just an environment with
intermittent connectivity to the internet.But still this may help.
One still needs an internet connection to discover and cache all the necessary
dependencies of sbt versions. But then one should be able to copy the ".ivy2"
cache to an air-gapped system, and then use sbt there with offline mode.
> sbt for DFDL schema projects is not usable without internet connection
> ----------------------------------------------------------------------
>
> Key: DAFFODIL-2835
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2835
> Project: Daffodil
> Issue Type: Bug
> Components: DFDL Schemas, Infrastructure
> Affects Versions: 3.5.0
> Reporter: Mike Beckerle
> Priority: Major
>
> This is not a Daffodil bug. There is no issue with using sbt for Daffodil
> development.
> This is a bug with the way we depend on sbt as our standard build tool for
> DFDL schema authors to use.
> sbt requires internet connectivity or so it seems, perhaps it can be setup to
> NOT do this, that would provide a workaround or fix for this issue.
> Certainly if sbt finds a build.properties file that specifies a different sbt
> version be used, then it tries to download that from the internet.
> Our users require that they can do DFDL schema authoring, testing, etc. in
> secure air-gapped networks with no internet connectivity.
> We need to either figure out how to use sbt without the need to have an
> internet connection, or we need to switch to a tool that can be so
> configured.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)