Saturday, January 11, 2014

Pkg.Version

Probably the most bonehead move in the android sdk is the assignment of the version of the sdk, sdk-tools, and extras libs to the variable property called Pkg.Version. Why?

Because, in ANT variables are immutable so you spend about 150 lines of code and a day or two learning a new ant task library in order to handle it as far as getting the version of
sdk, sdk-tools,and the extra libs from all those source.properties files in order to have a more agile build system that has the proper informative build log headers,etc.

Having a different prefix for every source.properties file pertaining to the artifact would have prevent this miss-step.

No comments:

Post a Comment

Hi,thank you for participating in the discussion by adding your comments.If this was bugged by the NSA you should have seen a little pop asking to relog back into your account.