[jira] [Created] (CB-7376) PhoneGap/ Cordova 9-patch Image Splash Screen with center Logo?

2014-08-25 Thread Michael M (JIRA)
Michael M created CB-7376:
-

 Summary: PhoneGap/ Cordova 9-patch Image Splash Screen with center 
Logo?
 Key: CB-7376
 URL: https://issues.apache.org/jira/browse/CB-7376
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
Reporter: Michael M
Priority: Blocker


I use PhoneGap/Cordova to create an Android app with a splash screen that 
contains a centered logo.

Here is what I did:

In my Android Manifest.xml I added



Then I used the nine-path image generator here to create the 9-patch images for 
the splash screen. The purpose is to have a logo centered in the center all the 
time. When uploading the image it looks like the following. I kept the edit 
mode "stretch regions".


The problem is that the splash image is stretched all the time. This means that 
the logo (the blue box) is disproportioned.

How can I use 9-patch images as a splash screen on Android such that the logo 
is always in the center of the screen and not stretched?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-7374) [Mobilespec] createmobilespec unable to run cordova-js grunt task over Windows environment

2014-08-25 Thread Martin Gonzalez (JIRA)

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

Martin Gonzalez resolved CB-7374.
-

Resolution: Fixed

Merged

> [Mobilespec] createmobilespec unable to run cordova-js grunt task over 
> Windows environment
> --
>
> Key: CB-7374
> URL: https://issues.apache.org/jira/browse/CB-7374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec
>Affects Versions: 3.5.0
>Reporter: Martin Gonzalez
>Assignee: Martin Gonzalez
>  Labels: createmobilespec, mobilespec
> Fix For: 3.6.0
>
>
> When running createmobilespec module over windows dev environment, it stops 
> when runs the grunt task over cordova-js repository.
> Updating js for platforms...
> 'C:\Users\Administrator\mobilespec_tests\cordova-mobile-spec\createmobilespec
> \node_modules\grunt-cli\bin\grunt' is not recognized as an internal or 
> external
> command,
> operable program or batch file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-7375) Investigate breaking changes at file plugin

2014-08-25 Thread Ian Clelland (JIRA)

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

Ian Clelland commented on CB-7375:
--

The File spec actually defines a circular reference in some of its data 
structures, which is the reason for the Android code being the way it is:

A FileEntry or DirectoryEntry object contains a .filesystem property, which is 
a FileSystem. A FileSystem contains a .root property, which is a 
DirectoryEntry. That then contains a FileSystem again, so it all gets circular 
very quickly.

Since we can't serialize that into JSON to return it from the native side of 
the bridge, instead we return a FileEntry structure with a file system name, 
rather than an actual object. Then, on the JavaScript side, we reconstruct the 
FileSystem object based on its name, and attach that to the Entry object.


> Investigate breaking changes at file plugin
> ---
>
> Key: CB-7375
> URL: https://issues.apache.org/jira/browse/CB-7375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 3.5.0
>Reporter: Martin Gonzalez
>Assignee: Ian Clelland
>  Labels: file
> Fix For: 3.6.0
>
>
> Some of the changes made lately to file plugin with this commit: 
> https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;a=commit;h=0ffb96988c0539222887f7756a653e7f0a1ed12c
> Are breaking changes to this plugin, affecting other platforms as android.
> Running mobile spec after that specific commit, 4 file tests are failing 
> (test 125 -128).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-7353) Add cordova-js to tools release process

2014-08-25 Thread Steve Gill (JIRA)

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

Steve Gill reassigned CB-7353:
--

Assignee: Steve Gill

> Add cordova-js to tools release process
> ---
>
> Key: CB-7353
> URL: https://issues.apache.org/jira/browse/CB-7353
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaJS
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> cordova-js needs to get released when changes happen. Cordova-lib depends on 
> it due to browserify work. Tools release seems like a good time to do it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-7375) Investigate breaking changes at file plugin

2014-08-25 Thread Ian Clelland (JIRA)

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

Ian Clelland reassigned CB-7375:


Assignee: Ian Clelland

