This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242783 - Application name not respected with Cordova 3.4.0-0.1.3
Summary: Application name not respected with Cordova 3.4.0-0.1.3
Status: RESOLVED DUPLICATE of bug 242779
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-11 09:40 UTC by Vladimir Riha
Modified: 2014-04-09 08:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-03-11 09:40:43 UTC
To reproduce: 
 - create e.g. HTML5 project (not Cordova) called "MyCordovaApp"
 - in project properties, create cordova resources and set application name to "SuperApp" and application ID to ends with this new name
 - run application on e.g. iOS device

=> application name is still MyCordovaApp. I've tried Cordova 3.3.0-0.1.1 and it works properly there.


More information from issue 242738, comment #3

"There seems to be a problem though around creating your own application id
in the Cordova -> Application tab (Application ID field) 
Underneath, the netbeans IDE is still using com.coolappz.<ProjectName> within the
build.xml file regardless of what is set in the Application ID field.
E.g. If Application ID is: net.myapp.MyProject cordova will build based on
com.coolappz.MyProject. "



Product Version: NetBeans IDE 8.0 (Build 201403101706)
Mac OS X 10.8.5
Cordova 3.4.0-0.1.3
Comment 1 Vladimir Riha 2014-03-13 08:00:17 UTC
...the same seems to happen with application version
Comment 2 Vladimir Riha 2014-03-13 09:20:08 UTC
The same happens with Android as well.
Comment 3 Jan Becicka 2014-03-17 10:25:07 UTC
Cordova is constantly changing files layout and configs.
I guess, that the problem is in config.xml.
Make sure, that you have only one config.xml, which must be at top level directory, not at www folder (this is the change between 3.3 and 3.4)
Did it start to work?
Comment 4 Vladimir Riha 2014-03-17 12:00:46 UTC
Yes, that works for Android, unfortunately I don't have a Mac right now to try iOS as well.
Comment 5 Jan Becicka 2014-03-21 07:50:51 UTC
*** Bug 242964 has been marked as a duplicate of this bug. ***
Comment 6 Jan Becicka 2014-03-21 07:56:36 UTC
Caused by moved config.xml

*** This bug has been marked as a duplicate of bug 242779 ***