[jira] [Reopened] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah reopened CB-4374:
--


Re-opening since this is not fixed yet, the onload param has not been added to 
the plugin.xml yet 

Added link to CB-4355 that this bug depends on.

> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4391) iOS 7: splash screen has a white bar at the bottom of the device screen

2013-07-24 Thread lmnbeyond (JIRA)
lmnbeyond created CB-4391:
-

 Summary: iOS 7: splash screen has a white bar at the bottom of the 
device screen
 Key: CB-4391
 URL: https://issues.apache.org/jira/browse/CB-4391
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.0.0
 Environment: xcode 5 preview
iOS 7 simulator/device
Reporter: lmnbeyond
Assignee: Shazron Abdullah


Steps:
1. Specify the value of "UIStatusBarHidden"(Info.plist) as false (make sure 
it's not fullscreen)
2. Run the project on iOS 7 device(or simulator) and check the native splash 
screen

Result:
There is a white bar at the bottom of the device screen when native splash 
shows.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-4387) "cordova build" - bad handling of resources (icons, splash screens)

2013-07-24 Thread Dooms (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719303#comment-13719303
 ] 

Dooms edited comment on CB-4387 at 7/25/13 6:43 AM:


I second this issue.

I ran all 3 commands I could find:
 cordova prepare ios
 cordova build ios
 cordova compile ios

(from 
http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface)

And yet:
a) the ios project directory's config.xml is unchanged, after making changes to 
/www/config.xml
b) the ios project's "resources" directory (icons, splashscreen), show the 
time&date modified, but not to the icons specified in /www/res


  was (Author: dooms):
I second this issue.

I ran all 3 commands I could find:
 cordova prepare ios
 cordova build ios
 cordova compile ios

And yet:
a) the ios project directory's config.xml is unchanged, after making changes to 
/www/config.xml
b) the ios project's "resources" directory (icons, splashscreen), show the 
time&date modified, but not to the icons specified in /www/res


  
> "cordova build" - bad handling of resources (icons, splash screens)
> ---
>
> Key: CB-4387
> URL: https://issues.apache.org/jira/browse/CB-4387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: Jan Becicka
>Assignee: Filip Maj
>Priority: Blocker
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> > cd pgtest
> > cordova platform add android
> > cordova build android
> Resulting app has almost 8MB. The problem is, that "www/res" folder, which 
> contains icons and splashscreens is completely copied into assets/www. So the 
> resulting app contains splash screens for all possible mobile platforms, 
> which is completely useless. Res folder should not be copied at all, because 
> right place for resources is res/drawable.
> BTW I tried the same commands with phonegap. Resulting app is significantly 
> smaller (1.7MB) but it also contains unnecessary resources in www/res.
> Still not understand what is the difference between "phonegap local build" 
> and "cordova build"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4387) "cordova build" - bad handling of resources (icons, splash screens)

2013-07-24 Thread Dooms (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719303#comment-13719303
 ] 

Dooms commented on CB-4387:
---

I second this issue.

I ran all 3 commands I could find:
 cordova prepare ios
 cordova build ios
 cordova compile ios

And yet:
a) the ios project directory's config.xml is unchanged, after making changes to 
/www/config.xml
b) the ios project's "resources" directory (icons, splashscreen), show the 
time&date modified, but not to the icons specified in /www/res



> "cordova build" - bad handling of resources (icons, splash screens)
> ---
>
> Key: CB-4387
> URL: https://issues.apache.org/jira/browse/CB-4387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: Jan Becicka
>Assignee: Filip Maj
>Priority: Blocker
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> > cd pgtest
> > cordova platform add android
> > cordova build android
> Resulting app has almost 8MB. The problem is, that "www/res" folder, which 
> contains icons and splashscreens is completely copied into assets/www. So the 
> resulting app contains splash screens for all possible mobile platforms, 
> which is completely useless. Res folder should not be copied at all, because 
> right place for resources is res/drawable.
> BTW I tried the same commands with phonegap. Resulting app is significantly 
> smaller (1.7MB) but it also contains unnecessary resources in www/res.
> Still not understand what is the difference between "phonegap local build" 
> and "cordova build"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4390) Android Command-line Tools Section is missing few commands

2013-07-24 Thread Sharif Ahmed (JIRA)
Sharif Ahmed created CB-4390:


 Summary: Android Command-line Tools Section is missing few commands
 Key: CB-4390
 URL: https://issues.apache.org/jira/browse/CB-4390
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Reporter: Sharif Ahmed
Assignee: Michael Brooks
Priority: Minor


In the Android Command-line Tools Section the following commands documentation 
are missing:
/bin/check_reqs
/bin/update [path]

/cordova/version

The above are present in README but has not been update in the doc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4388) Config.xml of the new project does not specify icons and splash screens

2013-07-24 Thread Jan Becicka (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Becicka updated CB-4388:


Description: 
Steps to reproduce:
> cordova create pgtest com.example.hello "App"

Command above creates new cordova project with tons of icons and splash screens 
in res folder. But they are not referenced from config.xml, so they are not 
used.

https://build.phonegap.com/docs/config-xml

And btw
> phonegap create pgtest com.example.hello "App"
does reference some icons (why not all?)



  was:
Steps to reproduce:
> cordova create pgtest com.example.hello "App"

Command above creates new cordova project with tons of icons and splash screens 
in res folder. But they are not referenced from config.xml, so they are not 
used.

https://build.phonegap.com/docs/config-xml

And btw
> phonegap create pgtest com.example.hello "App"
does reference some icons (why not all?)

What is the difference between phonegap project and cordova project? Why are 
they different?



> Config.xml of the new project does not specify icons and splash screens
> ---
>
> Key: CB-4388
> URL: https://issues.apache.org/jira/browse/CB-4388
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: App Hello World, CLI
>Affects Versions: 3.0.0
>Reporter: Jan Becicka
>Assignee: Michael Brooks
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> Command above creates new cordova project with tons of icons and splash 
> screens in res folder. But they are not referenced from config.xml, so they 
> are not used.
> https://build.phonegap.com/docs/config-xml
> And btw
> > phonegap create pgtest com.example.hello "App"
> does reference some icons (why not all?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4387) "cordova build" - bad handling of resources (icons, splash screens)

2013-07-24 Thread Jan Becicka (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719298#comment-13719298
 ] 

Jan Becicka commented on CB-4387:
-

Thanks Filip. Now I see why "cordova" app is much bigger. Their icons and 
splash screens are simply bigger. Anyway assets/www/res folder issue still 
remains.

> "cordova build" - bad handling of resources (icons, splash screens)
> ---
>
> Key: CB-4387
> URL: https://issues.apache.org/jira/browse/CB-4387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: Jan Becicka
>Assignee: Filip Maj
>Priority: Blocker
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> > cd pgtest
> > cordova platform add android
> > cordova build android
> Resulting app has almost 8MB. The problem is, that "www/res" folder, which 
> contains icons and splashscreens is completely copied into assets/www. So the 
> resulting app contains splash screens for all possible mobile platforms, 
> which is completely useless. Res folder should not be copied at all, because 
> right place for resources is res/drawable.
> BTW I tried the same commands with phonegap. Resulting app is significantly 
> smaller (1.7MB) but it also contains unnecessary resources in www/res.
> Still not understand what is the difference between "phonegap local build" 
> and "cordova build"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4387) "cordova build" - bad handling of resources (icons, splash screens)

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719281#comment-13719281
 ] 

Filip Maj commented on CB-4387:
---

Cordova's CLI uses the hello-world-app cordova project: 
https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;a=summary

PhoneGap's CLI uses the phonegap-app-hello-world project: 
https://github.com/phonegap/phonegap-app-hello-world

Cordova is the Apache project, PhoneGap is a downstream distribution of Cordova.

> "cordova build" - bad handling of resources (icons, splash screens)
> ---
>
> Key: CB-4387
> URL: https://issues.apache.org/jira/browse/CB-4387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: Jan Becicka
>Assignee: Filip Maj
>Priority: Blocker
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> > cd pgtest
> > cordova platform add android
> > cordova build android
> Resulting app has almost 8MB. The problem is, that "www/res" folder, which 
> contains icons and splashscreens is completely copied into assets/www. So the 
> resulting app contains splash screens for all possible mobile platforms, 
> which is completely useless. Res folder should not be copied at all, because 
> right place for resources is res/drawable.
> BTW I tried the same commands with phonegap. Resulting app is significantly 
> smaller (1.7MB) but it also contains unnecessary resources in www/res.
> Still not understand what is the difference between "phonegap local build" 
> and "cordova build"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4389) Cordova JS file name is different in API Reference and assets/www

2013-07-24 Thread Sharif Ahmed (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sharif Ahmed updated CB-4389:
-

Priority: Critical  (was: Trivial)

> Cordova JS file name is different in API Reference and assets/www
> -
>
> Key: CB-4389
> URL: https://issues.apache.org/jira/browse/CB-4389
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Sharif Ahmed
>Assignee: Michael Brooks
>Priority: Critical
>
> In the API Reference, all the Full Example section of the APIs have the 
> following script tag:
>  src="cordova-3.0.0.js">
> Whereas, in a newly created cordova app (3.0.0), the file name is cordova.js 
> (under assets/www). Clearly its a mis-match.
> Update in the Full Example sections of 3.0.0 docs in needed.
> Changing the following script:
>  src="cordova-3.0.0.js">
> To:
> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4389) Cordova JS file name is different in API Reference and assets/www

2013-07-24 Thread Sharif Ahmed (JIRA)
Sharif Ahmed created CB-4389:


 Summary: Cordova JS file name is different in API Reference and 
assets/www
 Key: CB-4389
 URL: https://issues.apache.org/jira/browse/CB-4389
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Reporter: Sharif Ahmed
Assignee: Michael Brooks
Priority: Trivial


In the API Reference, all the Full Example section of the APIs have the 
following script tag:


Whereas, in a newly created cordova app (3.0.0), the file name is cordova.js 
(under assets/www). Clearly its a mis-match.

Update in the Full Example sections of 3.0.0 docs in needed.

Changing the following script:

To:


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4387) "cordova build" - bad handling of resources (icons, splash screens)

2013-07-24 Thread Jan Becicka (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Becicka updated CB-4387:


Description: 
Steps to reproduce:
> cordova create pgtest com.example.hello "App"
> cd pgtest
> cordova platform add android
> cordova build android

Resulting app has almost 8MB. The problem is, that "www/res" folder, which 
contains icons and splashscreens is completely copied into assets/www. So the 
resulting app contains splash screens for all possible mobile platforms, which 
is completely useless. Res folder should not be copied at all, because right 
place for resources is res/drawable.

BTW I tried the same commands with phonegap. Resulting app is significantly 
smaller (1.7MB) but it also contains unnecessary resources in www/res.

Still not understand what is the difference between "phonegap local build" and 
"cordova build"





  was:
Steps to reproduce:
> cordova create pgtest com.example.hello "App"
> cd pgtest
> cordova platform add android
> cordova build android

Resulting app has almost 8MB. The problem is, that "www/res" folder, which 
contains icons and splashscreens is completely copied into assets/www. So the 
resulting app contains splash screens for all possible mobile platforms, which 
is completely useless. Res folder should not be copied at all, because right 
place for resources is res/drawable.




> "cordova build" - bad handling of resources (icons, splash screens)
> ---
>
> Key: CB-4387
> URL: https://issues.apache.org/jira/browse/CB-4387
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: Jan Becicka
>Assignee: Filip Maj
>Priority: Blocker
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> > cd pgtest
> > cordova platform add android
> > cordova build android
> Resulting app has almost 8MB. The problem is, that "www/res" folder, which 
> contains icons and splashscreens is completely copied into assets/www. So the 
> resulting app contains splash screens for all possible mobile platforms, 
> which is completely useless. Res folder should not be copied at all, because 
> right place for resources is res/drawable.
> BTW I tried the same commands with phonegap. Resulting app is significantly 
> smaller (1.7MB) but it also contains unnecessary resources in www/res.
> Still not understand what is the difference between "phonegap local build" 
> and "cordova build"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4388) Config.xml of the new project does not specify icons and splash screens

