[ https://issues.apache.org/jira/browse/CB-7231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile resolved CB-7231. ------------------------------ Resolution: Fixed It's been working like this for a long time, so closing as resolved > Provide more control over CordovaProjectName vs CordovaAppName > -------------------------------------------------------------- > > Key: CB-7231 > URL: https://issues.apache.org/jira/browse/CB-7231 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-lib > Affects Versions: Master > Reporter: Carlos Santana > Priority: Major > > Discussion in mailing list > http://callback.markmail.org/thread/lsk6vewllowofxf3 > and here: > http://callback.markmail.org/thread/qk7eztl46rmvklch > When user wants to have the App name show on the screen of the they might > characters that are incompatible with file and directory names. > Today when a user sets a custom name via cli create, it's use for app name > but also for native files and directory names (depends on platform) > cordova create 'שלום' > the value 'שלום' will be use for the cordova project path, app name, and > native files. > Or another use case is config.xml, if user sets a new name like > <name>שלום</name> > then runs a cordova build > then the app name and native files will refactor with new name. > The enhancement is to allow the developer to specify an app name without > affecting the native platform files. > One proposal for config.xml is to keep backward compatibility is to use > attribute in 'project' in name tag like > if attribute not specify (i.e. default) or not different from previous build > then do not change native plafform files or directory names. > Use will be able to control both values like: > <name project="HelloCordova">שלום</name> > For the cli or platform shell script then allow to pass optional parameter > for projectname, if not pass then appname is use to keep backwards > compatibility > CLI: > cordova create MyCordovaFolder com.example.mycordova שלום > --project="HelloCordova" > or Shell script > like in cordova-ios/bin/create > Usage: $0 [--shared] [--arc] [--cli] <path_to_new_project> <package_name> > <project_name> [<project_template_dir>] > project_name only affects app name, and not project files, default value > HelloCordova will be use unless specify like --project > cordova-ios/bin/create projectpath com.example.myapp שלום > --project="myxcodeprojectname" > Cordova CLI (metadata platform parsers) and all platforms create scripts will > need to be updated -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org