cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Commented] (CB-2717) Default installation folder for a plugin
Date Thu, 25 Apr 2013 22:16:18 GMT


Filip Maj commented on CB-2717:

to reiterate, plugman should "namespace" ios code under the plugins folder based on the plugin
> Default installation folder for a plugin
> ----------------------------------------
>                 Key: CB-2717
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS, Plugman
>    Affects Versions: Master
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
> 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:
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:

View raw message