Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <code>build_info.properties</code> file:</p> <pre><code>build.major.number=00 build.revision.number=00 build.minor.number=00 </code></pre> <p>The <code>build.xml</code> file:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;project name="project" default="current-number"&gt; &lt;property file="build_info.properties"/&gt; &lt;property name="build.number" value="${build.major.number}.${build.minor.number}.${build.revision.number}"/&gt; &lt;target name="current-number"&gt; &lt;echo&gt;Current build number:${build.number}&lt;/echo&gt; &lt;/target&gt; &lt;target name="compile"&gt; &lt;antcall target="revision"&gt;&lt;/antcall&gt; &lt;/target&gt; &lt;target name="dist"&gt; &lt;antcall target="minor"&gt;&lt;/antcall&gt; &lt;/target&gt; &lt;target name="revision"&gt; &lt;propertyfile file="build_info.properties"&gt; &lt;entry key="build.revision.number" type="int" operation="+" value="1" pattern="00"/&gt; &lt;/propertyfile&gt; &lt;/target&gt; &lt;target name="minor"&gt; &lt;propertyfile file="build_info.properties"&gt; &lt;entry key="build.minor.number" type="int" operation="+" value="1" pattern="00"/&gt; &lt;entry key="build.revision.number" type="int" value="0" pattern="00"/&gt; &lt;/propertyfile&gt; &lt;/target&gt; &lt;target name="major"&gt; &lt;propertyfile file="build_info.properties"&gt; &lt;entry key="build.major.number" type="int" operation="+" value="1" pattern="00"/&gt; &lt;entry key="build.minor.number" type="int" value="0" pattern="00"/&gt; &lt;entry key="build.revision.number" type="int" value="0" pattern="00"/&gt; &lt;/propertyfile&gt; &lt;/target&gt; &lt;target name="all"&gt; &lt;propertyfile file="build_info.properties"&gt; &lt;entry key="build.major.number" type="int" operation="+" value="1" pattern="00"/&gt; &lt;entry key="build.minor.number" type="int" operation="+" value="1" pattern="00"/&gt; &lt;entry key="build.revision.number" type="int" operation="+" value="1" pattern="00"/&gt; &lt;/propertyfile&gt; &lt;/target&gt; &lt;/project&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload