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

ASF GitHub Bot commented on CB-11771:
-------------------------------------

Github user mbektchiev commented on the issue:

    https://github.com/apache/cordova-ios/pull/244
  
    I'm not sure if the same behavior can be reproduced with `cordova-ios`. But 
since the code is exactly the same as the one in `cordova-android` I thought it 
might be good idea to keep it consistent and fix it here as well. 
    
    Basically the scenario is to install a plugin which contains a custom 
Android library code with `--link`. All intermediate build files are created 
inside a `build` sub-directory and they leak into the plugin's directory.


> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -----------------------------------------------------------------------------------------
>
>                 Key: CB-11771
>                 URL: https://issues.apache.org/jira/browse/CB-11771
>             Project: Apache Cordova
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Plugman
>    Affects Versions: 1.3.0
>            Reporter: Martin Bektchiev
>            Assignee: Martin Bektchiev
>            Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to