Changeset 44 in tmcsimulator for trunk/IDE_metadata


Ignore:
Timestamp:
06/23/2016 06:30:20 PM (10 years ago)
Author:
jdalbey
Message:

MultiFile? commit: Add CADViewer Interface and change CADSimulator to Observer Pattern.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE_metadata/NetBeans/TMCSim/build.xml

    r23 r44  
    1313    <property name="workdir" value="../../.."/> 
    1414<!--        STORE SUBVERSION BUILD STRING      --> 
    15 <!-- Store the Subversion version string every time you do clean/build. --> 
    16 <target name="-pre-compile"> 
    17   <exec executable="svnversion" osfamily="unix" 
    18     output="${workdir}/config/svn-version.txt"/> 
    19     <echo file="${workdir}/config/svn-version.txt" append="true"> 
    20         # Do not edit. This file is autogenerated by the Ant build script # 
    21     </echo> 
     15<target name="-post-init" description="Sets the buildversion for the current build"> 
     16    <exec outputproperty="svna.version" executable="svnversion"> 
     17        <arg value="-c" /> 
     18        <redirector> 
     19            <outputfilterchain> 
     20                <tokenfilter> 
     21                    <replaceregex pattern="^[0-9]*:?" replace="" flags="g"/> 
     22                    <replaceregex pattern="M" replace="" flags="g"/> 
     23                </tokenfilter> 
     24            </outputfilterchain> 
     25        </redirector> 
     26    </exec> 
     27    <propertyfile file="${src.dir}/tmcsim/application.properties"> 
     28        <entry key="Application.revision" value="${svna.version}" type="int" operation="="/> 
     29    </propertyfile> 
     30    <echo>Setting SVN version: ${svna.version}</echo> 
     31</target> 
     32<target name="-post-jar" description="Sets the buildversion for the current build"> 
     33    <propertyfile file="${src.dir}/tmcsim/application.properties"> 
     34        <entry key="Application.buildnumber" value="1" type="int" operation="+"/> 
     35    </propertyfile> 
    2236</target> 
    2337<!-- 
Note: See TracChangeset for help on using the changeset viewer.