cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "qi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6232) Failed to add plugin if project path contained words 'build'
Date Wed, 12 Mar 2014 01:35:42 GMT

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

qi updated CB-6232:
-------------------

    Description: 
I created a project named ios-build, then it just can't add any plugins.

Finally I figured out it was a regexp error at plugman/src/platforms/ios.js

line 175

config_files = config_files.filter(function (val) {
            return !(/^build\//.test(val)) && !(/\/www\/config.xml$/.test(val));
});

The workaround was simply removing the 'build' from name



  was:
I created a project named ios-build, then it just can't add any plugins.

Finally I figured out it was a regexp error at plugman/src/platforms/ios.js

line 175

config_files = config_files.filter(function (val) {
            return !(/^build\//.test(val)) && !(/\/www\/config.xml$/.test(val));
});




> Failed to add plugin if project path contained words 'build'
> ------------------------------------------------------------
>
>                 Key: CB-6232
>                 URL: https://issues.apache.org/jira/browse/CB-6232
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>    Affects Versions: 3.4.0
>         Environment: mac, osx 10.9.2
>            Reporter: qi
>
> I created a project named ios-build, then it just can't add any plugins.
> Finally I figured out it was a regexp error at plugman/src/platforms/ios.js
> line 175
> config_files = config_files.filter(function (val) {
>             return !(/^build\//.test(val)) && !(/\/www\/config.xml$/.test(val));
> });
> The workaround was simply removing the 'build' from name



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

Mime
View raw message