Skip to content

chore: Merge release in master #3627

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

Merged
merged 14 commits into from
May 28, 2018
Merged

Conversation

rosen-vladimirov
Copy link
Contributor

Merge latest changes from release in master

Fatme and others added 14 commits May 25, 2018 14:12
Fix issue with C++ source code files being added to Resources instead
of Sources group. Add unit tests.
…pp-group

fix(node-xcode): Update to 1.5.1 tag
After upgrading `nativescript-doctor`, the version of the Java is
validated against the current Android runtime version. In case the
runtime version cannot work with Java 10, `nativescript-doctor` does not
allow the operation to continue. This breaks the `platform remove`
command, as it checks the system requirements first, before executing
the actual removal. However, this is no longer required as the code for
removing the platform is `try-catched` and in case the current
environment is not setup correctly, it will try to remove the
platforms/<platform> dir and the respective key in package.json.
So remove the environment validation from this command. Also remove the
`validatePlatformInstalled` call from the `canExecute` method of the
command, as it is actually called in the `removePlatforms` method.
…move

fix: platform remove command fails with old Android runtime
Add logic to validate environment based on the specified runtime version. This is required for the cases where the runtime version is not specified in the project's package.json but we need to verify if a runtime version can be used
For `tns platform update <platform>` command validate the runtime version that will be installed based on the passed argument. This has two cases:
1. In case version is specified: `tns platform update [email protected]` - we'll get the 4.0.1 version and validate if it can be used with currently installed Java compiler version.
2. In case version is not specified: `tns platform update android` - we'll not validate the java version here as we know we'll install at least 4.1.0 runtime, which is compatible with all Java versions

For `tns platform clean <platform>` command we need to validate the current platform immediately as the command removes it and adds the same version after that.
…mmands

fix: platform update/clean commands may fail with Java 10
@rosen-vladimirov rosen-vladimirov self-assigned this May 28, 2018
@Natalia-Hristova Natalia-Hristova self-requested a review May 28, 2018 17:34
@rosen-vladimirov rosen-vladimirov merged commit 8bb96c3 into master May 28, 2018
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/merge-rel-master branch May 28, 2018 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants