cordova-dev mailing list archives

Re: CB-6088: platform add firefoxos fails if config.xml in project but not in www

Date

Fri, 21 Feb 2014 22:14:47 GMT

Yes,
I faced this issue too earlier today and created
https://issues.apache.org/jira/browse/CB-6082 for that.
Cool to have already a PR :)
Seb
On Fri, Feb 21, 2014 at 10:38 PM, Axel Nennker <ignisvulpis@gmail.com>wrote:
> Hi,
>
> "platform add firefoxos" fails if config.xml in project but not in www.
>
> config.xml moved to project_dir but firefoxos.js expects it in www and
> fails.
>
> Here is a pull request that looks for config.xml in project_dir first but
> falls back to www if not found.
>
> https://github.com/apache/cordova-plugman/pull/52
>
> This is no problem on platforms like Android because e.g. android.js gets
> the package_name from AndroidManifest.xml but firefoxos.js tries to
> retrieve it from config.xml.
> manifest.webapp is not existing at this point.
>
> cheers
> Axel
>