You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/05/17 05:25:15 UTC

[jira] [Resolved] (CB-2717) Default installation folder for a plugin

     [ https://issues.apache.org/jira/browse/CB-2717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj resolved CB-2717.
---------------------------

    Resolution: Fixed
      Assignee: Filip Maj  (was: Shazron Abdullah)

Added namespacing of plugin files within the Plugins/ dir by plugin id in latest master.

Published as 0.7.2 on npm.
                
> Default installation folder for a plugin
> ----------------------------------------
>
>                 Key: CB-2717
>                 URL: https://issues.apache.org/jira/browse/CB-2717
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS, Plugman
>    Affects Versions: Master
>            Reporter: Shazron Abdullah
>            Assignee: Filip Maj
>
> Right now if you don't set a *target-dir* attribute on a *source-file* or *header-file* element, it will put everything flat in to the *Plugins* folder. For installing multiple plugins, this would look like a mess.
> I worked around this by explicitly specifying the *target-dir*, but as you can see in this *plugin.xml* below, there is a lot of redundant information:
> https://github.com/shazron/ZipUtil/blob/a0fd1b26964bbf55e061fa664f82598fae57a0ea/plugin.xml which may be prone to errors.
> For a default, my suggestion is for plugman to install a plugin into a folder (specified by the plugin-name or  id, then use the same child hierarchy specified in the *src* attribute of a *source-file* or *header-file* element. 
> If my suggestion was implemented -- the removal of the *target-dir* attribute from the *source-file* and *header-file* elements of the *plugin.xml* specified above would have the same result as if I didn't remove them.

--
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