2013-07-24 Thread Jan Becicka (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Becicka updated CB-4388:


Description: 
Steps to reproduce:
> cordova create pgtest com.example.hello "App"

Command above creates new cordova project with tons of icons and splash screens 
in res folder. But they are not referenced from config.xml, so they are not 
used.

https://build.phonegap.com/docs/config-xml

And btw
> phonegap create pgtest com.example.hello "App"
does reference some icons (why not all?)

What is the difference between phonegap project and cordova project? Why are 
they different?


  was:
Steps to reproduce:
> cordova create pgtest com.example.hello "App"

Command above creates new cordova project with tons of icons and splash screens 
in res folder. But they are not referenced from config.xml, so they are not 
used.

https://build.phonegap.com/docs/config-xml

And btw
> phonegap create pgtest com.example.hello "App"
does reference some (why not all?)

What is the difference between phonegap project and cordova project? Why are 
they different?



> Config.xml of the new project does not specify icons and splash screens
> ---
>
> Key: CB-4388
> URL: https://issues.apache.org/jira/browse/CB-4388
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: App Hello World, CLI
>Affects Versions: 3.0.0
>Reporter: Jan Becicka
>Assignee: Michael Brooks
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> Command above creates new cordova project with tons of icons and splash 
> screens in res folder. But they are not referenced from config.xml, so they 
> are not used.
> https://build.phonegap.com/docs/config-xml
> And btw
> > phonegap create pgtest com.example.hello "App"
> does reference some icons (why not all?)
> What is the difference between phonegap project and cordova project? Why are 
> they different?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4388) Config.xml of the new project does not specify icons and splash screens

2013-07-24 Thread Jan Becicka (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Becicka updated CB-4388:


Description: 
Steps to reproduce:
> cordova create pgtest com.example.hello "App"

Command above creates new cordova project with tons of icons and splash screens 
in res folder. But they are not referenced from config.xml, so they are not 
used.

https://build.phonegap.com/docs/config-xml

And btw
> phonegap create pgtest com.example.hello "App"
does reference some (why not all?)

What is the difference between phonegap project and cordova project? Why are 
they different?


  was:
Steps to reproduce:
> cordova create pgtest com.example.hello "App"

Command above creates new cordova project with tons of icons and splash screens 
in res folder. But they are not referenced from config.xml, so they are not 
used.

https://build.phonegap.com/docs/config-xml


> Config.xml of the new project does not specify icons and splash screens
> ---
>
> Key: CB-4388
> URL: https://issues.apache.org/jira/browse/CB-4388
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: App Hello World, CLI
>Affects Versions: 3.0.0
>Reporter: Jan Becicka
>Assignee: Michael Brooks
>
> Steps to reproduce:
> > cordova create pgtest com.example.hello "App"
> Command above creates new cordova project with tons of icons and splash 
> screens in res folder. But they are not referenced from config.xml, so they 
> are not used.
> https://build.phonegap.com/docs/config-xml
> And btw
> > phonegap create pgtest com.example.hello "App"
> does reference some (why not all?)
> What is the difference between phonegap project and cordova project? Why are 
> they different?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4378) Add icon and splash support

2013-07-24 Thread Jan Becicka (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719268#comment-13719268
 ] 

Jan Becicka commented on CB-4378:
-

It is possible to specify it, right?
https://build.phonegap.com/docs/config-xml

Does cordova build use it? What is the difference between "cordova build" and 
"phonegap local build". PhoneGap initial app uses  and  but 
cordova initial app doesn't. This is really confusing.

> Add icon and splash support
> ---
>
> Key: CB-4378
> URL: https://issues.apache.org/jira/browse/CB-4378
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Affects Versions: 3.0.0
> Environment: Mac OS X
>Reporter: Jonathan Naguin
>Assignee: Filip Maj
>Priority: Minor
>
> It would interesting be able to specify the icons and splash resources in the 
> config.xml. If so in the process of build could be automatically copied to 
> the final destination in every platform.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3560) Use mirror system for downloads

2013-07-24 Thread Marcel Kinard (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719267#comment-13719267
 ] 

Marcel Kinard commented on CB-3560:
---

The website source is maintained in 
https://svn.apache.org/repos/asf/cordova/site/www/ that builds into the 
../public directory.

It looks like the cgi script will handle mirrors of the src zip, but the other 
small artifacts (md5, sha, asc) never get mirrored and exist only on 
www.apache.org/dist.



> Use mirror system for downloads
> ---
>
> Key: CB-3560
> URL: https://issues.apache.org/jira/browse/CB-3560
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Website
>Reporter: Brian M Dube
>Assignee: Marcel Kinard
>Priority: Trivial
> Attachments: CB-3560_use_mirrors_patch_v1.txt
>
>
> Links to download Apache Cordova should not point directly to apache.org. 
> There are scripts to help leverage the mirror system.
> http://www.apache.org/dev/mirrors.html
> http://www.apache.org/dev/release-download-pages

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3560) Use mirror system for downloads

2013-07-24 Thread Marcel Kinard (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Kinard reassigned CB-3560:
-

Assignee: Marcel Kinard  (was: Steve Gill)

> Use mirror system for downloads
> ---
>
> Key: CB-3560
> URL: https://issues.apache.org/jira/browse/CB-3560
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Website
>Reporter: Brian M Dube
>Assignee: Marcel Kinard
>Priority: Trivial
> Attachments: CB-3560_use_mirrors_patch_v1.txt
>
>
> Links to download Apache Cordova should not point directly to apache.org. 
> There are scripts to help leverage the mirror system.
> http://www.apache.org/dev/mirrors.html
> http://www.apache.org/dev/release-download-pages

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread lmnbeyond (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719254#comment-13719254
 ] 

lmnbeyond edited comment on CB-4374 at 7/25/13 5:46 AM:


Thanks to you all!

After I added the "onload" param in the  tag, and fetched the latest 
splashscreen plugin code, everything works!

https://github.com/lmnbeyond/cordova-plugin-splashscreen/commit/33f353d2e9684e189f8b7d59c066253f2fe73f48

  was (Author: lmnbeyond):
Thanks to you all!

After I added the "onload" param in the  tag, and fetched the latest 
splashscreen plugin code, everything works!

@shazron has fixed this:commit 33f353d2e9684e189f8b7d59c066253f2fe73f48 

https://github.com/lmnbeyond/cordova-plugin-splashscreen/commit/33f353d2e9684e189f8b7d59c066253f2fe73f48
  
> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread lmnbeyond (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lmnbeyond closed CB-4374.
-


I have verified this!

> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread lmnbeyond (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lmnbeyond resolved CB-4374.
---

Resolution: Fixed

@shazron has fixed this:commit 33f353d2e9684e189f8b7d59c066253f2fe73f48

https://github.com/lmnbeyond/cordova-plugin-splashscreen/commit/33f353d2e9684e189f8b7d59c066253f2fe73f48

> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread lmnbeyond (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719254#comment-13719254
 ] 

lmnbeyond edited comment on CB-4374 at 7/25/13 5:42 AM:


Thanks to you all!

After I added the "onload" param in the  tag, and fetched the latest 
splashscreen plugin code, everything works!

@shazron has fixed this:commit 33f353d2e9684e189f8b7d59c066253f2fe73f48 

https://github.com/lmnbeyond/cordova-plugin-splashscreen/commit/33f353d2e9684e189f8b7d59c066253f2fe73f48

  was (Author: lmnbeyond):
Thanks to you all!

After I added the "onload" param in the  tag, and fetched the latest 
splashscreen plugin code, everything works!

https://github.com/lmnbeyond/cordova-plugin-splashscreen/commit/33f353d2e9684e189f8b7d59c066253f2fe73f48
  
> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread Alexander Fuchs (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719257#comment-13719257
 ] 

Alexander Fuchs commented on CB-4374:
-

Awesome, thanks a lot! :)

> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread lmnbeyond (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719254#comment-13719254
 ] 

lmnbeyond edited comment on CB-4374 at 7/25/13 5:38 AM:


Thanks to you all!

After I added the "onload" param in the  tag, and fetched the latest 
splashscreen plugin code, everything works!

https://github.com/lmnbeyond/cordova-plugin-splashscreen/commit/33f353d2e9684e189f8b7d59c066253f2fe73f48

  was (Author: lmnbeyond):
Thanks to you all!

After I added the "onload" param in the  tag, and fetched the latest 
splashscreen plugin code, everything works!
  
> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread lmnbeyond (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719254#comment-13719254
 ] 

lmnbeyond commented on CB-4374:
---

Thanks to you all!

After I added the "onload" param in the  tag, and fetched the latest 
splashscreen plugin code, everything works!

> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4388) Config.xml of the new project does not specify icons and splash screens

2013-07-24 Thread Jan Becicka (JIRA)
Jan Becicka created CB-4388:
---

 Summary: Config.xml of the new project does not specify icons and 
splash screens
 Key: CB-4388
 URL: https://issues.apache.org/jira/browse/CB-4388
 Project: Apache Cordova
  Issue Type: Bug
  Components: App Hello World, CLI
Affects Versions: 3.0.0
Reporter: Jan Becicka
Assignee: Michael Brooks


Steps to reproduce:
> cordova create pgtest com.example.hello "App"

Command above creates new cordova project with tons of icons and splash screens 
in res folder. But they are not referenced from config.xml, so they are not 
used.

https://build.phonegap.com/docs/config-xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4387) "cordova build" - bad handling of resources (icons, splash screens)

2013-07-24 Thread Jan Becicka (JIRA)
Jan Becicka created CB-4387:
---

 Summary: "cordova build" - bad handling of resources (icons, 
splash screens)
 Key: CB-4387
 URL: https://issues.apache.org/jira/browse/CB-4387
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.0.0
Reporter: Jan Becicka
Assignee: Filip Maj
Priority: Blocker


Steps to reproduce:
> cordova create pgtest com.example.hello "App"
> cd pgtest
> cordova platform add android
> cordova build android

Resulting app has almost 8MB. The problem is, that "www/res" folder, which 
contains icons and splashscreens is completely copied into assets/www. So the 
resulting app contains splash screens for all possible mobile platforms, which 
is completely useless. Res folder should not be copied at all, because right 
place for resources is res/drawable.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4385) Tooling scripts fail when there are spaces in the path name

2013-07-24 Thread Benn Mapes (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benn Mapes resolved CB-4385.


Resolution: Fixed

> Tooling scripts fail when there are spaces in the path name
> ---
>
> Key: CB-4385
> URL: https://issues.apache.org/jira/browse/CB-4385
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Reporter: Benn Mapes
>Assignee: Benn Mapes
>
> Batch scripts have errors when there is a space in the path to the project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4198) cordova platform add android fails due to unexpected error

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719212#comment-13719212
 ] 

ASF subversion and git services commented on CB-4198:
-

Commit 980c4699b0993b1718c2f0a1761f7d3cc49a0c9b in branch refs/heads/master 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=980c469 ]

[CB-4198] bin/create should handle spaces in activity better.


> cordova platform add android fails due to unexpected error
> --
>
> Key: CB-4198
> URL: https://issues.apache.org/jira/browse/CB-4198
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master, 2.9.0, 3.0.0
> Environment: Mac OSX 10.7.5
> cordova version 2.9.5
> android sdk tools 22.0.1
> android sdk platform-tools 17
> android sdk built-tools 17
> android 4.2.2 (API 17)
>Reporter: Glenn Snyder
>Assignee: Filip Maj
>  Labels: android, platform
> Fix For: 3.1.0
>
>
> Was following the cordova command line tutorial, as part of the PhoneGap 
> overview, found here:
> http://docs.phonegap.com/en/2.9.0/guide_cli_index.md.html#The%20Cordova%20Command-line%20Interface
> When I tried to execute the step to add the android platform, e.g.
> cordova platform add android
> I received the error,
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> I then ran the command in debug mode to get more details, e.g.
> cordova -d  platform add android
> and received the output,
> cordova library for "android" already exists. No need to download. Continuing.
> Checking if platform "android" passes minimum requirements...
> Checking Android requirements...
> Running "android list target" (output to follow)
> Available Android targets:
> --
> id: 1 or "android-17"
>  Name: Android 4.2.2
>  Type: Platform
>  API level: 17
>  Revision: 2
>  Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), 
> WVGA854, WXGA720, WXGA800, WXGA800-7in
>  ABIs : armeabi-v7a, mips, x86
> --
> id: 2 or "Google Inc.:Google APIs:17"
>  Name: Google APIs
>  Type: Add-On
>  Vendor: Google Inc.
>  Revision: 3
>  Description: Android + Google APIs
>  Based on Android 4.2.2 (API level 17)
>  Libraries:
>   * com.google.android.media.effects (effects.jar)
>   Collection of video effects
>   * com.android.future.usb.accessory (usb.jar)
>   API for USB Accessories
>   * com.google.android.maps (maps.jar)
>   API for Google Maps
>  Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, 
> WVGA800 (default), QVGA, WXGA800
>  ABIs : armeabi-v7a
> Running "android update project -p 
> "/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework" -t android-17" 
> (output to follow)...
> Updated project.properties
> Updated local.properties
> build.xml: Found version-tag: custom. File will not be updated.
> Updated file 
> /Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework/proguard-project.txt
> It seems that there are sub-projects. If you want to update them
> please use the --subprojects parameter.
> Running bin/create for platform "android" with command: 
> ""/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/bin/create"  
> "/Users/gsnyder/projects/HelloWorld/platforms/android" "com.example.hello" 
> "Hello World"" (output to follow)
> TARGET: 2; PROJECT_PATH: 
> /Users/gsnyder/projects/HelloWorld/platforms/android; PACKAGE: 
> com.example.hello; ACTIVITY: Hello World
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> Error: An error occured during creation of android sub-project. 
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> at /usr/local/lib/node_modules/cordova/src/platform.js:231:35
> at 
> /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
> at ChildProcess.exithandler (child_process.js:636:7)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:730:16)
> at Process.ChildProcess._handle.onexit (child_process.js:797:5)
> I modified the "create" script to show what the values were for TARGET, 
> PROJECT_PATH, PACKAGE, and ACTIVITY. I then began experimenting with running 
> the "android create project" command directly and found that the use of a 
> space in the ACTIVITY parameter was causi

[jira] [Commented] (CB-4198) cordova platform add android fails due to unexpected error

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719214#comment-13719214
 ] 

Filip Maj commented on CB-4198:
---

Still need to patch the windows create script for the same issue. Will do so 
tomorrow.

> cordova platform add android fails due to unexpected error
> --
>
> Key: CB-4198
> URL: https://issues.apache.org/jira/browse/CB-4198
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master, 2.9.0, 3.0.0
> Environment: Mac OSX 10.7.5
> cordova version 2.9.5
> android sdk tools 22.0.1
> android sdk platform-tools 17
> android sdk built-tools 17
> android 4.2.2 (API 17)
>Reporter: Glenn Snyder
>Assignee: Filip Maj
>  Labels: android, platform
> Fix For: 3.1.0
>
>
> Was following the cordova command line tutorial, as part of the PhoneGap 
> overview, found here:
> http://docs.phonegap.com/en/2.9.0/guide_cli_index.md.html#The%20Cordova%20Command-line%20Interface
> When I tried to execute the step to add the android platform, e.g.
> cordova platform add android
> I received the error,
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> I then ran the command in debug mode to get more details, e.g.
> cordova -d  platform add android
> and received the output,
> cordova library for "android" already exists. No need to download. Continuing.
> Checking if platform "android" passes minimum requirements...
> Checking Android requirements...
> Running "android list target" (output to follow)
> Available Android targets:
> --
> id: 1 or "android-17"
>  Name: Android 4.2.2
>  Type: Platform
>  API level: 17
>  Revision: 2
>  Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), 
> WVGA854, WXGA720, WXGA800, WXGA800-7in
>  ABIs : armeabi-v7a, mips, x86
> --
> id: 2 or "Google Inc.:Google APIs:17"
>  Name: Google APIs
>  Type: Add-On
>  Vendor: Google Inc.
>  Revision: 3
>  Description: Android + Google APIs
>  Based on Android 4.2.2 (API level 17)
>  Libraries:
>   * com.google.android.media.effects (effects.jar)
>   Collection of video effects
>   * com.android.future.usb.accessory (usb.jar)
>   API for USB Accessories
>   * com.google.android.maps (maps.jar)
>   API for Google Maps
>  Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, 
> WVGA800 (default), QVGA, WXGA800
>  ABIs : armeabi-v7a
> Running "android update project -p 
> "/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework" -t android-17" 
> (output to follow)...
> Updated project.properties
> Updated local.properties
> build.xml: Found version-tag: custom. File will not be updated.
> Updated file 
> /Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework/proguard-project.txt
> It seems that there are sub-projects. If you want to update them
> please use the --subprojects parameter.
> Running bin/create for platform "android" with command: 
> ""/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/bin/create"  
> "/Users/gsnyder/projects/HelloWorld/platforms/android" "com.example.hello" 
> "Hello World"" (output to follow)
> TARGET: 2; PROJECT_PATH: 
> /Users/gsnyder/projects/HelloWorld/platforms/android; PACKAGE: 
> com.example.hello; ACTIVITY: Hello World
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> Error: An error occured during creation of android sub-project. 
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> at /usr/local/lib/node_modules/cordova/src/platform.js:231:35
> at 
> /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
> at ChildProcess.exithandler (child_process.js:636:7)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:730:16)
> at Process.ChildProcess._handle.onexit (child_process.js:797:5)
> I modified the "create" script to show what the values were for TARGET, 
> PROJECT_PATH, PACKAGE, and ACTIVITY. I then began experimenting with running 
> the "android create project" command directly and found that the use of a 
> space in the ACTIVITY parameter was causing the command to fail. After 
> removing the space from the ACTIVITY parameter the command completed 
> successfully. Here's the command I used, e.g.
> android create project --target 2

[jira] [Commented] (CB-4198) cordova platform add android fails due to unexpected error

2013-07-24 Thread JIRA

[ 
https://issues.apache.org/jira/browse/CB-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719202#comment-13719202
 ] 

José Lecaros commented on CB-4198:
--

Thanks [~filmaj] for reopening this. It was wrongly closed and nobody seemed to 
care :)

> cordova platform add android fails due to unexpected error
> --
>
> Key: CB-4198
> URL: https://issues.apache.org/jira/browse/CB-4198
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master, 2.9.0, 3.0.0
> Environment: Mac OSX 10.7.5
> cordova version 2.9.5
> android sdk tools 22.0.1
> android sdk platform-tools 17
> android sdk built-tools 17
> android 4.2.2 (API 17)
>Reporter: Glenn Snyder
>Assignee: Filip Maj
>  Labels: android, platform
> Fix For: 3.1.0
>
>
> Was following the cordova command line tutorial, as part of the PhoneGap 
> overview, found here:
> http://docs.phonegap.com/en/2.9.0/guide_cli_index.md.html#The%20Cordova%20Command-line%20Interface
> When I tried to execute the step to add the android platform, e.g.
> cordova platform add android
> I received the error,
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> I then ran the command in debug mode to get more details, e.g.
> cordova -d  platform add android
> and received the output,
> cordova library for "android" already exists. No need to download. Continuing.
> Checking if platform "android" passes minimum requirements...
> Checking Android requirements...
> Running "android list target" (output to follow)
> Available Android targets:
> --
> id: 1 or "android-17"
>  Name: Android 4.2.2
>  Type: Platform
>  API level: 17
>  Revision: 2
>  Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), 
> WVGA854, WXGA720, WXGA800, WXGA800-7in
>  ABIs : armeabi-v7a, mips, x86
> --
> id: 2 or "Google Inc.:Google APIs:17"
>  Name: Google APIs
>  Type: Add-On
>  Vendor: Google Inc.
>  Revision: 3
>  Description: Android + Google APIs
>  Based on Android 4.2.2 (API level 17)
>  Libraries:
>   * com.google.android.media.effects (effects.jar)
>   Collection of video effects
>   * com.android.future.usb.accessory (usb.jar)
>   API for USB Accessories
>   * com.google.android.maps (maps.jar)
>   API for Google Maps
>  Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, 
> WVGA800 (default), QVGA, WXGA800
>  ABIs : armeabi-v7a
> Running "android update project -p 
> "/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework" -t android-17" 
> (output to follow)...
> Updated project.properties
> Updated local.properties
> build.xml: Found version-tag: custom. File will not be updated.
> Updated file 
> /Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework/proguard-project.txt
> It seems that there are sub-projects. If you want to update them
> please use the --subprojects parameter.
> Running bin/create for platform "android" with command: 
> ""/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/bin/create"  
> "/Users/gsnyder/projects/HelloWorld/platforms/android" "com.example.hello" 
> "Hello World"" (output to follow)
> TARGET: 2; PROJECT_PATH: 
> /Users/gsnyder/projects/HelloWorld/platforms/android; PACKAGE: 
> com.example.hello; ACTIVITY: Hello World
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> Error: An error occured during creation of android sub-project. 
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> at /usr/local/lib/node_modules/cordova/src/platform.js:231:35
> at 
> /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
> at ChildProcess.exithandler (child_process.js:636:7)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:730:16)
> at Process.ChildProcess._handle.onexit (child_process.js:797:5)
> I modified the "create" script to show what the values were for TARGET, 
> PROJECT_PATH, PACKAGE, and ACTIVITY. I then began experimenting with running 
> the "android create project" command directly and found that the use of a 
> space in the ACTIVITY parameter was causing the command to fail. After 
> removing the space from the ACTIVITY parameter the command completed 
> successfully. Here's the command I used, e.g.
> android create project --t

[jira] [Reopened] (CB-4198) cordova platform add android fails due to unexpected error

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj reopened CB-4198:
---

  Assignee: Filip Maj  (was: Joe Bowser)

This issue shouldn't be closed.

The create script should be smart enough to:

1. munge the provided string for Java class name purposes, but
2. keep the clean name as the application name "label"

> cordova platform add android fails due to unexpected error
> --
>
> Key: CB-4198
> URL: https://issues.apache.org/jira/browse/CB-4198
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.9.0
> Environment: Mac OSX 10.7.5
> cordova version 2.9.5
> android sdk tools 22.0.1
> android sdk platform-tools 17
> android sdk built-tools 17
> android 4.2.2 (API 17)
>Reporter: Glenn Snyder
>Assignee: Filip Maj
>Priority: Minor
>  Labels: android, platform
>
> Was following the cordova command line tutorial, as part of the PhoneGap 
> overview, found here:
> http://docs.phonegap.com/en/2.9.0/guide_cli_index.md.html#The%20Cordova%20Command-line%20Interface
> When I tried to execute the step to add the android platform, e.g.
> cordova platform add android
> I received the error,
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> I then ran the command in debug mode to get more details, e.g.
> cordova -d  platform add android
> and received the output,
> cordova library for "android" already exists. No need to download. Continuing.
> Checking if platform "android" passes minimum requirements...
> Checking Android requirements...
> Running "android list target" (output to follow)
> Available Android targets:
> --
> id: 1 or "android-17"
>  Name: Android 4.2.2
>  Type: Platform
>  API level: 17
>  Revision: 2
>  Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), 
> WVGA854, WXGA720, WXGA800, WXGA800-7in
>  ABIs : armeabi-v7a, mips, x86
> --
> id: 2 or "Google Inc.:Google APIs:17"
>  Name: Google APIs
>  Type: Add-On
>  Vendor: Google Inc.
>  Revision: 3
>  Description: Android + Google APIs
>  Based on Android 4.2.2 (API level 17)
>  Libraries:
>   * com.google.android.media.effects (effects.jar)
>   Collection of video effects
>   * com.android.future.usb.accessory (usb.jar)
>   API for USB Accessories
>   * com.google.android.maps (maps.jar)
>   API for Google Maps
>  Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, 
> WVGA800 (default), QVGA, WXGA800
>  ABIs : armeabi-v7a
> Running "android update project -p 
> "/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework" -t android-17" 
> (output to follow)...
> Updated project.properties
> Updated local.properties
> build.xml: Found version-tag: custom. File will not be updated.
> Updated file 
> /Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework/proguard-project.txt
> It seems that there are sub-projects. If you want to update them
> please use the --subprojects parameter.
> Running bin/create for platform "android" with command: 
> ""/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/bin/create"  
> "/Users/gsnyder/projects/HelloWorld/platforms/android" "com.example.hello" 
> "Hello World"" (output to follow)
> TARGET: 2; PROJECT_PATH: 
> /Users/gsnyder/projects/HelloWorld/platforms/android; PACKAGE: 
> com.example.hello; ACTIVITY: Hello World
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> Error: An error occured during creation of android sub-project. 
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> at /usr/local/lib/node_modules/cordova/src/platform.js:231:35
> at 
> /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
> at ChildProcess.exithandler (child_process.js:636:7)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:730:16)
> at Process.ChildProcess._handle.onexit (child_process.js:797:5)
> I modified the "create" script to show what the values were for TARGET, 
> PROJECT_PATH, PACKAGE, and ACTIVITY. I then began experimenting with running 
> the "android create project" command directly and found that the use of a 
> space in the ACTIVITY parameter was causing the command to fail. After 
> removing the space from the ACTIVITY parameter the command completed 

[jira] [Updated] (CB-4198) cordova platform add android fails due to unexpected error

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj updated CB-4198:
--

 Priority: Major  (was: Minor)
Affects Version/s: Master
   3.0.0
Fix Version/s: 3.1.0

> cordova platform add android fails due to unexpected error
> --
>
> Key: CB-4198
> URL: https://issues.apache.org/jira/browse/CB-4198
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master, 2.9.0, 3.0.0
> Environment: Mac OSX 10.7.5
> cordova version 2.9.5
> android sdk tools 22.0.1
> android sdk platform-tools 17
> android sdk built-tools 17
> android 4.2.2 (API 17)
>Reporter: Glenn Snyder
>Assignee: Filip Maj
>  Labels: android, platform
> Fix For: 3.1.0
>
>
> Was following the cordova command line tutorial, as part of the PhoneGap 
> overview, found here:
> http://docs.phonegap.com/en/2.9.0/guide_cli_index.md.html#The%20Cordova%20Command-line%20Interface
> When I tried to execute the step to add the android platform, e.g.
> cordova platform add android
> I received the error,
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> I then ran the command in debug mode to get more details, e.g.
> cordova -d  platform add android
> and received the output,
> cordova library for "android" already exists. No need to download. Continuing.
> Checking if platform "android" passes minimum requirements...
> Checking Android requirements...
> Running "android list target" (output to follow)
> Available Android targets:
> --
> id: 1 or "android-17"
>  Name: Android 4.2.2
>  Type: Platform
>  API level: 17
>  Revision: 2
>  Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), 
> WVGA854, WXGA720, WXGA800, WXGA800-7in
>  ABIs : armeabi-v7a, mips, x86
> --
> id: 2 or "Google Inc.:Google APIs:17"
>  Name: Google APIs
>  Type: Add-On
>  Vendor: Google Inc.
>  Revision: 3
>  Description: Android + Google APIs
>  Based on Android 4.2.2 (API level 17)
>  Libraries:
>   * com.google.android.media.effects (effects.jar)
>   Collection of video effects
>   * com.android.future.usb.accessory (usb.jar)
>   API for USB Accessories
>   * com.google.android.maps (maps.jar)
>   API for Google Maps
>  Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, 
> WVGA800 (default), QVGA, WXGA800
>  ABIs : armeabi-v7a
> Running "android update project -p 
> "/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework" -t android-17" 
> (output to follow)...
> Updated project.properties
> Updated local.properties
> build.xml: Found version-tag: custom. File will not be updated.
> Updated file 
> /Users/gsnyder/.cordova/lib/android/cordova/2.9.0/framework/proguard-project.txt
> It seems that there are sub-projects. If you want to update them
> please use the --subprojects parameter.
> Running bin/create for platform "android" with command: 
> ""/Users/gsnyder/.cordova/lib/android/cordova/2.9.0/bin/create"  
> "/Users/gsnyder/projects/HelloWorld/platforms/android" "com.example.hello" 
> "Hello World"" (output to follow)
> TARGET: 2; PROJECT_PATH: 
> /Users/gsnyder/projects/HelloWorld/platforms/android; PACKAGE: 
> com.example.hello; ACTIVITY: Hello World
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> Error: An error occured during creation of android sub-project. 
> An unexpected error occurred: "$ANDROID_BIN" create project --target 1 --path 
> "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited 
> with 1
> Deleting project...
> at /usr/local/lib/node_modules/cordova/src/platform.js:231:35
> at 
> /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
> at ChildProcess.exithandler (child_process.js:636:7)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:730:16)
> at Process.ChildProcess._handle.onexit (child_process.js:797:5)
> I modified the "create" script to show what the values were for TARGET, 
> PROJECT_PATH, PACKAGE, and ACTIVITY. I then began experimenting with running 
> the "android create project" command directly and found that the use of a 
> space in the ACTIVITY parameter was causing the command to fail. After 
> removing the space from the ACTIVITY parameter the command completed 
> successfully. Here's the command I used, e.g.
> android create project --target 2 --path 
> /Users/gsnyder/

[jira] [Commented] (CB-4376) Read config.xml after "before prepare" hooks have been executed

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719198#comment-13719198
 ] 

Filip Maj commented on CB-4376:
---

Haven't deployed 3.0.2 yet but it will be included when that does go out.

> Read config.xml after "before prepare" hooks have been executed
> ---
>
> Key: CB-4376
> URL: https://issues.apache.org/jira/browse/CB-4376
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
>Reporter: Rubén Norte
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 3.1.0
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> In order to allow developers to dynamically generate the "www" directory in 
> before prepare hooks (to generate optimized versions of it, for example), 
> config.xml should be read after they've been executed. Now the file it's read 
> before they execute and we have to copy just this file before running 
> "cordova prepare" to make it work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4376) Read config.xml after "before prepare" hooks have been executed

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719195#comment-13719195
 ] 

ASF subversion and git services commented on CB-4376:
-

Commit 0fa097c6675774c96bfb91011acfc43e296aaa32 in branch refs/heads/master 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=0fa097c ]

Added a spec for [CB-4376].


> Read config.xml after "before prepare" hooks have been executed
> ---
>
> Key: CB-4376
> URL: https://issues.apache.org/jira/browse/CB-4376
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
>Reporter: Rubén Norte
>Assignee: Filip Maj
>Priority: Minor
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> In order to allow developers to dynamically generate the "www" directory in 
> before prepare hooks (to generate optimized versions of it, for example), 
> config.xml should be read after they've been executed. Now the file it's read 
> before they execute and we have to copy just this file before running 
> "cordova prepare" to make it work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4376) Read config.xml after "before prepare" hooks have been executed

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4376.
---

   Resolution: Fixed
Fix Version/s: 3.1.0

I've merged it in and added you to the contributors list. Thank you :)

> Read config.xml after "before prepare" hooks have been executed
> ---
>
> Key: CB-4376
> URL: https://issues.apache.org/jira/browse/CB-4376
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
>Reporter: Rubén Norte
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 3.1.0
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> In order to allow developers to dynamically generate the "www" directory in 
> before prepare hooks (to generate optimized versions of it, for example), 
> config.xml should be read after they've been executed. Now the file it's read 
> before they execute and we have to copy just this file before running 
> "cordova prepare" to make it work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4376) Read config.xml after "before prepare" hooks have been executed

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719196#comment-13719196
 ] 

ASF subversion and git services commented on CB-4376:
-

Commit 1a588d0115a0a16db74eb1d601c1be497fa28df0 in branch refs/heads/master 
from [~rubennorte]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1a588d0 ]

[CB-4376] Read config.xml after "before prepare" hooks being executed.


> Read config.xml after "before prepare" hooks have been executed
> ---
>
> Key: CB-4376
> URL: https://issues.apache.org/jira/browse/CB-4376
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI
>Reporter: Rubén Norte
>Assignee: Filip Maj
>Priority: Minor
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> In order to allow developers to dynamically generate the "www" directory in 
> before prepare hooks (to generate optimized versions of it, for example), 
> config.xml should be read after they've been executed. Now the file it's read 
> before they execute and we have to copy just this file before running 
> "cordova prepare" to make it work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4386) iOS Platform Guide CLI example uses 'android'

2013-07-24 Thread Bruce Lefebvre (JIRA)
Bruce Lefebvre created CB-4386:
--

 Summary: iOS Platform Guide CLI example uses 'android'
 Key: CB-4386
 URL: https://issues.apache.org/jira/browse/CB-4386
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.0.0
Reporter: Bruce Lefebvre
Assignee: Michael Brooks
Priority: Trivial


At [0], ("Open a Project in the SDK" section):

$ cordova platform add android

Should be:

$ cordova platform add ios

[0] 
http://docs.phonegap.com/en/3.0.0/guide_platforms_ios_index.md.html#iOS%20Platform%20Guide_open_a_project_in_the_sdk



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4373) iOS .framework files need to be reference-counted

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj updated CB-4373:
--

Fix Version/s: 3.1.0
  Summary: iOS .framework files need to be reference-counted  (was: Add 
plugin splashscreen and remove plugin splashscreen, build failed on iOS 
platform)

I see. So this bug relies on implementing the idea we discussed in CB-4358.

I've updated the title to reflect that. I think this will require a generous 
refactor in plugman. 

> iOS .framework files need to be reference-counted
> -
>
> Key: CB-4373
> URL: https://issues.apache.org/jira/browse/CB-4373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugman
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
>Priority: Critical
> Fix For: 3.1.0
>
>
> Steps to reproduce it:
> $ cordova create "HelloCordova"
> $ cd HelloCordova/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
> $ cordova emulate
> $ cordova plugin rm 'org.apache.cordova.core.splashscreen'
> $ cordova emulate
> [Error: An error occurred while emulating/deploying the ios project 
> Undefined symbols for architecture i386:
>   "_CGRectZero", referenced from:
>   +[CDVUserAgentUtil originalUserAgent] in 
> libCordova.a(CDVUserAgentUtil.o)
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ** BUILD FAILED **
> The following build commands failed:
>   Ld build/HelloCordova.app/HelloCordova normal i386
> (1 failure)
> ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4385) Tooling scripts fail when there are spaces in the path name

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719128#comment-13719128
 ] 

ASF subversion and git services commented on CB-4385:
-

Commit a88d8ad069c0cfd96c73e3293da18228b7a3b003 in branch refs/heads/master 
from [~bennmapes]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=a88d8ad ]

[CB-4385] tooling fix for when path to project has spaces


> Tooling scripts fail when there are spaces in the path name
> ---
>
> Key: CB-4385
> URL: https://issues.apache.org/jira/browse/CB-4385
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Reporter: Benn Mapes
>Assignee: Benn Mapes
>
> Batch scripts have errors when there is a space in the path to the project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-4385) Tooling scripts fail when there are spaces in the path name

2013-07-24 Thread Benn Mapes (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benn Mapes reassigned CB-4385:
--

Assignee: Benn Mapes  (was: Jesse MacFadyen)

> Tooling scripts fail when there are spaces in the path name
> ---
>
> Key: CB-4385
> URL: https://issues.apache.org/jira/browse/CB-4385
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Reporter: Benn Mapes
>Assignee: Benn Mapes
>
> Batch scripts have errors when there is a space in the path to the project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4385) Tooling scripts fail when there are spaces in the path name

2013-07-24 Thread Benn Mapes (JIRA)
Benn Mapes created CB-4385:
--

 Summary: Tooling scripts fail when there are spaces in the path 
name
 Key: CB-4385
 URL: https://issues.apache.org/jira/browse/CB-4385
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Reporter: Benn Mapes
Assignee: Jesse MacFadyen


Batch scripts have errors when there is a space in the path to the project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (CB-4379) Android PluginManager not loading plugins from config.xml

2013-07-24 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser reopened CB-4379:



WTF? The docs weren't updated, re-opening.

> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Joe Bowser
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4379) Android PluginManager not loading plugins from config.xml

2013-07-24 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser updated CB-4379:
---

Priority: Critical  (was: Major)
Assignee: Mike Sierra  (was: Joe Bowser)

This needs to be updated, it's a pretty critical change.

> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Mike Sierra
>Priority: Critical
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4379) Android PluginManager not loading plugins from config.xml

2013-07-24 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser updated CB-4379:
---

Component/s: (was: Android)
 Docs

> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Mike Sierra
>Priority: Critical
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4379) Android PluginManager not loading plugins from config.xml

2013-07-24 Thread Maciej Jaros (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719077#comment-13719077
 ] 

Maciej Jaros commented on CB-4379:
--

Also I think a nice way of doing things is:
# Add support for new syntax
# Change documentation (add notes that old syntax is deprecated).
# Add release notes of when the deprecation will occur (a years later or so 
would be nice).
# Add last-call release notes in the last supporting version.
# Remove old syntax if you must.

There are too many depending projects to just move things around. This might 
sound harsh, but the only up-to-date documentation I know of doesn't even 
mention feature tag:
http://docs.phonegap.com/en/edge/guide_platforms_android_plugin.md.html#Android%20Plugins

> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Joe Bowser
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4379) Android PluginManager not loading plugins from config.xml

2013-07-24 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser resolved CB-4379.


Resolution: Not A Problem

We deprecated the  tag, the tags need to be updated for the plugin.  
Blog post here: http://www.infil00p.org/config-xml-changes-for-ios-and-android/

> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Joe Bowser
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4379) Android PluginManager not loading plugins from config.xml

2013-07-24 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719069#comment-13719069
 ] 

Joe Bowser commented on CB-4379:


I'm not 100% certain, but I believe iOS should be:
{code}

 

{code}

> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Joe Bowser
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4379) Android PluginManager not loading plugins from config.xml

2013-07-24 Thread Maciej Jaros (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719063#comment-13719063
 ] 

Maciej Jaros commented on CB-4379:
--

I'm using crodova 3.0 with plugman. It's plugman that adds the tag... but I 
guess this is beacause it is mentioned in plugin.xml. Can't you just read old 
entries at least for now?

This is the currently added BarcodeScanner tag:
{code:xml}

{code}

Is the below correct (expected) for the new, feature only syntax?
{code:xml}



{code}

What code should be added for iOS (assuming current code is as below)?
{code:xml}

{code}


> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Joe Bowser
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-4379) Android PluginManager not loading plugins from config.xml

2013-07-24 Thread Maciej Jaros (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719063#comment-13719063
 ] 

Maciej Jaros edited comment on CB-4379 at 7/25/13 12:05 AM:


I'm using cordova 3.0 with plugman. It's plugman that adds the tag... but I 
guess this is because it is mentioned in plugin.xml. Can't you just read old 
entries at least for now?

This is the currently added BarcodeScanner tag:
{code:xml}

{code}

Is the below correct (expected) for the new, feature only syntax?
{code:xml}



{code}

What code should be added for iOS (assuming current code is as below)?
{code:xml}

{code}


  was (Author: nux):
I'm using crodova 3.0 with plugman. It's plugman that adds the tag... but I 
guess this is beacause it is mentioned in plugin.xml. Can't you just read old 
entries at least for now?

This is the currently added BarcodeScanner tag:
{code:xml}

{code}

Is the below correct (expected) for the new, feature only syntax?
{code:xml}



{code}

What code should be added for iOS (assuming current code is as below)?
{code:xml}

{code}

  
> Android PluginManager not loading plugins from config.xml
> -
>
> Key: CB-4379
> URL: https://issues.apache.org/jira/browse/CB-4379
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Windows 7 x64 (but should not be relevant)
>Reporter: Maciej Jaros
>Assignee: Joe Bowser
>
> When I try to use BarcodeScanner I keep getting "Class not found".
> After debugging with cordova from master I noticed loadPlugins function 
> doesn't set service/class values for plugins.
> There seem to be a missing if (around line #130):
> {code:java}
> }
> else if (strNode.equals("plugin")) {
> service = xml.getAttributeValue(null, "name");
> pluginClass = xml.getAttributeValue(null, "value");
> }
> else if (insideFeature && strNode.equals("param")) {
> {code}
> Tested this on Android 4.2 (Nexus 7) and it seem to work fine. At the moment 
> the mentioned plugin is not working but will add a patch for that today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4373) Add plugin splashscreen and remove plugin splashscreen, build failed on iOS platform

2013-07-24 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719039#comment-13719039
 ] 

Shazron Abdullah commented on CB-4373:
--

See CB-4358 also, there are 4 frameworks that are required by CordovaLib (and 
once the reference counting code is in, should be special-cased or start at 1 
by default).

> Add plugin splashscreen and remove plugin splashscreen, build failed on iOS 
> platform
> 
>
> Key: CB-4373
> URL: https://issues.apache.org/jira/browse/CB-4373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugman
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
>Priority: Critical
>
> Steps to reproduce it:
> $ cordova create "HelloCordova"
> $ cd HelloCordova/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
> $ cordova emulate
> $ cordova plugin rm 'org.apache.cordova.core.splashscreen'
> $ cordova emulate
> [Error: An error occurred while emulating/deploying the ios project 
> Undefined symbols for architecture i386:
>   "_CGRectZero", referenced from:
>   +[CDVUserAgentUtil originalUserAgent] in 
> libCordova.a(CDVUserAgentUtil.o)
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ** BUILD FAILED **
> The following build commands failed:
>   Ld build/HelloCordova.app/HelloCordova normal i386
> (1 failure)
> ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4373) Add plugin splashscreen and remove plugin splashscreen, build failed on iOS platform

2013-07-24 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719037#comment-13719037
 ] 

Shazron Abdullah commented on CB-4373:
--

Removing the splashscreen plugin probably removed CoreGraphics.framework, which 
CordovaLib depends on.

> Add plugin splashscreen and remove plugin splashscreen, build failed on iOS 
> platform
> 
>
> Key: CB-4373
> URL: https://issues.apache.org/jira/browse/CB-4373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugman
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
>Priority: Critical
>
> Steps to reproduce it:
> $ cordova create "HelloCordova"
> $ cd HelloCordova/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
> $ cordova emulate
> $ cordova plugin rm 'org.apache.cordova.core.splashscreen'
> $ cordova emulate
> [Error: An error occurred while emulating/deploying the ios project 
> Undefined symbols for architecture i386:
>   "_CGRectZero", referenced from:
>   +[CDVUserAgentUtil originalUserAgent] in 
> libCordova.a(CDVUserAgentUtil.o)
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ** BUILD FAILED **
> The following build commands failed:
>   Ld build/HelloCordova.app/HelloCordova normal i386
> (1 failure)
> ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4356) Missing tags in parse process of config.xml

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj updated CB-4356:
--

Priority: Minor  (was: Major)

Dropping priority. Will take a look shortly.

> Missing tags in parse process of config.xml
> ---
>
> Key: CB-4356
> URL: https://issues.apache.org/jira/browse/CB-4356
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
> Environment: Mac OS
>Reporter: Jonathan Naguin
>Assignee: Filip Maj
>Priority: Minor
>  Labels: patch
>
> Tags as *content*, *author*, *name* or *description* are being ignored in the 
> process of build. As a result, the specific *config.xml* for a platform use 
> default values for this tags.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4357) TypeError when uninstall / install of a plugin

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719019#comment-13719019
 ] 

Filip Maj commented on CB-4357:
---

It looks like the xcode library is assuming certain values to be arrays but are 
instead strings (sometimes).

> TypeError when uninstall / install of a plugin
> --
>
> Key: CB-4357
> URL: https://issues.apache.org/jira/browse/CB-4357
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Plugman
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Filip Maj
>
> At uninstall:
> {code}
> Calling plugman.uninstall on plugin "com.testflightapp.plugin" for platform 
> "ios"
> Uninstalling com.testflightapp.plugin...
> Beginning processing of action stack for ios project...
> Parsing iOS project files...
> Error during processing of action! Attempting to revert...
> TypeError: Uh oh!
> Object "$(inherited)" has no method 'filter'
> at pbxProject.removeFromLibrarySearchPaths 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/xcode/lib/pbxProject.js:460:55)
> at module.exports.source-file.uninstall 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/platforms/ios.js:69:31)
> at Object.ActionStack.process 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/util/action-stack.js:49:25)
> at handleUninstall 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/uninstall.js:164:13)
> at runUninstall 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/uninstall.js:120:9)
> at Function.module.exports.uninstallPlatform 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/uninstall.js:42:5)
> at /usr/local/lib/node_modules/cordova/src/plugin.js:148:51
> at Array.forEach (native)
> at /usr/local/lib/node_modules/cordova/src/plugin.js:144:42
> at Array.forEach (native)
> {code}
> At install:
> {code}
> Calling plugman.install on plugin 
> "/Users/shazron/Documents/Git/Klippings/klippings/plugins/com.testflightapp.plugin"
>  for platform "ios"
> Starting installation of "com.testflightapp.plugin"...
> Installing plugin com.testflightapp.plugin...
> Beginning processing of action stack for ios project...
> Parsing iOS project files...
> Error during processing of action! Attempting to revert...
> TypeError: Uh oh!
> Object "$(inherited)" has no method 'push'
> at pbxProject.addToLibrarySearchPaths 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/xcode/lib/pbxProject.js:487:47)
> at module.exports.source-file.install 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/platforms/ios.js:53:31)
> at Object.ActionStack.process 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/util/action-stack.js:49:25)
> at handleInstall 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:283:13)
> at runInstall 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:235:9)
> at possiblyFetch 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:63:9)
> at Object.installPlugin [as install] 
> (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:44:5)
> at /usr/local/lib/node_modules/cordova/src/plugin.js:101:45
> at Array.forEach (native)
> at /usr/local/lib/node_modules/cordova/src/plugin.js:97:46
> {code}
> The result is improper uninstallation/installation leaving plugin files still 
> referenced in the pbxproj and on disk. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4327) Wrong blackberry label for cli usage in docs

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4327.
---

Resolution: Fixed

Fixed!

> Wrong blackberry label for cli usage in docs
> 
>
> Key: CB-4327
> URL: https://issues.apache.org/jira/browse/CB-4327
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 3.0.0
>Reporter: Filip Maj
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> The documentation mentions "blackberry" as the platform but it should be 
> "blackberry10"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-4373) Add plugin splashscreen and remove plugin splashscreen, build failed on iOS platform

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj reassigned CB-4373:
-

Assignee: Shazron Abdullah  (was: Filip Maj)

I can confirm this error exists.

[~shazron] can you take a look? What do you think this error message is related?

> Add plugin splashscreen and remove plugin splashscreen, build failed on iOS 
> platform
> 
>
> Key: CB-4373
> URL: https://issues.apache.org/jira/browse/CB-4373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
>Priority: Blocker
>
> Steps to reproduce it:
> $ cordova create "HelloCordova"
> $ cd HelloCordova/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
> $ cordova emulate
> $ cordova plugin rm 'org.apache.cordova.core.splashscreen'
> $ cordova emulate
> [Error: An error occurred while emulating/deploying the ios project 
> Undefined symbols for architecture i386:
>   "_CGRectZero", referenced from:
>   +[CDVUserAgentUtil originalUserAgent] in 
> libCordova.a(CDVUserAgentUtil.o)
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ** BUILD FAILED **
> The following build commands failed:
>   Ld build/HelloCordova.app/HelloCordova normal i386
> (1 failure)
> ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4384) API Docs all describe use of element

2013-07-24 Thread Lorin Beer (JIRA)
Lorin Beer created CB-4384:
--

 Summary: API Docs all describe use of  element 
 Key: CB-4384
 URL: https://issues.apache.org/jira/browse/CB-4384
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 3.0.0
Reporter: Lorin Beer
Assignee: Michael Brooks


The API documentation describes use of the deprecated  element in 
config.xml. This has been deprecated since 2.5.0

Documentation should be updated to describe the  element.

Affected api docs:
Accelerometer
Camera
Capture
Compass
Connection
Contacts
Device
Events
File
Geolocation
Globalization
InAppBrowser
Media
Notification
Splashscreen
Storage

--crossoff completed items--

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4373) Add plugin splashscreen and remove plugin splashscreen, build failed on iOS platform

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj updated CB-4373:
--

Component/s: (was: CLI)
 Plugman
 iOS
   Priority: Critical  (was: Blocker)

> Add plugin splashscreen and remove plugin splashscreen, build failed on iOS 
> platform
> 
>
> Key: CB-4373
> URL: https://issues.apache.org/jira/browse/CB-4373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugman
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
>Priority: Critical
>
> Steps to reproduce it:
> $ cordova create "HelloCordova"
> $ cd HelloCordova/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
> $ cordova emulate
> $ cordova plugin rm 'org.apache.cordova.core.splashscreen'
> $ cordova emulate
> [Error: An error occurred while emulating/deploying the ios project 
> Undefined symbols for architecture i386:
>   "_CGRectZero", referenced from:
>   +[CDVUserAgentUtil originalUserAgent] in 
> libCordova.a(CDVUserAgentUtil.o)
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ** BUILD FAILED **
> The following build commands failed:
>   Ld build/HelloCordova.app/HelloCordova normal i386
> (1 failure)
> ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4322) CLI still not recognizing when sample www project is not available.

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718993#comment-13718993
 ] 

ASF subversion and git services commented on CB-4322:
-

Commit 1148e6f73b0f9fba8ef4706fae876113dc9a85a9 in branch 
refs/heads/plugman-registry from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1148e6f ]

[CB-4322] Use npms proxy configuration (if set) in the lazy load module. Added 
proxy verbiage to README. Bumped dependency on plugman to 0.9.11. Bumped 
version to 3.0.1.


> CLI still not recognizing when sample www project is not available.
> ---
>
> Key: CB-4322
> URL: https://issues.apache.org/jira/browse/CB-4322
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: John M. Wargo
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Still having problems with the CLI not recognizing that it doesn't have a 
> HelloWorld project to use.
> C:\Users\i833153\dev>cordova create test
> [TypeError: Cannot read property 'length' of undefined]
> C:\Users\i833153\dev>cordova -d create test
> Creating a new cordova project with name "HelloCordova" and id 
> "io.cordova.hello
> cordova" at location "C:\Users\i833153\dev\test"
> Using stock cordova hello-world application.
> cordova library for "www" already exists. No need to download. Continuing.
> Copying stock Cordova www assets into "C:\Users\i833153\dev\test\www"
> Error: downloaded www assets in 
> C:\Users\i833153\.cordova\lib\www\cordova\3.0.0\
> www does not contain index.html, or www subdir with index.html
> at finalize 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\c
> reate.js:114:27)
> at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\create.js:1
> 54:17
> at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.j
> s:47:31
> at Object.module.exports.custom 
> (C:\Users\i833153\AppData\Roaming\npm\node_m
> odules\cordova\src\lazy_load.js:57:34)
> at Object.lazy_load [as cordova] 
> (C:\Users\i833153\AppData\Roaming\npm\node_
> modules\cordova\src\lazy_load.js:42:24)
> at Object.create 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\
> src\create.js:148:19)
> at Object. 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cor
> dova\bin\cordova:42:22)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4286) CLI Known Issues should be tracked somewhere

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718994#comment-13718994
 ] 

ASF subversion and git services commented on CB-4286:
-

Commit 17f6b521d6853792fa2813bc7851128472b9c4a0 in branch 
refs/heads/plugman-registry from [~ldeluca]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=17f6b52 ]

[CB-4286] rearranged


> CLI Known Issues should be tracked somewhere
> 
>
> Key: CB-4286
> URL: https://issues.apache.org/jira/browse/CB-4286
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, Docs
>Reporter: Lisa Seacat DeLuca
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>  Labels: cli, issues, known
> Fix For: 3.0.0
>
>
> Using this bug we can deliver change requests that keep track of known issues 
> when it comes to CLI hiccups. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4372) Plugman fails when fetching local plugins with space in path

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4372.
---

   Resolution: Fixed
Fix Version/s: 3.1.0

Thanks for fixing. Merged into master and pushed as 0.9.11 to npm

> Plugman fails when fetching local plugins with space in path
> 
>
> Key: CB-4372
> URL: https://issues.apache.org/jira/browse/CB-4372
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Reporter: James Keshavarzi
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> When fetching a local plugin that has a space in it, an error is shown such 
> as "Error: ENOENT, no such file or directory 
> 'c:\cordova%20plugin%20device\plugin.xml"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4322) CLI still not recognizing when sample www project is not available.

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4322.
---

   Resolution: Fixed
Fix Version/s: 3.1.0

THis is now resolved and pushed to npm as 3.0.1. Uses npm's proxy configs in 
lazy-load module.

> CLI still not recognizing when sample www project is not available.
> ---
>
> Key: CB-4322
> URL: https://issues.apache.org/jira/browse/CB-4322
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: John M. Wargo
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Still having problems with the CLI not recognizing that it doesn't have a 
> HelloWorld project to use.
> C:\Users\i833153\dev>cordova create test
> [TypeError: Cannot read property 'length' of undefined]
> C:\Users\i833153\dev>cordova -d create test
> Creating a new cordova project with name "HelloCordova" and id 
> "io.cordova.hello
> cordova" at location "C:\Users\i833153\dev\test"
> Using stock cordova hello-world application.
> cordova library for "www" already exists. No need to download. Continuing.
> Copying stock Cordova www assets into "C:\Users\i833153\dev\test\www"
> Error: downloaded www assets in 
> C:\Users\i833153\.cordova\lib\www\cordova\3.0.0\
> www does not contain index.html, or www subdir with index.html
> at finalize 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\c
> reate.js:114:27)
> at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\create.js:1
> 54:17
> at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.j
> s:47:31
> at Object.module.exports.custom 
> (C:\Users\i833153\AppData\Roaming\npm\node_m
> odules\cordova\src\lazy_load.js:57:34)
> at Object.lazy_load [as cordova] 
> (C:\Users\i833153\AppData\Roaming\npm\node_
> modules\cordova\src\lazy_load.js:42:24)
> at Object.create 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\
> src\create.js:148:19)
> at Object. 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cor
> dova\bin\cordova:42:22)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4322) CLI still not recognizing when sample www project is not available.

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718974#comment-13718974
 ] 

ASF subversion and git services commented on CB-4322:
-

Commit 1148e6f73b0f9fba8ef4706fae876113dc9a85a9 in branch refs/heads/master 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1148e6f ]

[CB-4322] Use npms proxy configuration (if set) in the lazy load module. Added 
proxy verbiage to README. Bumped dependency on plugman to 0.9.11. Bumped 
version to 3.0.1.


> CLI still not recognizing when sample www project is not available.
> ---
>
> Key: CB-4322
> URL: https://issues.apache.org/jira/browse/CB-4322
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: John M. Wargo
>Assignee: Filip Maj
>
> Still having problems with the CLI not recognizing that it doesn't have a 
> HelloWorld project to use.
> C:\Users\i833153\dev>cordova create test
> [TypeError: Cannot read property 'length' of undefined]
> C:\Users\i833153\dev>cordova -d create test
> Creating a new cordova project with name "HelloCordova" and id 
> "io.cordova.hello
> cordova" at location "C:\Users\i833153\dev\test"
> Using stock cordova hello-world application.
> cordova library for "www" already exists. No need to download. Continuing.
> Copying stock Cordova www assets into "C:\Users\i833153\dev\test\www"
> Error: downloaded www assets in 
> C:\Users\i833153\.cordova\lib\www\cordova\3.0.0\
> www does not contain index.html, or www subdir with index.html
> at finalize 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\c
> reate.js:114:27)
> at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\create.js:1
> 54:17
> at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.j
> s:47:31
> at Object.module.exports.custom 
> (C:\Users\i833153\AppData\Roaming\npm\node_m
> odules\cordova\src\lazy_load.js:57:34)
> at Object.lazy_load [as cordova] 
> (C:\Users\i833153\AppData\Roaming\npm\node_
> modules\cordova\src\lazy_load.js:42:24)
> at Object.create 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\
> src\create.js:148:19)
> at Object. 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cor
> dova\bin\cordova:42:22)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4355.
--

Resolution: Fixed

> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718966#comment-13718966
 ] 

ASF subversion and git services commented on CB-4355:
-

Commit 066753fa945dcbc546ef5a12321e5472583b9b4b in branch refs/heads/master 
from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=066753f ]

[CB-4355] Localstorage plugin handles options incorrectly (the settings key is 
specified with upper case chars)


> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718961#comment-13718961
 ] 

ASF subversion and git services commented on CB-4355:
-

Commit 33f353d2e9684e189f8b7d59c066253f2fe73f48 in branch refs/heads/master 
from [~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=33f353d
 ]

[CB-4355] Splashscreen plugin handles options incorrectly (the settings key is 
specified with upper case chars)


> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4372) Plugman fails when fetching local plugins with space in path

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718949#comment-13718949
 ] 

ASF subversion and git services commented on CB-4372:
-

Commit 2a8b9add0f7fb2d98a172cba404203772e65d951 in branch 
refs/heads/plugman-registry from [~jkeshavarzi]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=2a8b9ad ]

[CB-4372] Fixed "Plugman fails when fetching local plugins with space in path"


> Plugman fails when fetching local plugins with space in path
> 
>
> Key: CB-4372
> URL: https://issues.apache.org/jira/browse/CB-4372
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Reporter: James Keshavarzi
>Assignee: Filip Maj
>
> When fetching a local plugin that has a space in it, an error is shown such 
> as "Error: ENOENT, no such file or directory 
> 'c:\cordova%20plugin%20device\plugin.xml"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4375) plugman fails to install plugins on windows unless you use gitbash

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718948#comment-13718948
 ] 

ASF subversion and git services commented on CB-4375:
-

Commit 4cf02436ade4858cf98926fb2a65d56a69338d9f in branch 
refs/heads/plugman-registry from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=4cf0243 ]

Updated readme with a requirements section. Resolved [CB-4375]: error msgs get 
properly bubbled up if git is missing. Version bump to 0.9.11.


> plugman fails to install plugins on windows unless you use gitbash
> --
>
> Key: CB-4375
> URL: https://issues.apache.org/jira/browse/CB-4375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
>Reporter: Brian LeRoux
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Reference: https://twitter.com/leeDav84/status/359994749882613760

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3816) Add CLI Guide

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718917#comment-13718917
 ] 

ASF subversion and git services commented on CB-3816:
-

Commit a61dbbb0d4639a7b8fc23421160f2d70426b8019 in branch refs/heads/master 
from [~sierra]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=a61dbbb ]

[CB-3816] stupid little edit


> Add CLI Guide
> -
>
> Key: CB-3816
> URL: https://issues.apache.org/jira/browse/CB-3816
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Mike Sierra
>Assignee: Mike Sierra
>
> Reader wants to be able to use CLI for as much of the development cycle as 
> possible, or bootstrap a project to hand off to SDK(s), or some combo. 
> Clarify: which platforms are supported & under which OS you can run each. 
> Tutorial should generate default HelloCordova app, adds platforms, view in 
> emulator(s), then view on device(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3816) Add CLI Guide

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718918#comment-13718918
 ] 

ASF subversion and git services commented on CB-3816:
-

Commit e1f4b801b11fac7d691da02ae4d8d0358ac95f61 in branch refs/heads/master 
from [~sierra]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=e1f4b80 ]

[CB-3816] doc CLI's 'merges' feature


> Add CLI Guide
> -
>
> Key: CB-3816
> URL: https://issues.apache.org/jira/browse/CB-3816
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Mike Sierra
>Assignee: Mike Sierra
>
> Reader wants to be able to use CLI for as much of the development cycle as 
> possible, or bootstrap a project to hand off to SDK(s), or some combo. 
> Clarify: which platforms are supported & under which OS you can run each. 
> Tutorial should generate default HelloCordova app, adds platforms, view in 
> emulator(s), then view on device(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3816) Add CLI Guide

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718914#comment-13718914
 ] 

ASF subversion and git services commented on CB-3816:
-

Commit 2a5b0f08965062b619d01dc74660a622f661 in branch refs/heads/master 
from [~sierra]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=2a5b0f0 ]

[CB-3816] no space in 'Hello World' until other bug gets fixed


> Add CLI Guide
> -
>
> Key: CB-3816
> URL: https://issues.apache.org/jira/browse/CB-3816
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Mike Sierra
>Assignee: Mike Sierra
>
> Reader wants to be able to use CLI for as much of the development cycle as 
> possible, or bootstrap a project to hand off to SDK(s), or some combo. 
> Clarify: which platforms are supported & under which OS you can run each. 
> Tutorial should generate default HelloCordova app, adds platforms, view in 
> emulator(s), then view on device(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3816) Add CLI Guide

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718916#comment-13718916
 ] 

ASF subversion and git services commented on CB-3816:
-

Commit 636109a43ecabed101490b60753ee5e0249f5dd8 in branch refs/heads/master 
from [~sierra]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=636109a ]

[CB-3816] clarify 3.0's different upgrade approach


> Add CLI Guide
> -
>
> Key: CB-3816
> URL: https://issues.apache.org/jira/browse/CB-3816
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Mike Sierra
>Assignee: Mike Sierra
>
> Reader wants to be able to use CLI for as much of the development cycle as 
> possible, or bootstrap a project to hand off to SDK(s), or some combo. 
> Clarify: which platforms are supported & under which OS you can run each. 
> Tutorial should generate default HelloCordova app, adds platforms, view in 
> emulator(s), then view on device(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3816) Add CLI Guide

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718915#comment-13718915
 ] 

ASF subversion and git services commented on CB-3816:
-

Commit db19cf23dfea4b5f400fc7edbfe74cfbc8f1dfa6 in branch refs/heads/master 
from [~sierra]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=db19cf2 ]

[CB-3816] corrected 'merges' content; mirrors src tree, doesn't map files in 
flat dir


> Add CLI Guide
> -
>
> Key: CB-3816
> URL: https://issues.apache.org/jira/browse/CB-3816
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Mike Sierra
>Assignee: Mike Sierra
>
> Reader wants to be able to use CLI for as much of the development cycle as 
> possible, or bootstrap a project to hand off to SDK(s), or some combo. 
> Clarify: which platforms are supported & under which OS you can run each. 
> Tutorial should generate default HelloCordova app, adds platforms, view in 
> emulator(s), then view on device(s).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4375) plugman fails to install plugins on windows unless you use gitbash

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718911#comment-13718911
 ] 

Filip Maj commented on CB-4375:
---

Oh also added a requirements section to the top of the README laying out that 
if you want to pull plugins from remote git URLs you need git on your system 
PATH.

> plugman fails to install plugins on windows unless you use gitbash
> --
>
> Key: CB-4375
> URL: https://issues.apache.org/jira/browse/CB-4375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
>Reporter: Brian LeRoux
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Reference: https://twitter.com/leeDav84/status/359994749882613760

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4375) plugman fails to install plugins on windows unless you use gitbash

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4375.
---

Resolution: Fixed

I've fixed this issue and pushed it up to npm as 0.9.11. Now the error (missing 
{{git}} on system PATH) is properly bubbled up to the CLI.

> plugman fails to install plugins on windows unless you use gitbash
> --
>
> Key: CB-4375
> URL: https://issues.apache.org/jira/browse/CB-4375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
>Reporter: Brian LeRoux
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Reference: https://twitter.com/leeDav84/status/359994749882613760

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4375) plugman fails to install plugins on windows unless you use gitbash

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718906#comment-13718906
 ] 

ASF subversion and git services commented on CB-4375:
-

Commit 4cf02436ade4858cf98926fb2a65d56a69338d9f in branch refs/heads/master 
from Fil Maj
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=4cf0243 ]

Updated readme with a requirements section. Resolved [CB-4375]: error msgs get 
properly bubbled up if git is missing. Version bump to 0.9.11.


> plugman fails to install plugins on windows unless you use gitbash
> --
>
> Key: CB-4375
> URL: https://issues.apache.org/jira/browse/CB-4375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
>Reporter: Brian LeRoux
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Reference: https://twitter.com/leeDav84/status/359994749882613760

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3747) InAppBrowser issues - sound still playing and fullscreen mode

2013-07-24 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-3747:
-

Component/s: Android

> InAppBrowser issues - sound still playing and fullscreen mode
> -
>
> Key: CB-3747
> URL: https://issues.apache.org/jira/browse/CB-3747
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin InAppBrowser
>Affects Versions: 2.7.0
> Environment: PhoneGap Build
>Reporter: yann
>  Labels: Android
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Hi,
> I found 2 issues with InAppBrowser plugin :
> - video is still playing when InAppBrowser is closed by backbutton (it's OK 
> if you close InAppBrowser by the "done" button)
> - video playing into InAppBrowser can't be played in fullscreen mode => 
> nothing happens (the sound is still playing, but video is freezing)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4375) plugman fails to install plugins on windows unless you use gitbash

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718891#comment-13718891
 ] 

Filip Maj commented on CB-4375:
---

Looks like what happens is the {{fetch}} module attempts to fetch the specified 
git repo, fails when {{git}} is not on your PATH (which is what is happening to 
me and why it works in gitbash but not in standard cmd.exe), returns the error 
to the {{install}} module, but the error handling is incorrect and fails.

I will patch it + add a test for it shortly and push up a new version of 
plugman + cordova-cli.

> plugman fails to install plugins on windows unless you use gitbash
> --
>
> Key: CB-4375
> URL: https://issues.apache.org/jira/browse/CB-4375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
>Reporter: Brian LeRoux
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Reference: https://twitter.com/leeDav84/status/359994749882613760

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4375) plugman fails to install plugins on windows unless you use gitbash

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718886#comment-13718886
 ] 

Filip Maj commented on CB-4375:
---

By running plugman {{--debug}} flag you can see more details on where it fails. 
I can confirm that the above command fails, seems to happen on line 56 of 
install.js.

Continuing to investigate.

> plugman fails to install plugins on windows unless you use gitbash
> --
>
> Key: CB-4375
> URL: https://issues.apache.org/jira/browse/CB-4375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
>Reporter: Brian LeRoux
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Reference: https://twitter.com/leeDav84/status/359994749882613760

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4383) plugman integration specs do not pass on Windows

2013-07-24 Thread Filip Maj (JIRA)
Filip Maj created CB-4383:
-

 Summary: plugman integration specs do not pass on Windows
 Key: CB-4383
 URL: https://issues.apache.org/jira/browse/CB-4383
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.0.0
Reporter: Filip Maj
Assignee: Jeffrey Heifetz


The expectations seem to be totally out of whack.

{code}
Expected { } to equal { com.blackerry.utils : { PACKAGE_NAME } ... }
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718857#comment-13718857
 ] 

Shazron Abdullah edited comment on CB-4355 at 7/24/13 9:36 PM:
---

I'm tempted to add another new selector in the CDVCommandDelegate for 
"settingForKey" but since we broke out all the plugins into their own repos, 
versioning might be tricky and break usage.

Basically if I add this selector in 3.1, and CDVSplashScreen uses it, someone 
on 3.0 grabbing the code will not be able to compile it. The  tag on 
plugin.xml should be able to support this case I think, not sure. 

  was (Author: shazron):
I'm tempted to add another new selector in the CDVCommandDelegate for 
"settingForKey" but since we broke out all the plugins into their own repos, 
versioning might be tricky and break usage.
  
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718857#comment-13718857
 ] 

Shazron Abdullah commented on CB-4355:
--

I'm tempted to add another new selector in the CDVCommandDelegate for 
"settingForKey" but since we broke out all the plugins into their own repos, 
versioning might be tricky and break usage.

> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718847#comment-13718847
 ] 

Shazron Abdullah commented on CB-4355:
--

Affected lines for CDVSplashscreen:
{code}
./cordova-osx/CordovaFramework/CordovaFramework/Classes/CDVViewController.m:
BOOL enableWebGL = [[self.settings objectForKey:@"EnableWebGL"] boolValue];
./cordova-plugin-splashscreen/src/ios/CDVSplashScreen.m:id 
autoHideSplashScreenValue = [self.commandDelegate.settings 
objectForKey:@"AutoHideSplashScreen"];
./cordova-plugin-splashscreen/src/ios/CDVSplashScreen.m:NSString* 
topActivityIndicator = [self.commandDelegate.settings 
objectForKey:@"TopActivityIndicator"];
./cordova-plugin-splashscreen/src/ios/CDVSplashScreen.m:id 
showSplashScreenSpinnerValue = [self.commandDelegate.settings 
objectForKey:@"ShowSplashScreenSpinner"];
./cordova-plugin-splashscreen/src/ios/CDVSplashScreen.m:id 
fadeSplashScreenValue = [self.commandDelegate.settings 
objectForKey:@"FadeSplashScreen"];
./cordova-plugin-splashscreen/src/ios/CDVSplashScreen.m:id 
fadeSplashScreenDuration = [self.commandDelegate.settings 
objectForKey:@"FadeSplashScreenDuration"];
{code}

> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718843#comment-13718843
 ] 

Shazron Abdullah commented on CB-4355:
--

If the selector settingForKey is used, it is fine (it lowercases the key for 
comparison). 

Other code is affected in CDVLocalStorage :
{code}
./cordova-ios/CordovaLib/Classes/CDVLocalStorage.m:BOOL cloudBackup = 
[@"cloud" isEqualToString : self.commandDelegate.settings[@"BackupWebStorage"]];
{code}


> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718837#comment-13718837
 ] 

Shazron Abdullah commented on CB-4355:
--

Ouch, you are correct:
https://github.com/apache/cordova-ios/blob/6ded3e8db441d9ebb5137d889b4f2849fc5b2e5d/CordovaLib/Classes/CDVConfigParser.m#L55

> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4355) Splashscreen plugin handles options incorrectly (the settings key is specified with upper case chars)

2013-07-24 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-4355:
-

Fix Version/s: 3.1.0

> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> -
>
> Key: CB-4355
> URL: https://issues.apache.org/jira/browse/CB-4355
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 3.0.0
>Reporter: Stephan Wezel
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> Splashscreen plugin handles options incorrectly (the settings key is 
> specified with upper case chars)
> The config parsers save the options/preferences with a lowercase string of 
> the option name as the key. But the Plugin tries to retreive the option with 
> update cases (e.g. with "AutoHideSplashScreen" instead of 
> autohidesplashscreen)
> Maybe this affects also other plugins as well.
> This bug was caused due this changeset: 
> https://github.com/apache/cordova-ios/commit/a57f467bfdb42a4c17b22f81f744ac445ef0695a

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-4374:
-

Fix Version/s: 3.1.0

> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4374) Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml no longer work on iOS platform

2013-07-24 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718818#comment-13718818
 ] 

Shazron Abdullah commented on CB-4374:
--

It might be that the Splashscreen plugin is not auto-started anymore, a plugin 
to auto-load needs to add the "onload" param in the  tag.

Try adding this in your config.xml for the Splashscreen plugin:
{code}



{code}


> Settings "ShowSplashScreenSpinner" and "AutoHideSplashScreen" in config.xml 
> no longer work on iOS platform
> --
>
> Key: CB-4374
> URL: https://issues.apache.org/jira/browse/CB-4374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Shazron Abdullah
>
> 1. Using CLI I created a project and added splashscreen plugin
> 2. Modify the value of "AutoHideSplashScreen" from "true" to "false"
> Result: SplashScreen still auto hide
> I think this bug maybe related to change 
> https://github.com/apache/cordova-ios/commit/c24b6e3ac8f4240f75921142fd9d4f6b6d1a50d7#CordovaLib/Classes/CDVViewController.m
> // TODO: Remove this explicit instantiation once we move to cordova-CLI.
> if (useSplashScreen) {
> [self getCommandInstance:@"splashscreen"];
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4372) Plugman fails when fetching local plugins with space in path

2013-07-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718813#comment-13718813
 ] 

ASF subversion and git services commented on CB-4372:
-

Commit 2a8b9add0f7fb2d98a172cba404203772e65d951 in branch refs/heads/master 
from [~jkeshavarzi]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=2a8b9ad ]

[CB-4372] Fixed "Plugman fails when fetching local plugins with space in path"


> Plugman fails when fetching local plugins with space in path
> 
>
> Key: CB-4372
> URL: https://issues.apache.org/jira/browse/CB-4372
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Reporter: James Keshavarzi
>Assignee: Filip Maj
>
> When fetching a local plugin that has a space in it, an error is shown such 
> as "Error: ENOENT, no such file or directory 
> 'c:\cordova%20plugin%20device\plugin.xml"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4358) Trim amount of frameworks (18) in default template to minimum needed (4)

2013-07-24 Thread Anis Kadri (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718772#comment-13718772
 ] 

Anis Kadri commented on CB-4358:


cool!

> Trim amount of frameworks (18) in default template  to minimum needed (4)
> -
>
> Key: CB-4358
> URL: https://issues.apache.org/jira/browse/CB-4358
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Fix For: 3.1.0
>
>
> These are the only 4 frameworks needed for 3.0.0 with just CordovaLib:
> - MobileCoreServices.framework
> - CoreGraphics.framework
> - CoreLocation.framework
> - AssetsLibrary.framework
> Ensure the default template only ships with these, right now it ships with 18 
> frameworks specified.
> NOTE: After doing this, re-test all core plugins, I'm sure some of them will 
> fail since they probably depend on the frameworks already existing in the 
> default template. The frameworks they need will have to be specified in their 
> plugin.xml (file separate bugs for each plugin)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-4382) Pass cli arguments to project-level hooks

2013-07-24 Thread Carson Full (JIRA)
Carson Full created CB-4382:
---

 Summary: Pass cli arguments to project-level hooks
 Key: CB-4382
 URL: https://issues.apache.org/jira/browse/CB-4382
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI
Affects Versions: 3.0.0
Reporter: Carson Full
Assignee: Filip Maj
Priority: Minor


Such as a specified platform.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-1875) FileReader.readAsDataURL

2013-07-24 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer reassigned CB-1875:
--

Assignee: Lorin Beer  (was: Tim Kim)

> FileReader.readAsDataURL
> 
>
> Key: CB-1875
> URL: https://issues.apache.org/jira/browse/CB-1875
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.1.0
> Environment: BlackBerry 9300
>Reporter: Alfredo
>Assignee: Lorin Beer
>
> The API FileReader.readAsDataURL is not implemented in cordova 2.1.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-2823) window.openDatabase() throws exception 18 on BlackBerry and WP

2013-07-24 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer reassigned CB-2823:
--

Assignee: Lorin Beer  (was: Tim Kim)

> window.openDatabase() throws exception 18 on BlackBerry and WP
> --
>
> Key: CB-2823
> URL: https://issues.apache.org/jira/browse/CB-2823
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.4.0, 2.5.0
>Reporter: Anton Merkulov
>Assignee: Lorin Beer
> Attachments: IMAG0149.jpg
>
>
> For example this string
> {code}
> document.addEventListener("deviceready", function onDeviceReady() {
>   var db = this.window.openDatabase('blackBerryDB', '1.0', 
> 'blackBerryDBName', 500);
> }, false);
> {code}
> will throw SECURITY_ERR: DOM Exception 18
> Looks like this problemm was resolved for androis and ios and stay actual for 
> BlackBerry and WP
> Example cordova.2.4.js for android
> {code:title=cordova.2.4.js|borderStyle=solid}
>   // some Android devices will throw a SECURITY_ERR -
>   // so we wrap the whole thing in a try-catch and shim in our own
>   // if the device has Android bug 16175.
>   var originalOpenDatabase = window.openDatabase;
>   window.openDatabase = function(name, version, desc, size) {
> var db = null;
> try {
>   db = originalOpenDatabase(name, version, desc, size);
> } catch (ex) {
>   if (ex.code === 18) {
> db = null;
>   } else {
> throw ex;
>   }
> }
> if (db === null) {
>   return storage.openDatabase(name, version, desc, size);
> } else {
>   return db;
> }
>   };
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4326) Following CLI instructions results in error

2013-07-24 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4326.
--

Resolution: Fixed

> Following CLI instructions results in error
> ---
>
> Key: CB-4326
> URL: https://issues.apache.org/jira/browse/CB-4326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CLI
>Affects Versions: 3.0.0
> Environment: Mac OS 10.8.4
>Reporter: Jacob Weber
>Assignee: Joe Bowser
>
> Following the instructions here
> http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface
> $ cordova create HelloWorld com.example.hello "Hello World"
> $ cd HelloWorld/
> $ cordova platform add ios
> $ cordova platform add android
> This last command results in an error. If I add some debugging statements, I 
> can see that it's trying to run this:
> android-sdk-macosx/tools//android create project --target android-17 --path 
> /Users/jacobweber/Downloads/HelloWorld/platforms/android --package 
> com.example.hello --activity Hello World
> Error: Argument 'World' is not recognized.
> So the display text "Hello World" is being used as the activity name, and 
> it's not being quoted properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (CB-4326) Following CLI instructions results in error

2013-07-24 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah reopened CB-4326:
--


> Following CLI instructions results in error
> ---
>
> Key: CB-4326
> URL: https://issues.apache.org/jira/browse/CB-4326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CLI
>Affects Versions: 3.0.0
> Environment: Mac OS 10.8.4
>Reporter: Jacob Weber
>Assignee: Joe Bowser
>
> Following the instructions here
> http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface
> $ cordova create HelloWorld com.example.hello "Hello World"
> $ cd HelloWorld/
> $ cordova platform add ios
> $ cordova platform add android
> This last command results in an error. If I add some debugging statements, I 
> can see that it's trying to run this:
> android-sdk-macosx/tools//android create project --target android-17 --path 
> /Users/jacobweber/Downloads/HelloWorld/platforms/android --package 
> com.example.hello --activity Hello World
> Error: Argument 'World' is not recognized.
> So the display text "Hello World" is being used as the activity name, and 
> it's not being quoted properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4326) Following CLI instructions results in error

2013-07-24 Thread Shazron Abdullah (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-4326.
--

Resolution: Duplicate

> Following CLI instructions results in error
> ---
>
> Key: CB-4326
> URL: https://issues.apache.org/jira/browse/CB-4326
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CLI
>Affects Versions: 3.0.0
> Environment: Mac OS 10.8.4
>Reporter: Jacob Weber
>Assignee: Joe Bowser
>
> Following the instructions here
> http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface
> $ cordova create HelloWorld com.example.hello "Hello World"
> $ cd HelloWorld/
> $ cordova platform add ios
> $ cordova platform add android
> This last command results in an error. If I add some debugging statements, I 
> can see that it's trying to run this:
> android-sdk-macosx/tools//android create project --target android-17 --path 
> /Users/jacobweber/Downloads/HelloWorld/platforms/android --package 
> com.example.hello --activity Hello World
> Error: Argument 'World' is not recognized.
> So the display text "Hello World" is being used as the activity name, and 
> it's not being quoted properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4322) CLI still not recognizing when sample www project is not available.

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718743#comment-13718743
 ] 

Filip Maj commented on CB-4322:
---

I'll tackle integrating this into cli and plugman's code base as soon as i get 
a CLA for the above code :)

> CLI still not recognizing when sample www project is not available.
> ---
>
> Key: CB-4322
> URL: https://issues.apache.org/jira/browse/CB-4322
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: John M. Wargo
>Assignee: Filip Maj
>
> Still having problems with the CLI not recognizing that it doesn't have a 
> HelloWorld project to use.
> C:\Users\i833153\dev>cordova create test
> [TypeError: Cannot read property 'length' of undefined]
> C:\Users\i833153\dev>cordova -d create test
> Creating a new cordova project with name "HelloCordova" and id 
> "io.cordova.hello
> cordova" at location "C:\Users\i833153\dev\test"
> Using stock cordova hello-world application.
> cordova library for "www" already exists. No need to download. Continuing.
> Copying stock Cordova www assets into "C:\Users\i833153\dev\test\www"
> Error: downloaded www assets in 
> C:\Users\i833153\.cordova\lib\www\cordova\3.0.0\
> www does not contain index.html, or www subdir with index.html
> at finalize 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\c
> reate.js:114:27)
> at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\create.js:1
> 54:17
> at 
> C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.j
> s:47:31
> at Object.module.exports.custom 
> (C:\Users\i833153\AppData\Roaming\npm\node_m
> odules\cordova\src\lazy_load.js:57:34)
> at Object.lazy_load [as cordova] 
> (C:\Users\i833153\AppData\Roaming\npm\node_
> modules\cordova\src\lazy_load.js:42:24)
> at Object.create 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\
> src\create.js:148:19)
> at Object. 
> (C:\Users\i833153\AppData\Roaming\npm\node_modules\cor
> dova\bin\cordova:42:22)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4273) Pass additional arguments down to platform level scripts

2013-07-24 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718739#comment-13718739
 ] 

Filip Maj commented on CB-4273:
---

One thing I'd like to add is that all sub-scripts / modules should get this 
ability.

So we should enable passing arbitrary flags the user specifies to the 
underlying scripts, as well as plugman.

The use case for plugman would be to enable passing variables from CLI use into 
the plugman module, a la:

{noformat}
$ cordova plugin add FacebookConnect --variable API_KEY=1234
{noformat}

> Pass additional arguments down to platform level scripts
> 
>
> Key: CB-4273
> URL: https://issues.apache.org/jira/browse/CB-4273
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: Bryan Higgins
>Assignee: Bryan Higgins
> Fix For: 3.1.0
>
>
> Not a blocker for 3.0, but this would make life easier for BB devs using CLI.
> Some users prefer to pass in signing key as an argument rather than storing 
> in config. There are also flags for passing in non-standard build options.
> As a bonus, we'd get "cordova build blackberry --help"
> CC [~filmaj] [~lorin.beer] [~jeffheifetz]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-4352) "cordova plugin add" does not pass down variables to plugman

2013-07-24 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj resolved CB-4352.
---

Resolution: Duplicate

Closing as CB-4273 should resolve this as well.

> "cordova plugin add" does not pass down variables to plugman
> 
>
> Key: CB-4352
> URL: https://issues.apache.org/jira/browse/CB-4352
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Assignee: Filip Maj
> Fix For: 3.1.0
>
>
> Try this with the FacebookConnect plugin, which requires an APP_ID variable.
> The tool will complain it's not set, but when you try to set it using the 
> plugman syntax of "--variable APP_ID=foo" it does not stick.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-4091) Media onSuccess is not called when media.play() is used on BlackBerry

2013-07-24 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer updated CB-4091:
---

Component/s: Plugin Media

> Media onSuccess is not called when media.play() is used on BlackBerry
> -
>
> Key: CB-4091
> URL: https://issues.apache.org/jira/browse/CB-4091
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, Plugin Media
>Affects Versions: 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 
> 2.9.0
>Reporter: Damjan Dvorsek
>Assignee: Lorin Beer
>
> onSuccess function is not called when playing media with  media.play(). 
> Testing on BB10z device with webinspector, there was no report of any error 
> in the console. Using Ripple emulator (0.9.16) gives following error in the 
> console:
> "Received Media.onStatus callback for unknown media :: 
> 0a9ec375-1a41-c7b3-ab35-3be99b281640"
> If cordova 2.0.0 is used there is a different error in the console:
> "Uncaught TypeError: Cannot set property '_duration' of undefined"   
> I used "Full Example" that comes with media.play(), from documentation 
> http://docs.phonegap.com/en/2.9.0/cordova_media_media.md.html#media.play
> for testing.
> In the case of cordova 2.0.0 onSuccess function is also not called after play 
> ends, but it gets called if "stopAudio()" (which contains media.stop()) is 
> called. This is not the case with versions 2.1.0 and above. 
>  
>   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-1963) BlackBerry app crashes on startup when trying to take control of back button

2013-07-24 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer resolved CB-1963.


Resolution: Invalid
  Assignee: Lorin Beer  (was: Tim Kim)

> BlackBerry app crashes on startup when trying to take control of back button
> 
>
> Key: CB-1963
> URL: https://issues.apache.org/jira/browse/CB-1963
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.2.0
> Environment: BlackBerry WebWorks SDK 2.3.1.5, BlackBerry Torch 9800 
> Simulator OS 6.0.0.337, Events API
>Reporter: Brandon Tooke
>Assignee: Lorin Beer
>Priority: Critical
>  Labels: blackberry
>
> When attempting to include {code}document.addEventListener("backbutton", 
> onBack, false);{code} within my onDeviceReady function, the app crashes 
> (quits) during the loading/splashscreen phase.
> I have also tried to use the WebWorks function 
> {code}blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK..{code}
>  but get the same result; app crashes during loading.
> I have set the appropriate permissions in config.xml.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-1963) BlackBerry app crashes on startup when trying to take control of back button

2013-07-24 Thread Lorin Beer (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718734#comment-13718734
 ] 

Lorin Beer commented on CB-1963:


I believe that this issue is best resolved by running the problematic js later 
in the initialization.


> BlackBerry app crashes on startup when trying to take control of back button
> 
>
> Key: CB-1963
> URL: https://issues.apache.org/jira/browse/CB-1963
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.2.0
> Environment: BlackBerry WebWorks SDK 2.3.1.5, BlackBerry Torch 9800 
> Simulator OS 6.0.0.337, Events API
>Reporter: Brandon Tooke
>Assignee: Lorin Beer
>Priority: Critical
>  Labels: blackberry
>
> When attempting to include {code}document.addEventListener("backbutton", 
> onBack, false);{code} within my onDeviceReady function, the app crashes 
> (quits) during the loading/splashscreen phase.
> I have also tried to use the WebWorks function 
> {code}blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK..{code}
>  but get the same result; app crashes during loading.
> I have set the appropriate permissions in config.xml.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


  1   2   >