> Investigate breaking changes at file plugin
> ---
>
> Key: CB-7375
> URL: https://issues.apache.org/jira/browse/CB-7375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 3.5.0
>Reporter: Martin Gonzalez
>Assignee: Ian Clelland
>  Labels: file
> Fix For: 3.6.0
>
>
> Some of the changes made lately to file plugin with this commit: 
> https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;a=commit;h=0ffb96988c0539222887f7756a653e7f0a1ed12c
> Are breaking changes to this plugin, affecting other platforms as android.
> Running mobile spec after that specific commit, 4 file tests are failing 
> (test 125 -128).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-7375) Investigate breaking changes at file plugin

2014-08-25 Thread Martin Gonzalez (JIRA)

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

Martin Gonzalez commented on CB-7375:
-

The reason of this fails are the references to the filesystem on the entry 
object:

125 Expected --> FileSystem: persistent  ; Returned :temporary
126 Expected --> FileSystem: temporary   ; Returned :persistent
127 Expected --> FileSystem: persistent  ; Returned :temporary
128 Expected --> FileSystem: temporary   ; Returned :persistent

This applies to android platform.

> Investigate breaking changes at file plugin
> ---
>
> Key: CB-7375
> URL: https://issues.apache.org/jira/browse/CB-7375
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 3.5.0
>Reporter: Martin Gonzalez
>  Labels: file
> Fix For: 3.6.0
>
>
> Some of the changes made lately to file plugin with this commit: 
> https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;a=commit;h=0ffb96988c0539222887f7756a653e7f0a1ed12c
> Are breaking changes to this plugin, affecting other platforms as android.
> Running mobile spec after that specific commit, 4 file tests are failing 
> (test 125 -128).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-7224) Create Platforms release process

2014-08-25 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-7224.


Resolution: Fixed

> Create Platforms release process
> 
>
> Key: CB-7224
> URL: https://issues.apache.org/jira/browse/CB-7224
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Coho
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> Rename 
> https://github.com/apache/cordova-coho/blob/master/docs/cadence-release-process.md
>  doc to "platforms-release-process" and update the content for independent 
> release process. 
> Tag cordova-js for each platform release with "PLATFORM-VERSION"



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (CB-7359) Update Versioning and release policy doc

2014-08-25 Thread Steve Gill (JIRA)

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

Steve Gill reassigned CB-7359:
--

Assignee: Steve Gill

> Update Versioning and release policy doc
> 
>
> Key: CB-7359
> URL: https://issues.apache.org/jira/browse/CB-7359
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Coho
>Reporter: Steve Gill
>Assignee: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-7375) Investigate breaking changes at file plugin

2014-08-25 Thread Martin Gonzalez (JIRA)
Martin Gonzalez created CB-7375:
---

 Summary: Investigate breaking changes at file plugin
 Key: CB-7375
 URL: https://issues.apache.org/jira/browse/CB-7375
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File
Affects Versions: 3.5.0
Reporter: Martin Gonzalez
 Fix For: 3.6.0


Some of the changes made lately to file plugin with this commit: 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;a=commit;h=0ffb96988c0539222887f7756a653e7f0a1ed12c
Are breaking changes to this plugin, affecting other platforms as android.
Running mobile spec after that specific commit, 4 file tests are failing (test 
125 -128).



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Reopened] (CB-6148) wrong filesystem properties in entry after moveTo()

2014-08-25 Thread Ian Clelland (JIRA)

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

Ian Clelland reopened CB-6148:
--


Reopening after regression with commit 0ffb96988c0539222887f7756a653e7f0a1ed12c

The filesystem name properties are not being set correctly anymore (or at least 
something is causing the tests to fail)

> wrong filesystem properties in entry after moveTo()
> ---
>
> Key: CB-6148
> URL: https://issues.apache.org/jira/browse/CB-6148
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File
>Affects Versions: 3.4.0
> Environment: iOS6
> iOS7
>Reporter: Dominik Pesch
>Assignee: Ian Clelland
>
> To store pictures persistent in our app, we move the image files from the 
> temporary folder to the persistent folder. The code breaks after upgrading to 
> Cordova 3.4.0 and file plugin 1.0.0 (and 1.0.1).
> We've found that the filesystem object in the moveTo success callback entry 
> parameter has got wrong value (please notice pseudo code below). 
> Below you'll see the Xcode log output:
> {noformat}
> 2014-03-02 21:31:43.672 Finanzchecker[509:907] fileSys.name: persistent
> 2014-03-02 21:31:43.682 Finanzchecker[509:907] fileSys.root.name: /
> 2014-03-02 21:31:43.687 Finanzchecker[509:907] fileSys.root.fullPath: /
> 2014-03-02 21:31:43.717 Finanzchecker[509:907] dir.name: pics
> 2014-03-02 21:31:43.726 Finanzchecker[509:907] dir.fullPath: /pics/
> 2014-03-02 21:31:43.778 Finanzchecker[509:907] newFileEntry.name: 
> pic1393792303602.jpg
> 2014-03-02 21:31:43.784 Finanzchecker[509:907] newFileEntry.fullPath: 
> /pics/pic1393792303602.jpg
> 2014-03-02 21:31:43.796 Finanzchecker[509:907] newFileEntry.nativeURL: 
> file:///var/mobile/Applications/82A8A0EF-8012-4D7E-B78D-EA3A4C2B7CBF/Documents/pics/pic1393792303602.jpg
> 2014-03-02 21:31:43.802 Finanzchecker[509:907] newFileEntry.toURL(): 
> cdvfile://localhost/temporary/pics/pic1393792303602.jpg
> 2014-03-02 21:31:43.815 Finanzchecker[509:907] newFileEntry.filesystem.name: 
> temporary
> 2014-03-02 21:31:43.820 Finanzchecker[509:907] 
> newFileEntry.filesystem.root.name: '/'
> 2014-03-02 21:31:43.820 Finanzchecker[509:907] 
> newFileEntry.filesystem.root.fullPath: '/'
> {noformat}
> *Our problem:*
> We had expected that newFileEntry.filesystem.name has to be 'persistent' 
> (instead it is 'temporary') . newFileEntry.toURL returns the wrong cdvfile 
> URL (please see Xcode output above).
> {code:JavaScript|title=Shortened pseudo code:|borderStyle=solid}
> // ... will be called from navigator.camera.getPicture(...)
> function picSuccess(imageUrl)
> {
>   window.resolveLocalFileSystemURL(imageUrl, _fileEntrySuccess, 
> _handleFileError);
>   function _fileEntrySuccess(tmpFileEntry)
>   {
> var newFileName = "pic" + new Date().getTime() + '.jpg';
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSys)
> {
>   console.log("fileSys.name: " + fileSys.name);
>   console.log("fileSys.root.name: " + fileSys.root.name);
>   console.log("fileSys.root.fullPath: " + fileSys.root.fullPath);
>   fileSys.root.getDirectory("pics", { create: true, exclusive: false }, 
> function(dir)
>   {
> console.log("dir.name: " + dir.name);
> console.log("dir.fullPath: " + dir.fullPath);
> tmpFileEntry.moveTo(dir, newFileName, function(newFileEntry)
> {
>   console.log("newFileEntry.name: " + newFileEntry.name);
>   console.log("newFileEntry.fullPath: " + newFileEntry.fullPath);
>   console.log("newFileEntry.nativeURL: " + newFileEntry.nativeURL);
>   console.log("newFileEntry.toURL(): " + newFileEntry.toURL());
>   console.log("newFileEntry.filesystem.name: " + 
> newFileEntry.filesystem.name);
>   console.log("newFileEntry.filesystem.fullPath: " + 
> newFileEntry.filesystem.fullPath);
>   _fileMovedSuccess(newFileEntry);
> }, _handleFileError)
>   })
> },
> _handleFileError);
>   }
>   function _fileMovedSuccess(entry)
>   {
> // ...
>   }
> }
> {code}
> We've tested this with Cordova 3.4.0 and cordova file plugin 1.0.0 and 1.0.1 
> (https://github.com/apache/cordova-plugin-file.git 
> 21e119692ab9c9fb2912dc69e2c6d4b05307e3e2). 
> // corrected the example (some typos)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-7359) Update Versioning and release policy doc

