Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h1>Build Process</h1> <ol> <li><code>build_info.properties</code> will be created during build in your project folder You could write all information about your build in this file. <ul> <li>Like build number, major and minor numbers of release, timestamp, and revision number.</li> </ul></li> <li>Your build script can modify these values how ever your want</li> <li>After the build was successfull commit the file 'build_info.properties' back to the repository</li> </ol> <h1>During Development</h1> <p>After first build the file build_info.properties will be placed in the repository. You can change and commit any number (major, minor, build numbers) by your self when ever you want, or increase it automatically during build like build.number in the example below. </p> <h1>svnant Example</h1> <p>Using svnant 1.3.0:</p> <pre><code>&lt;target name="checkout"&gt; &lt;echo&gt;Checking out revision ${param_SubProjectSvnREV} of project: ${param_SubProjectSvnName}&lt;/echo&gt; &lt;svn username="${svnant.repository.user}" password="${svnant.repository.passwd}"&gt; &lt;checkout url="${svnant.latest.url}/${param_SubProjectSvnName}/" revision="${param_SubProjectSvnREV}" destPath="${all.projects.dir}/${param_SubProjectDirName}" /&gt; &lt;info target="${all.projects.dir}/${param_SubProjectDirName}" &gt;&lt;/info&gt; &lt;/svn&gt; &lt;propertyfile file="${all.projects.dir}/${param_SubProjectDirName}/build_info.properties" comment="Modify build numbers in a properties file."&gt; &lt;entry key="build.number" type="int" operation="+" value="1" pattern="00"/&gt;&lt;!--increment it here --&gt; &lt;entry key="build.revision" type="string" value="${svn.info.rev}"/&gt; &lt;entry key="build.major.number" default="01"/&gt;&lt;!-- can do some logic here to increase the values, or write value from somewhere else--&gt; &lt;entry key="build.minor.number" default="01"/&gt;&lt;!-- can do some logic here to increase the values, or write value from somewhere else--&gt; &lt;/propertyfile&gt; &lt;/target&gt; &lt;target name="compile" depends="checkout"&gt; &lt;property file="${all.projects.dir}/${param_SubProjectDirName}/build_info.properties" /&gt; &lt;mkdir dir="${release.name}/${param_SubProjectDirName}/${build.major.number}.${build.minor.number}.${build.number}" /&gt; &lt;!-- compile it to the new folder, an so on... --&gt; &lt;!-- after all, if the build wass successfull, commit the file 'build_info.properties' back to repository --&gt; &lt;/target&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. 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.
    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