You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michal Mocny (JIRA)" <ji...@apache.org> on 2013/05/02 15:38:15 UTC
[jira] [Comment Edited] (CB-3317) extend plugman with optional
www_dir parameter
[ https://issues.apache.org/jira/browse/CB-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647520#comment-13647520 ]
Michal Mocny edited comment on CB-3317 at 5/2/13 1:36 PM:
----------------------------------------------------------
So to dump some of the rest of the ideas from yesterday (as a potential option):
This www_dir parameter is really the plugin-web-assets target directory. If cordova-cli choses to make that the app www/ directory, I think we end up injecting files inside a developers project/repo which I dont think is a good idea. However, cordova-cli could chose to make a temporary staging area for plugin-web-assets, and merge those in to the final platform www/ folders as a last merge step.
This www_dir parameter would be flexible enough for cordova-cli to chose the best solution later. However, I do think the name "www_dir" for this parameter is not appropriate. It really is a parameter to specify a target dir for web-assets, and assuming that will always be the www dir seems wrong.
was (Author: mmocny):
So to dump some of the rest of the ideas from yesterday (as a potential option):
This www_dir parameter is really the plugin-web-assets target directory. If cordova-cli choses to make that the app www/ directory, I think we end up injecting files inside a developers project/repo which I dont think is a good idea. However, cordova-cli could chose to make a temporary staging area for plugin-web-assets, and merge those in to the final plugin www/ folders as a last merge step.
This www_dir parameter would be flexible enough for cordova-cli to chose the best solution later. However, I do think the name "www_dir" for this parameter is not appropriate. It really is a parameter to specify a target dir for web-assets, and assuming that will always be the www dir seems wrong.
> extend plugman with optional www_dir parameter
> ----------------------------------------------
>
> Key: CB-3317
> URL: https://issues.apache.org/jira/browse/CB-3317
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: Plugman
> Reporter: Filip Maj
> Assignee: Anis Kadri
>
> Allows the user to specify the location of a project's www directory.
> Useful if the www directory is actually housed outside of a cordova project. cordova-cli would depend on this. Developers sharing code between a standard mobile web site and cordova applications could see benefits from this as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira