Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1624] LICENSE, LICENSE.txt both created with new module project

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2015-09-17T06:45:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsmodule, studio
ReporterJason Priebe
AssigneeShak Hossain
Created2014-09-11T15:21:22.000+0000
Updated2016-03-08T07:38:06.000+0000

Description

When I create a new mobile module project, both LICENSE and LICENSE.txt are created. This is confusing to the end user. Which one should I be using? The README refers to LICENSE. BTW, the README seems to be pretty far out of date. It references timodule.json, which I don't think is used??? In fact, all module-related documentation is pretty inaccurate/incomplete at this point. There are obviously big changes happening to module structure, but the majority of the examples online are using older project structures, especially on the android side of things. There are files that I can't tell whether they are part of the project or if they're auto-generated. Things like module.xcconfig and titanium.xcconfig. If it's supposed to be part of the project, it should be created when the project is created. There's no guidance that I've seen for moving projects from this old structure to the new, so I've been building new projects and copying code from the old project to the new one.

Comments

  1. Amimul Hossain 2015-09-08

    Hello, According to the module documentation [here](http://docs.appcelerator.com/platform/latest/#!/guide/Android_Module_Development_Guide), and [here](http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Module_Development_Guide) LICENSE and LICENSE.txt file both has separate purpose. LICENSE file will be include it in the module distribution. That is why READMY file refers to LICENSE file. And LICENSE.txt file will be incorporated with your app at package time. So, both of the files needs to be created. This is not a bug. Hope this helps, Thanks.

JSON Source