2014-08-25 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-7359.


Resolution: Fixed

> Update Versioning and release policy doc
> 
>
> Key: CB-7359
> URL: https://issues.apache.org/jira/browse/CB-7359
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Coho
>Reporter: Steve Gill
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6958) Port camera tests to plugin-test-framework

2014-08-25 Thread ASF subversion and git services (JIRA)

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

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

Commit e316e32808d7dbe95fa4858e67cac2d68bc025e7 in cordova-plugin-camera's 
branch refs/heads/master from [~cmarcelk]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=e316e32 
]

CB-6958 Get the correct default for "quality" in the test


> Port camera tests to plugin-test-framework
> --
>
> Key: CB-6958
> URL: https://issues.apache.org/jira/browse/CB-6958
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Plugin Camera
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6724) manual tests should have docs indicating the expected result

2014-08-25 Thread ASF subversion and git services (JIRA)

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

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

Commit 6ca92dd21456066e7d5611b78b0269f92220e7a5 in cordova-plugin-contacts's 
branch refs/heads/master from [~cmarcelk]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=6ca92dd 
]

CB-6724 Empty may be expected.


> manual tests should have docs indicating the expected result
> 
>
> Key: CB-6724
> URL: https://issues.apache.org/jira/browse/CB-6724
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: mobile-spec
>Reporter: Marcel Kinard
>Assignee: Edna Morales
>Priority: Minor
>
> The manual tests in mobile-spec have buttons that do things and test the 
> functions, but there is no indication and no documentation associated with 
> those tests that indicate what the expected result should be. So it becomes 
> difficult to compare the expected result with the actual result, unless you 
> are very familiar with the function and know in your head what the expected 
> result should be. It would be good if the expected result is documented, so 
> non-experts can run the manual tests and validate the results.
> The manual tests for InAppBrowser do include some documentation of the 
> expected inline with the buttons, so that may be considered a prototype of 
> what is needed here.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-7281) "cordova plugin add" issues nonsense EACCESS error

2014-08-25 Thread Luigi (JIRA)

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

Luigi commented on CB-7281:
---

Same issue here.

It seems that once cordova is installed, updated through 
sudo npm install -g cordova

it changes owner to user tmp dir.

I just deleted it (after checking nothing relevant was there) and all went fine.

> "cordova plugin add" issues nonsense EACCESS error
> --
>
> Key: CB-7281
> URL: https://issues.apache.org/jira/browse/CB-7281
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugins
> Environment: ubuntu 14.04
>Reporter: teo
>
> On a freshly created test application targeted at android, which works fine.
> I ran:
> $ cordova plugin add nl.sylvain.cordova.osc
> Fetching plugin "nl.sylvain.cordova.osc" via plugin registry
> Error: EACCES, mkdir '/home/teo/tmp/npm-20870-r97koGWy'
> That doesn't make sense, as /home/teo is my home directory (I was running the 
> above command as "teo"). There's no reason why that mkdir command should get 
> an access denied error (if that's what EACCESS means).
> This worked:
> $ sudo cordova plugin add nl.sylvain.cordova.osc
> however, there's no reason why sudo should be needed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (CB-7318) platform support doc still show globalization is not supported by bb10

2014-08-25 Thread Josh Soref (JIRA)

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

Josh Soref resolved CB-7318.


   Resolution: Fixed
Fix Version/s: 3.6.0
 Assignee: Josh Soref

Please close this when the update appears on the website (I don't know how 
often that happens).

> platform support doc still show globalization is not supported by bb10
> --
>
> Key: CB-7318
> URL: https://issues.apache.org/jira/browse/CB-7318
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Affects Versions: 3.5.0
>Reporter: Jenny Gee
>Assignee: Josh Soref
>Priority: Minor
> Fix For: 3.6.0
>
>
> http://cordova.apache.org/docs/en/edge/guide_support_index.md.html#Platform%20Support
> Platform support page still show that globalization is not supported by BB10. 
> Supporting email announcement:
> http://cordova.apache.org/news/2014/08/11/plugins-release.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-7374) [Mobilespec] createmobilespec unable to run cordova-js grunt task over Windows environment

2014-08-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7374:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-mobile-spec/pull/106


> [Mobilespec] createmobilespec unable to run cordova-js grunt task over 
> Windows environment
> --
>
> Key: CB-7374
> URL: https://issues.apache.org/jira/browse/CB-7374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec
>Affects Versions: 3.5.0
>Reporter: Martin Gonzalez
>Assignee: Martin Gonzalez
>  Labels: createmobilespec, mobilespec
> Fix For: 3.6.0
>
>
> When running createmobilespec module over windows dev environment, it stops 
> when runs the grunt task over cordova-js repository.
> Updating js for platforms...
> 'C:\Users\Administrator\mobilespec_tests\cordova-mobile-spec\createmobilespec
> \node_modules\grunt-cli\bin\grunt' is not recognized as an internal or 
> external
> command,
> operable program or batch file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-7374) [Mobilespec] createmobilespec unable to run cordova-js grunt task over Windows environment

