Skip to content
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

fix(android): module "clean" shouldn't error if missing "libs" folder #11508

Merged
merged 3 commits into from
Mar 24, 2020

Conversation

jquick-axway
Copy link
Contributor

@jquick-axway jquick-axway commented Feb 29, 2020

JIRA:
https://jira.appcelerator.org/browse/TIMOB-27784

Summary:
When doing module development, doing an appc ti clean in a module directory would error out if directory is missing a "libs" subdirectory. This can happen if you've never built the module. It will also alway happen for Titanium 9.0.0 built modules since they never produce a "libs" folder anymore. This is a minor issue that can be safely ignored since all other folders/files are correctly deleted before the task fails (it just looks bad).

Test:

  1. Follow the steps-to-reproduce in TIMOB-27784.
  2. Verify that a clean does not throw an error.

- When doing an "appc ti clean" in module folder, now checks if "libs" directory exists before attempting to clean it.
  * Titanium 9.0.0 no longer generates a "libs" folder. So, this help avoids the error.
@build
Copy link
Contributor

build commented Feb 29, 2020

Messages
📖 ✊ The commits in this PR match our conventions! Feel free to Rebase and Merge this PR when ready.
📖

✅ All tests are passing
Nice one! All 4362 tests are passing.
(There are 472 skipped tests not included in that total)

Generated by 🚫 dangerJS against 8213a5e

@sgtcoolguy sgtcoolguy self-requested a review March 2, 2020 21:02
@ssekhri
Copy link

ssekhri commented Mar 20, 2020

FR Passed. Module clean works fine without error.
Verified on:
Mac OS: 10.15.1
SDK: 9.1.0.v20200228205731
Appc CLI: 8.0.0
JDK: 11.0.4
Node: 10.17.0

@sgtcoolguy sgtcoolguy merged commit 20fe9f8 into tidev:master Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants