简体   繁体   中英

How to get SVN revision number and then pass to android

I am trying to follow the article below:

http://ballardhack.wordpress.com/2010/09/28/subversion-revision-in-android-app-version-with-eclipse/

But I am lost to the description below:

Save this to .externalToolBuilders/AddSvnRevisionToVersion.launch (this folder, relative to the root of your project space, is the default location that Eclipse stores this kind of stuff; if you are adding this to more than one project, then name it using a fully-qualified name, like com.example.AddSvnRevisionToVersion.launch, because Eclipse makes these names global)

Obviously I couldn't create a folder with "." as folder name. Then what actually does the description above mean?

Beside that, anyone has better and simpler way to grasp SVN revision number when we build android app by using eclipse? I am a IDE user, so build the app with command line is quite tough for me.

I believe this folder already exists. It's preceded by a '.' meaning it's probably hidden.

Try making your hidden files visible (instructions will vary depending on your OS) and searching for it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM