cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Mocny (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-3317) extend plugman with optional www_dir parameter
Date Thu, 02 May 2013 13:38:15 GMT

    [ 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

Mime
View raw message