YorkShen opened a new issue #2914: [DISCUSS][Android] Rename packageName from 
com.taobao.weex to org.apache.weex 
URL: https://github.com/apache/incubator-weex/issues/2914
 
 
   As one my pointed out, the Android package name in Weex is 
`com.taobao.xxx/com.alibaba.xxx` .
   
   Therefore, I’d like to proposal a new solution to fix the problem.
   
   1. Package name will be renamed from 'com.taobao.weex' to 'org.apache.weex' 
in source code and Apache Source Release as the previous plan.
   2. Create a custom gradle-plugin which could rename package back to 
‘com.taobao.weex’ at compiling time.
   3. Publish two build variants (weex_sdk and weex_sdk_legacy) each time 
building connivence library. weex_sdk will be compiled using the gradle-plugin 
mentioned above, while weex_sdk_legacy will not.
   4. Therefore, classes in weex_sdk will be under ‘org.apache.weex' package, 
and classes in weex_sdk_legacy will be under ‘com.taobao.weex’.
   New users of weex should choose weex_sdk and new API, while current users 
could continue using weex_sdk_legacy which provide the same API behavior as now.
   5. Finally, we would stop publishing weex_sdk_legacy sometime later.
   
   For users, There is a guarantee that the API behavior of weex_sdk_legacy is 
the same as before because the source code after processing of gradle-plugin is 
the same as before. 
   
   If you have any suggestions in this issue, please join the discussion in 
[mailing 
list](https://mail-archives.apache.org/mod_mbox/weex-dev/201906.mbox/%3CF313FE2D-DB39-4782-BD9B-38CA59029F02%40gmail.com%3E).
   
   Ref https://github.com/apache/incubator-weex/pull/2885 for the working draft.

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


With regards,
Apache Git Services

Reply via email to