_From @raphinesse on July 5, 2018 9:4_ ### Current situation
Ignoring all special cases discussed in #103, `cordovaCreate` w/ enabled `link` option will - symlink folders `www`, `merges` and `hooks` - symlink the file `config.xml` #### Pain Points - The current implementation does not seem to solve any valid use cases - This is a major impediment to a sane implementation of #69. Especially the need for renaming to `.gitingore` in cordova-create (apache/cordova-create#8), is heavily conflicting with the linking feature. - Needs special privileges on Windows since it also links files. - `hooks` is deprecated ### Proposal **Drop it.** :fire: It seems it was planned to remove `--link-to` before https://github.com/apache/cordova-discuss/pull/49#issuecomment-226050676. Support was then removed in apache/cordova-lib#456 and re-added in https://github.com/apache/cordova-create/commit/79cace59bb7c04d5ac989b074e688e731a88ae8f addressing https://issues.apache.org/jira/browse/CB-11623 which is still open because the current implementation apparently still not satisfies the reporter's requirements. :unamused: The reporter's requirements are to create a cordova project with `www` linking to some existing web app. This could be easily achieved by running ```shell $ cordova create bin com.example.domain APPNAME $ rm -r bin/www && ln -sr www bin/www ``` instead of ```shell $ cordova create bin com.example.domain APPNAME --link-to=www ``` --- Evolved from #89 _Copied from original issue: apache/cordova-discuss#104_ [ Full content available at: https://github.com/apache/cordova-create/issues/26 ] This message was relayed via gitbox.apache.org for [email protected]
