Skip to content

Commit

Permalink
Merge pull request erlang#7421 from frazze-jobb/frazze/system/code_pa…
Browse files Browse the repository at this point in the history
…th_choice_archive_fallback_incompabilities

List code path choice strict and archive fallback as incompatibilities
  • Loading branch information
frazze-jobb authored Jun 20, 2023
2 parents 5e75054 + ed326b9 commit 11c457c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions system/doc/general_info/upcoming_incompatibilities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,32 @@ t.erl:6:18: Warning: type variable 'Unknown' is only used once (is unbound)
<p>In OTP 28, support for interpreting an escript will be removed.</p>
</section>

<section>
<title>-code_path_choice will default to strict</title>
<p>
This command line option controls if paths given in the command
line, boot scripts, and the code server should be interpreted as
is strict or relaxed.
</p>
<p>
OTP 26 and earlier defaults to <c>relaxed</c>, which means
<c>-pa myapp/ebin</c> would attempt to load <c>-pa myapp/ebin</c>
and <c>-pa myapp/myapp/ebin</c>. The option will default to
strict in OTP 27.
</p>
</section>

<section>
<title>Archive fallbacks will be removed</title>
<p>
OTP 26 and earlier allows an application to have part of its
directories as regular folders and others as archives.
This functionality was previously used by reltool but it is
no longer the case from OTP 26. Support for archive fallbacks
will be removed from the code server in OTP 27.
</p>
</section>

</section>

<section>
Expand Down

0 comments on commit 11c457c

Please sign in to comment.