-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Release 0.22.0-RC1 : file dotty-tasty-inspector_0.22-0.22.0-RC1.jar is missing #8218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Step 1 was needed because |
That's correct, but from a user perspective (i.e. someone running a 0.22.0-RC1 installation), Step 1 is required. Do we agree that notes 1 and 4 in Step 2 are still pending ?! |
Indeed. #8224 will fix them, but |
IMO a 0.22.0-RC2 only to fix it is not useful assuming most people experimenting with TASTy are running a nightly build. |
Fix #8218: Add missing TASTy Inspector dependency in dist/pack
I confirm it now works using the Windows command prompt (batch files):
Using MSYS2-x64 it only works if file
Reminder: My diffs for file
PS.: In section Inspecting TASTy files of the Dotty online documention |
Updating docs in #8227 |
Fix #8218: Add missing TASTy Inspector dependency in dist/pack
Main issue is solved. Note 4 (specific to |
@michelou could you open a PR with those fixes? |
Yes, I will. |
@nicolasstucki Note 4 solved with PR #11489. |
Minimized code
Let's choose a test sample using the TASTy Inspector, e.g. Foo.scala, Test.scala.
Compilation output
Using MSYS2-x64:
Using the Windows command prompt (batch files):
Expectation
The compilation succeeds and the test execution produces the expected result:
Using MSYS2-x64:
Using the Windows command prompt (batch files):
Solution
Step 1
Copy the missing file
dotty-tasty-inspector_0.22-0.22.0-RC1.jar
from the Maven repo into directory$DOTTY_HOME/lib/
of the Dotty installation.Step 2
Update the bash scripts as follows (tested with MSYS2-x64):
Notes:
CLASSPATH_SUFFIX
in filedist/bin/common
is unused and can be removed.DOTTY_CONSUME_TASTY
must be renamed toDOTTY_TASTY_INSPECTOR
(and its value must be updated).DOTTY_TASTY_INSPECTOR
to variabletoolchain
in filedist/bin/dotc
(just afterDOTTY_STAGING
).PROG_HOME
andJAVA_HOME
and functionfind_lib
to work correctly on MingW64 (someone should test/confirm that last change !).The text was updated successfully, but these errors were encountered: