cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Santana <csantan...@gmail.com>
Subject Re: Anyone seeing problems with cordova cli commands running in parallel?
Date Tue, 27 Aug 2013 15:50:53 GMT
step 1, jira item created :-)
https://issues.apache.org/jira/browse/CB-4679



On Tue, Aug 27, 2013 at 11:47 AM, Carlos Santana <csantana23@gmail.com>wrote:

> Just wanted to confirm. Thanks for the quick response.
>
>
>
>
>
>
> On Tue, Aug 27, 2013 at 10:06 AM, Filip Maj <maj.fil@gmail.com> wrote:
>
>> Its probably due to this brittle line of code in plugman by yours truly:
>>
>>
>> https://github.com/apache/cordova-plugman/blob/master/src/util/plugins.js#L37
>>
>> Probably should tack on a random number there instead of a date. Pull
>> requests welcome! :)
>> On 2013-08-27 6:51 AM, "Carlos Santana" <csantana23@gmail.com> wrote:
>>
>> > I created a grunt-cordovacli [1] plugin
>> >
>> > I'm using grunt.util.spawn [2] it spawns a node child process to run a
>> > cordova command
>> >
>> > For example I'm running  in parallel when adding multiple platforms or
>> > adding multiple plugins, where plugins and platforms is an array
>> >
>> > cordova build ios and cordova build android
>> >
>> >     Setting Current Working Directory (CWD) to myHybridAppFolder
>> >     Running-> cordova platform add ios
>> >     Running-> cordova platform add android
>> >
>> > or adding all the  plugins
>> >
>> > Setting Current Working Directory (CWD) to myHybridAppFolder
>> > Running-> cordova plugin add
>> > https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git
>> > Running-> cordova plugin add
>> >
>> >
>> https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git
>> > Running-> cordova plugin add
>> >
>> >
>> https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
>> > Running-> cordova plugin add
>> > https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
>> > Running-> cordova plugin add
>> > https://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts.git
>> > Running-> cordova plugin add
>> >
>> https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git
>> > Running-> cordova plugin add
>> > https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
>> > Running-> cordova plugin add
>> >
>> https://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization.git
>> > Running-> cordova plugin add
>> > https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
>> > Running-> cordova plugin add
>> > https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git
>> > Running-> cordova plugin add
>> > https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git
>> >
>> > I get errors like
>> > Error: [Error: Error fetching plugin: Error: failed to get the plugin
>> via
>> > git from URL
>> > https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git,
>> output:
>> > fatal: destination path 'plugman-tmp1377610558753' already exists and is
>> > not an empty directory.
>> >
>> >
>> > I was scratching my head last night because commands will work some
>> times
>> > and will not other times
>> >
>> > today I have a suspicion that it might be that I'm running the commands
>> in
>> > parallels, this helps speed the workflow but if it doesn't work all the
>> > time is not worthy.
>> >
>> >
>> > [1] https://github.com/csantanapr/grunt-cordovacli
>> > [2] http://gruntjs.com/api/grunt.util#grunt.util.spawn
>> >
>> >
>> >
>> > --
>> > Carlos Santana
>> > <csantana23@gmail.com>
>> >
>>
>
>
>
> --
> Carlos Santana
> <csantana23@gmail.com>
>



-- 
Carlos Santana
<csantana23@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message