Skip to content

Extraneous classes generated by SBG are not cleaned on rebuild #904

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

Closed
sis0k0 opened this issue Dec 21, 2017 · 0 comments
Closed

Extraneous classes generated by SBG are not cleaned on rebuild #904

sis0k0 opened this issue Dec 21, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@sis0k0
Copy link
Contributor

sis0k0 commented Dec 21, 2017

Versions

  • CLI: 3.4
  • Runtime: 3.4

Steps to reproduce

  1. Create {N} app
tns create testapp
  1. Declare custom activity somewhere in the app.
// ./app/MyActivity.js
android.app.Activity.extend("com.tns.MyActivity", {
    onCreate: function (bundle) {
        this.super.onCreate(bundle);
    }
});
  1. Build the app
    tns build android
    
    The proxy class will be generated in platforms/android/app/src/main/java/com/tns/MyActivity.java.
  2. Delete the custom activity
rm ./app/MyActivity.js
  1. Rebuild the app
tns build android

The generated class won't be deleted and will be present inside the built .apk as well.

@sis0k0 sis0k0 added this to the 4.0.0 (TBD) milestone Dec 21, 2017
@sis0k0 sis0k0 added the bug label Dec 21, 2017
@Plamen5kov Plamen5kov reopened this Mar 12, 2018
@petekanev petekanev removed this from the 4.0.0 milestone Mar 12, 2018
@petekanev petekanev removed their assignment Apr 2, 2018
@darind darind self-assigned this Apr 30, 2018
@darind darind added this to the 4.1.0 milestone Apr 30, 2018
@miroslavaivanova miroslavaivanova self-assigned this May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants