2011-10-19 6 views
5

新しいデフォルトのbuild.xmlは次のセクションがあります。システムツール14のbuild.xml version.tag、構文?

<!-- 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 --> 

は「カスタム」と「1」を交換し、上書きされたファイルを停止するためにコメントアウト行を残して、それは十分ですか?または、コメントを外す必要がありますか?その場合、正しい構文は何ですか?

+0

を使用すると、 "新しいデフォルトのbuild.xml" とは何を意味するのですか?どのツールを使ってそれを生成しましたか? –

+0

@Alex - 以前のSDKのプロジェクトのbuild.xmlによって自動的にインポートされたant_rules.xmlファイルは、SDKのAntディレクトリの 'build.xml'に置き換えられました。 – NickT

答えて

6

ただ、 'カスタム' と '1' に置き換えます。

<!-- version-tag: custom --> 
関連する問題