You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Axel Nennker <ig...@gmail.com> on 2014/02/21 22:38:34 UTC

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

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

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

Posted by Sebastien Blanc <sc...@gmail.com>.
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 <ig...@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
>