As a new user, I would probably be confused to find a
`com.taobao.xxx/com.alibaba.xxx` package name in an Apache Software
Foundation project.

As a a developer, I have no idea how to rename a Java package in a
backwards compatible way though. Proxy classes maybe that just import
and "redirect" to the new packages?

I don't know if there were earlier Java/Android projects added to
Apache after they already had packages names in use. Might be worth
asking on the incubator mailing list, maybe someone can remember
something.

Best,
Jan

Am Fr., 28. Juni 2019 um 04:45 Uhr schrieb York Shen <[email protected]>:
>
> Hi, community
>
> As Jan pointed out[1], the Android package name in Weex is 
> com.taobao.xxx/com.alibaba.xxx .
>
> I’d like to know whether there are rules about package name in ASF’s project 
> must starts with org.apache.xxx . If so, I’d like to know if there is a 
> zero-cost/low-cost upgrading method for renaming package names. It’s easy to 
> rename all Android package to org.apache.xxx , but users would probably have 
> a lot of complains about this renaming, which should cause compiling error 
> when our users are building Android App with latest Weex.
>
> BTW: This is only for Android(Java Code), as there is no such concept(Package 
> Name) in C++/C/Objective C/JavaScript.
>
> [1] https://github.com/apache/incubator-weex/issues/2148 
> <https://github.com/apache/incubator-weex/issues/2148>
> [2] 
> https://github.com/apache/incubator-weex/blob/master/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
>  
> <https://github.com/apache/incubator-weex/blob/master/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java>
>
> Best Regards,
> York Shen
>
> 申远
>

Reply via email to