PDA

View Full Version : [OPEN] ST2.1/CMD3 packager.json mas mismatched/duplicate sections and comments



troyhfore
8 Nov 2012, 6:28 AM
REQUIRED INFORMATION




Ext version tested:

Touch 2.1
Cmd v3.0.0.250


Description:

In the following block from a default Touch app's packager.json:
- There's no field for certificateAlias, although there's commenting for it
- The comments for certificatePassword, provisionProfile, and sdkPath are mismatched. sdkPath is actually duplicated later on.


Steps to reproduce the problem:

Create Touch 2.1 app with Cmd 3


The result that was expected:

packager.json without mismatched comments and duplicate values


The result that occurs instead:

There's no field for certificateAlias, although there's commenting for it
The comments for certificatePassword, provisionProfile, and sdkPath are mismatched.
sdkPath is actually duplicated later on.


/**
* @cfg {String} certificateAlias
* This is the name of your certificate.
*
* IF you do not specify this on OSX, we will try and automatically find the certificate for you using the applicationId.
*
* This can be just a simple matcher. For example, if your certificate name is "iPhone Developer: Robert Dougan (ABCDEFGHIJ)", you
* can just put "iPhone Developer".
*
* When using a certificatePath on Windows, you do not need to specify this.
*/
"certificatePassword":"",
/**
* @cfg {String} certificatePassword
* The password which was specified during certificate export
*/
"provisionProfile":"",
/**
* @cfg {String} provisionProfile
* The path to the provision profile (APP_NAME.mobileprovision) which you can create and then download from Apple's provisioning portal
*/
"sdkPath":"/path/to/android-sdk",


/**
* @cfg {String} sdkPath
* This is the path to the Android SDK, if you are developing an Android application.
*/
"sdkPath":"/path/to/android-sdk",

Test Case:




sencha generate app APP ../testapp2dot1







HELPFUL INFORMATION


Operating System:

OS X

mitchellsimoens
8 Nov 2012, 6:51 AM
Thanks for the report! I have opened a bug in our bug tracker.