lundi 5 janvier 2015

Downloaded a commercial version but using a GPL version??

Hi,

Although I've downloaded the commercial version of Sencha Touch 2.4.1, when I generate and build a new app with SenchaCmd 5.1, I get the following message indicating that I'm using a GPL version.



Code:



$ sencha app build
Sencha Cmd v5.1.0.26
[INF] Processing Build Descriptor : default
[INF] Using GPL Version of Ext JS version 2.4.1.527 from /home/ryuichi/opt/MyApp/touch.
[INF] The implications of using GPL version can be found here (http://ift.tt/1upG4FD).
...

I think this is because of the way Sencha Cmd checks the touch/license.txt.

extensions/sencha-licenses/sencha-licenses.plugin.xml



Code:



var commercialRe = /(This version of Ext JS is licensed commercially)|(Commercial Usage)/;
var gplRe = /(GPL)|(GNU General Public License Usage)/;

function getLicenseFromText (s) {
var license = null;

// The commercial license makes reference to GPL so we check for it
// first then GPL:
if (commercialRe.test(s)) {
license = 'Commercial';
}
else if (gplRe.test(s)) {
license = 'GPL';
}

return license;
}

Is it just a bug and the "Using GPL Version..." notification will be removed in the near future or should I use another version of Sencha Cmd (like v4.x) to build Sencha Touch 2.4?



Downloaded a commercial version but using a GPL version??

Aucun commentaire:

Enregistrer un commentaire