Set SVN externals property for Android project

Android Studio Project Struct:

+--ProjectExample
+----AppModule
+----LibraryModule

Note:ProjectExample must has been committed.

  1. Commit LibraryModule to SVN server first:
    Right Click the module -->Subversion–>Share Directory, and then select the third option:
    这里写图片描述
    2.After that, commit the AppModule, which steps is the same above.
    3.Set svn externals to the project:
    Right click the project ProjectExample–>Subversion–>Set Property–>Select svn:externalsfrom drop-down menu of Property name, then set property value, which is the URL of LibraryModule.
    这里写图片描述
    Also, if you want to set more, just editing like below:
https://ip/svn/videocodec/trunk videocodec
https://ip/svn/imageloader/trunk imageloader
...

4.Lastly don’t forget commit that ‘property’ to SVN server.

ref:
1.外部定义

猜你喜欢

转载自blog.csdn.net/hhbgk/article/details/80194686