Skip to content

The static binding generator should clean redundant files #467

@atanasovg

Description

@atanasovg

When changing extend implementation in a single file iteratively, like:

Step 1

var listener = new com.google.android.youtube.player.YouTubePlayer.OnInitializedListener({
...
});

tns build android

Step 2

// add some code here, to change the line number of the extend call
var dummy = 1;
var listener = new com.google.android.youtube.player.YouTubePlayer.OnInitializedListener({
...
});

tns build android

Result

This produces two *.java files and obviously the older one is redundant.

We need to figure a cleaning algorithm that prevents this erroneous behavior.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions