endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Axel Nennker
Hi, the above phonegap command fails (name to long) and I think it applies to cordova as well. plugin add seems to copy the whole directory into the app's plugins directory. Which is wrong. I am developing a phonegap plugin and inside the plugin's developement folder I have a subfolder named

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
I've seen this problem with cordova. My instructions for the examples have people copy the example folder out of the project before installing the plugin as a work around. On Oct 23, 2013, at 7:57 AM, Axel Nennker ignisvul...@gmail.com wrote: Hi, the above phonegap command fails (name

Plugman engine check and WP7/8

2013-10-23 Thread Sergey Grebnov (Akvelon)
Hi, #1 The problem Right now the simplest (and also the most correct IMO) way to specify plugin restrictions to specific cordova version is the following: plugin.xml: engines engine name=cordova version==2.7.0 / /engines But in this case as per plugman engines definition

Re: Plugman engine check and WP7/8

2013-10-23 Thread Bryan Higgins
This issue has to do with the host system rather than platform. Android and BB10 both have version.bat files. On Wed, Oct 23, 2013 at 9:56 AM, Sergey Grebnov (Akvelon) v-seg...@microsoft.com wrote: Hi, #1 The problem Right now the simplest (and also the most correct IMO) way to specify

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Braden Shepherdson
The common places to fetch the plugin are over the network, from the plugin registry or from git. Therefore the tools are expecting to download exactly the files that are needed by the plugin, plus or minus a README or whatever. They expect local plugins to be self-contained, in a directory by

Re: Plugman engine check and WP7/8

2013-10-23 Thread Braden Shepherdson
I thought we were shelling out that command, not trying to load the file. Then Windows would locate the version.bat file and run it, while Unixy platforms would see the version file with +x, and run it. Are we no longer going through the shell? (This should be using child_process.exec, not

Re: Plugman engine check and WP7/8

2013-10-23 Thread Bryan Higgins
I know Carlos just changed several CLI commands to use spawn. There doesn't seem to be any specific handling for Windows. https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=01c7ecec7ccf4a3c1423ddf3844e125d24965025 On Wed, Oct 23, 2013 at 10:44 AM, Braden Shepherdson

WebSQL Works Fine on Android?

2013-10-23 Thread Andrew Grieve
Hey Joe, I started working on the documentation for WebSQL options on Android, and I've now found myself in the state where it seems window.openDatabase() works fine on my devices without any plugins. I swear I saw it failing before, but now I'm wondering if it was just the can't open multiple

Re: WebSQL Works Fine on Android?

2013-10-23 Thread Simon MacDonald
Well window.openDatabase should work fine with no plugins on most versions of Android. Various releases like Honeycomb IIRC broke WebSQL and that is where we needed to monkey patch it. Simon Mac Donald http://hi.im/simonmacdonald On Wed, Oct 23, 2013 at 11:10 AM, Andrew Grieve

Re: Plugman engine check and WP7/8

2013-10-23 Thread Carlos Santana
Thanks Bryan for pointing out; I created a jira issue to address the compile, emualate, run using spawn and not addressing windows .bat https://issues.apache.org/jira/browse/CB-5187 I'm guessing the fix is to detect that node environment is Windows and append .bat to cmd for child process spawn

Re: cordova release naming -- proposal

2013-10-23 Thread Brian LeRoux
YES! We've been talking about this for years. Al and I felt racing horse names would be fun. Or perhaps a concatenation of spanish words and popular Canadian things. Beuno Syrup is way cooler than 3.2.x On Wed, Oct 23, 2013 at 7:29 AM, Lisa Seacat DeLuca ldel...@us.ibm.comwrote: I propose we

Re: cordova release naming -- proposal

2013-10-23 Thread Ken Wallis
‎Tres Poutine? +1 for named releases, at least for ‎marketing purposes, but with monthly releases version numbers will still be important to more easily track stuff, so we shouldn't bury version numbers. Sent from my BlackBerry 10 smartphone. Original Message From: Brian LeRoux Sent:

Re: cordova release naming -- proposal

2013-10-23 Thread Shazron
I like the Spanish + Canadian thing. Or using obscure Canadian towns like Saint-Louis-du-Ha! Ha!, QC ( http://en.wikipedia.org/wiki/Saint-Louis-du-Ha!_Ha!) LOL On Wed, Oct 23, 2013 at 10:42 AM, Brian LeRoux b...@brian.io wrote: YES! We've been talking about this for years. Al and I felt racing

Re: 2.9.1 Backport release

2013-10-23 Thread purplecabbage
I made some headway but am not done with WPx. I've had to work through many js issues. I am away until Monday though and haven't had a chance to update windows8. If someone wants to look at that it would be a huge help. I expect ios7 support is going to push the release back to be inline with

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
It would be useful for plugin.xml to exclude a directory such as examples when copying. I think examples are important, especially for 3rd party plugins and it's convenient to keep examples in the same repo as the code. On Wed, Oct 23, 2013 at 10:42 AM, Braden Shepherdson

Re: cordova release naming -- proposal

2013-10-23 Thread Michal Mocny
On Wed, Oct 23, 2013 at 1:52 PM, Shazron shaz...@gmail.com wrote: I like the Spanish + Canadian thing. Or using obscure Canadian towns like Saint-Louis-du-Ha! Ha!, QC ( http://en.wikipedia.org/wiki/Saint-Louis-du-Ha!_Ha!) LOL Heh, thats hilarious. I passed by Lac Ha! Ha! in QC this summer

Re: Plugman engine check and WP7/8

2013-10-23 Thread Carlos Santana
Actually just try it out and see that using spawn with cmd [/c,cordova/build,... is better option than adding the .bat then it covers build.exe, build.bat, and build.cmd on windows if someone thinks this is bad route, please shime in this jira issue [1] [1]:

Re: cordova release naming -- proposal

2013-10-23 Thread Braden Shepherdson
As long as we are still tracking mostly by the version numbers on JIRA and so on, I'm okay with silly marketing names. Too bad these suggested schemes don't support Fancy Pants. I'm perfectly happy with nonsensical names; I think the AngularJS releases[1] are hilarious. (radioactive-gargle,

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Axel Nennker
Yes, a copy is simpler but I think that copying only the needed files specified in plugin.xml makes a lot of sense. Am 23.10.2013 16:42 schrieb Braden Shepherdson bra...@chromium.org: The common places to fetch the plugin are over the network, from the plugin registry or from git. Therefore the

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Carlos Santana
Today you can also use cli hooks to delete the examples directory if present --Carlos On Wed, Oct 23, 2013 at 2:39 PM, Axel Nennker ignisvul...@gmail.com wrote: Yes, a copy is simpler but I think that copying only the needed files specified in plugin.xml makes a lot of sense. Am 23.10.2013

Re: cordova release naming -- proposal

2013-10-23 Thread Carlos Santana
Can at least Cordova 4.0 be Fancy Pants ? On Wed, Oct 23, 2013 at 2:33 PM, Braden Shepherdson bra...@chromium.orgwrote: As long as we are still tracking mostly by the version numbers on JIRA and so on, I'm okay with silly marketing names. Too bad these suggested schemes don't support Fancy

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Braden Shepherdson
That misses the point that we'd really rather avoid the complexity of having to open the plugin.xml in order to copy a plugin. If you want to package lots of things in with the plugin, including examples, then I propose structuring it thus: .git/ docs/ examples/ plugin/ plugin.xml js/

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
That's an interesting idea to use a subdirectory now that we support subdirs from git. I worry that it would not be standard and might confuse users. I want to make sure my plugins are easy for users to use. I appreciate that opening plugins.xml to copy files stinks, but so do errors about

Re: cordova release naming -- proposal

2013-10-23 Thread Michal Mocny
fantasía pants (spanish word for fancy) + (a road name in Sault Ste. Marie) On Wed, Oct 23, 2013 at 2:55 PM, Carlos Santana csantan...@gmail.comwrote: Can at least Cordova 4.0 be Fancy Pants ? On Wed, Oct 23, 2013 at 2:33 PM, Braden Shepherdson bra...@chromium.org wrote: As long as we

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Braden Shepherdson
Feel free to file the bug, of course. There's multiple simple workarounds (copy the example out of the directory, or put the plugin in a subdir), so it's low-priority in my mind. The plugin.xml format is evolving, and having to maintain this proposed logic every time we change the many ways to

RE: cordova release naming -- proposal

2013-10-23 Thread Jonathan Bond-Caron
On Wed Oct 23 10:29 AM, Lisa Seacat DeLuca wrote: * Hockey teams (probably some issues with trademarks) Love this idea :) No trademark issue as long as there's no use of logos, printing of t-shirts etc...:

RE: Plugman engine check and WP7/8

2013-10-23 Thread Sergey Grebnov (Akvelon)
So I suppose we should 1. remove .bat extension from other script locations to be consistent, for example 'cordova-wp8': { 'platform':'wp8', 'scriptSrc': path.join(project_dir,'cordova','version.bat') }, 2. Remove check for the file location on Windows before executing

Re: cordova release naming -- proposal

2013-10-23 Thread Josh Soref
Please beware of the hazards of pasting words together... http://o.canada.com/news/vitaminwater-bottle-cap/ On 10/23/13 1:52 PM, Ken Wallis kwal...@blackberry.com wrote: ?Tres Poutine? +1 for named releases, at least for ?marketing purposes, but with monthly releases version numbers will still

Re: Plugman engine check and WP7/8

2013-10-23 Thread Josh Soref
On 10/23/13 2:23 PM, Carlos Santana csantan...@gmail.com wrote: Actually just try it out and see that using spawn with cmd [/c,cordova/build,... is better option than adding the .bat then it covers build.exe, build.bat, and build.cmd on windows if someone thinks this is bad route, please shime in

Re: Plugman engine check and WP7/8

2013-10-23 Thread Tim Kim
Howdy all, I like Carlos' suggestions in this jira ticket for dealing with Windows scripts:https://issues.apache.org/jira/browse/CB-5187 Appending a .bat or using cmd /c seem pretty easy fixes in this case. I'm +1 either way. I propose to think about 'cordova' engine settings (in

Re: 2.9.1 Backport release

2013-10-23 Thread Shazron
Will integrate: 1. https://issues.apache.org/jira/browse/CB-4958 (Camera - iOS 7) 2. https://issues.apache.org/jira/browse/CB-4930 (InAppBrowser - iOS 7) 3. https://issues.apache.org/jira/browse/CB-4847 (Media/Media Capture - iOS 7) 4. https://issues.apache.org/jira/browse/CB-4825 (Device Motion)

RE: cordova release naming -- proposal

2013-10-23 Thread Smith, Peter
It's hard to believe, but not everybody gets excited by Canadian hockey team names. When coming up with some fun/cute release name try not to forget or accidentally alienate users outside of North America. So +1 for Fancy Pants (or is that also one of your hockey teams?) Peter. -Original

Re: Cordova Issue Workflow

2013-10-23 Thread Josh Soref
On 10/22/13 10:59 AM, Andrew Grieve agri...@chromium.org wrote: You can Resolve an issue as Not Fixed, or Duplicate. Duplicate I understand. What's Not Fixed for? (I'm working on integrating the input today) - This transmission

Re: 2.9.1 Backport release

2013-10-23 Thread Shazron
iOS tracked as subtask under https://issues.apache.org/jira/browse/CB-5189 On Wed, Oct 23, 2013 at 2:55 PM, Shazron shaz...@gmail.com wrote: Will integrate: 1. https://issues.apache.org/jira/browse/CB-4958 (Camera - iOS 7) 2. https://issues.apache.org/jira/browse/CB-4930 (InAppBrowser - iOS

Re: Cordova Issue Workflow

2013-10-23 Thread Josh Soref
Ok, I've done a first pass on thisŠ https://wiki.apache.org/cordova/ContributorWorkflow + is now a short and fairly easy to read page - there's too much text at the bottom (tl;dr - it's about editing the Wiki XXX fix me) https://wiki.apache.org/cordova/IssueWorkflow + now focused on Issue bits -

Re: Cordova Issue Workflow

2013-10-23 Thread Andrew Grieve
Shoot. Just ignore that Not :P. On Wed, Oct 23, 2013 at 8:11 PM, Josh Soref jso...@blackberry.com wrote: On 10/22/13 10:59 AM, Andrew Grieve agri...@chromium.org wrote: You can Resolve an issue as Not Fixed, or Duplicate. Duplicate I understand. What's Not Fixed for? (I'm working on

Re: Cordova Issue Workflow

2013-10-23 Thread Andrew Grieve
Pages look great Josh! On Wed, Oct 23, 2013 at 10:36 PM, Andrew Grieve agri...@chromium.orgwrote: Shoot. Just ignore that Not :P. On Wed, Oct 23, 2013 at 8:11 PM, Josh Soref jso...@blackberry.com wrote: On 10/22/13 10:59 AM, Andrew Grieve agri...@chromium.org wrote: You can Resolve an