[ 
https://issues.apache.org/jira/browse/CB-8527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16811595#comment-16811595
 ] 

- commented on CB-8527:
-----------------------

That plugin you linked to, [~stevenigh], is a far cry from what one would 
expect of a solution to this issue. It only takes a look at its source code to 
understand why -- it does not *omit* anything technically, it renames that 
which matches the exclude pattern (in very creative way indeed) so that the 
underlying Cordova processes happen to miss copying the otherwise matched 
entries when `prepare` command is issued.

What if the file system part where the source code is, is read-only? The plugin 
is evidently a desperate workaround because the way it stands now, hooks alone 
cannot solve this, plugins or not.

Anyone knows where in the source code one would want to start at, locating the 
copying mechanism, so one can hopefully submit a pull request with desired 
changes? I will start digging, anyhow.



> Please add pgbomit functionality to the PhoneGap/Cordova CLI
> ------------------------------------------------------------
>
>                 Key: CB-8527
>                 URL: https://issues.apache.org/jira/browse/CB-8527
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-cli
>            Reporter: Chris Emerson
>            Priority: Major
>              Labels: exclude, omit, pgbomit
>
> Per the docs from PhoneGap Build here: 
> http://phonegap.com/blog/2014/04/11/phonegap-build-adds-some-new-features/#pgbomit
> Please add something similar for CLI, non-PhoneGap Build users, to be able to 
> exclude folders from a build w/out having to figure out/implement strange 
> hooks in each project.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to