2014-08-25 Thread ASF subversion and git services (JIRA)

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

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

Commit 86b6dca959e295e3d42090046f3bbde0e82c4d7c in cordova-mobile-spec's branch 
refs/heads/master from [~martin.c.glez.glez]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=86b6dca ]

[CB-7374] Use nodejs exec to run grunt in Windows

Windows requires the specific path and file of the program to run the
script, the nodejs binary file should be part of the command to run the
grunt task.
If not, the execution stops.

github: close #106


> [Mobilespec] createmobilespec unable to run cordova-js grunt task over 
> Windows environment
> --
>
> Key: CB-7374
> URL: https://issues.apache.org/jira/browse/CB-7374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec
>Affects Versions: 3.5.0
>Reporter: Martin Gonzalez
>Assignee: Martin Gonzalez
>  Labels: createmobilespec, mobilespec
> Fix For: 3.6.0
>
>
> When running createmobilespec module over windows dev environment, it stops 
> when runs the grunt task over cordova-js repository.
> Updating js for platforms...
> 'C:\Users\Administrator\mobilespec_tests\cordova-mobile-spec\createmobilespec
> \node_modules\grunt-cli\bin\grunt' is not recognized as an internal or 
> external
> command,
> operable program or batch file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-7374) [Mobilespec] createmobilespec unable to run cordova-js grunt task over Windows environment

2014-08-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7374:


GitHub user martincgg opened a pull request:

https://github.com/apache/cordova-mobile-spec/pull/106

[CB-7374] Use nodejs exec to run grunt in Windows

Windows requires the specific path and file of the program to run the 
script, the nodejs binary file should be part of the command to run the grunt 
task over the cordova-js repository, in order to create the cordova.js files

If not, the execution stops.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/martincgg/cordova-mobile-spec CB-7374

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-mobile-spec/pull/106.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #106


commit ea12b905f385c06b7615a226574dc11e7199c46d
Author: Martin Gonzalez 
Date:   2014-08-25T16:37:17Z

[CB-7374] Use nodejs exec to run grunt in Windows

Windows requires the specific path and file of the program to run the
script, the nodejs binary file should be part of the command to run the
grunt task.
If not, the execution stops.




> [Mobilespec] createmobilespec unable to run cordova-js grunt task over 
> Windows environment
> --
>
> Key: CB-7374
> URL: https://issues.apache.org/jira/browse/CB-7374
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec
>Affects Versions: 3.5.0
>Reporter: Martin Gonzalez
>Assignee: Martin Gonzalez
>  Labels: createmobilespec, mobilespec
> Fix For: 3.6.0
>
>
> When running createmobilespec module over windows dev environment, it stops 
> when runs the grunt task over cordova-js repository.
> Updating js for platforms...
> 'C:\Users\Administrator\mobilespec_tests\cordova-mobile-spec\createmobilespec
> \node_modules\grunt-cli\bin\grunt' is not recognized as an internal or 
> external
> command,
> operable program or batch file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-7374) [Mobilespec] createmobilespec unable to run cordova-js grunt task over Windows environment

2014-08-25 Thread Martin Gonzalez (JIRA)
Martin Gonzalez created CB-7374:
---

 Summary: [Mobilespec] createmobilespec unable to run cordova-js 
grunt task over Windows environment
 Key: CB-7374
 URL: https://issues.apache.org/jira/browse/CB-7374
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Affects Versions: 3.5.0
Reporter: Martin Gonzalez
Assignee: Martin Gonzalez
 Fix For: 3.6.0


When running createmobilespec module over windows dev environment, it stops 
when runs the grunt task over cordova-js repository.

Updating js for platforms...
'C:\Users\Administrator\mobilespec_tests\cordova-mobile-spec\createmobilespec
\node_modules\grunt-cli\bin\grunt' is not recognized as an internal or external
command,
operable program or batch file.




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6720) Cordova File-Transfer download fails on iOS

2014-08-25 Thread Edna Morales (JIRA)

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

Edna Morales commented on CB-6720:
--

I believe this was solved with issue CB-6525 linked above

> Cordova File-Transfer download fails on iOS
> ---
>
> Key: CB-6720
> URL: https://issues.apache.org/jira/browse/CB-6720
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
> Environment: iOS 7.0.3 on iPad2 - Cordova 3.4.1-0.1.0
>Reporter: Zcs Mobile
>
> File-Transfer download function exits with 
> *"TypeError: 'null' is not an object (evaluating 'result.lengthComputable')"*
> Plugin version is 0.4.3, i tried 0.4.2 but the error is still the same. 
> Please refer to this post:
> http://stackoverflow.com/questions/23317010/cordova-file-transfer-download-result-null-error
> Same exact code works fine on Android 4.0.2 .
> EDIT:
> Sample code used for testing:
> {code:JavaScript}
> function win(entry){
> console.log("OK!");
> }
> function fail(error){
> console.log("ERROR!");
> console.log(error.code);
> }
> var url = 
> "http://upload.wikimedia.org/wikipedia/commons/5/5b/Ultraviolet_image_of_the_Cygnus_Loop_Nebula_crop.jpg";;
> var filename = "filename.jpg";
> var uri = encodeURI(url);
> window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) {
>fileSystem.root.getFile(filename, {create: true, exclusive: false}, 
> function(fileEntry) {
>var localPath = fileEntry.toURL();
>var ft = new FileTransfer();
>ft.download(uri,localPath,win,fail,false);
>},function(error){console.log("errore 1: " + error.code);});
> },function(error){console.log("errore 2: " + error.code);});
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-7373) Mobilespec manual contacts test provide no output for errors.

2014-08-25 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-7373:
-

Labels: contacts mobilespec windows8 windows81  (was: )

> Mobilespec manual contacts test provide no output for errors.
> -
>
> Key: CB-7373
> URL: https://issues.apache.org/jira/browse/CB-7373
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec
>Reporter: Vladimir Kotikov
>Priority: Minor
>  Labels: contacts, mobilespec, windows8, windows81
>
> Mobilespec's manual test for contact->save method provdies no output if any 
> errors happens during test.
> E.g. saving contacts is not supported on windows8/8.1, and save method always 
> resolves with NOT_SUPPORTED_ERR, but user can't see this in test results.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-7373) Mobilespec manual contacts test provide no output for errors.

2014-08-25 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-7373:


 Summary: Mobilespec manual contacts test provide no output for 
errors.
 Key: CB-7373
 URL: https://issues.apache.org/jira/browse/CB-7373
 Project: Apache Cordova
  Issue Type: Bug
  Components: mobile-spec
Reporter: Vladimir Kotikov
Priority: Minor


Mobilespec's manual test for contact->save method provdies no output if any 
errors happens during test.

E.g. saving contacts is not supported on windows8/8.1, and save method always 
resolves with NOT_SUPPORTED_ERR, but user can't see this in test results.



--
This message was sent by Atlassian JIRA
(v6.2#6252)