Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

build.xml version.tag for system tools 14, syntax?

Tags:

android

ant

The new default build.xml has the following section:

    <!-- Import the actual build file.

         To customize existing targets, there are two options:
         ....
         (text removed for brevity)
         ....
         ***********************
         ****** IMPORTANT ******
         ***********************
         In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
         in order to avoid having your file be overridden by tools such as "android update project"
    -->
    <!-- version-tag: 1 -->

Is it sufficient to replace the '1' with 'custom' and leave the line commented out in order to stop the file being overwritten? Or is it necessary to uncomment it, and if so what is the correct syntax?

like image 329
NickT Avatar asked Oct 19 '11 19:10

NickT


1 Answers

Just replace '1' with 'custom':

<!-- version-tag: custom -->
like image 156
rmtheis Avatar answered Sep 30 '22 00:09

rmtheis