brodybits opened a new issue #47: Fix or remove undocumented plugin directory 
source-file behavior
URL: https://github.com/apache/cordova/issues/47
 
 
   Triggered by @ippeiukai in 
<https://github.com/apache/cordova-android/issues/547#issuecomment-439331477>:
   
   > [...] behaviour of `source-file` is not documented, [...] it was working 
with `cordova-android@6` but no longer with `cordova-android@7`.
   > 
   > 
[vaenow/cordova-plugin-app-update#119](https://github.com/vaenow/cordova-plugin-app-update/pull/119)
   > (Specifying a directory with many `.java` files as source-file src no 
longer works.)
   > 
   > FYI: though not documented officially, it is a known behaviour:
   > https://stackoverflow.com/q/28042385
   
   The behavior to copy entire directory contents of a <source-file> element in 
case of a directory in the `src` attribute is undocumented. It is now working 
on cordova-ios@latest, cordova-osx@latest, and cordova-android@6 but not 
cordova-android@latest. (Source files would be put into incorrect subdirectory 
on cordova-android@latest.) But there are a couple issues with this 
undocumented feature on iOS and macOS ("osx"):
   * this feature does not work with header files
   * not possible to specify build flags per source file
   
   I can think of the following possible solutions:
   * explicitly remove this undocumented behavior
   * fix the behavior on cordova-android and document it

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to