Changeset 6 in tmcsimulator for trunk/IDE_metadata/NetBeans/TMCSim/build.xml


Ignore:
Timestamp:
04/20/2016 02:29:52 PM (10 years ago)
Author:
jdalbey
Message:

Multifile commit. Add version # to Paramics Communicator. Move Load button in Sim Mgr. Add several tests. Add package jars target.

File:
1 edited

Legend:

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

    r2 r6  
    1111    <description>Builds, tests, and runs the project TMCSim.</description> 
    1212    <import file="nbproject/build-impl.xml"/> 
    13     <property name="workdir" value="../../.."/>     
    14     <!-- 
     13    <property name="workdir" value="../../.."/> 
     14<!--        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" 
     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> 
     22</target> 
     23<!-- 
    1524                ================= 
    1625                LOC counter  
    1726                ================= 
    18      --> 
     27--> 
    1928<target description="Count Lines of Code in src directory." name="loc"> 
    2029        <java classname="textui.LOC" 
     
    4251                PACKAGE JARS SECTION 
    4352                ================= 
    44      --> 
     53--> 
    4554<target name="package-jars" depends="jar"> 
    4655 
    4756    <!--         *** Build a jar with everything ***            --> 
    48     <property name="deploy.jar.name" value="Sim305"/> 
     57    <property name="deploy.jar.name" value="TMCSimAll"/> 
    4958    <property name="deploy.dir" value="deploy"/> 
    5059    <property name="deploy.jar" value="${deploy.dir}/${deploy.jar.name}.jar"/> 
     
    7584      <jar destfile="${deploy.dir}/CADserver.jar" 
    7685       basedir="${build.dir}/classes" 
    77        includes="tmcsim/cadsimulator/**, tmcsim/common/**" 
     86       includes="tmcsim/cadsimulator/**, tmcsim/common/**, tmcsim/interfaces/**, 
     87                 tmcsim/client/cadclientgui/**, tmcsim/cadmodels/**" 
    7888       excludes="**/Test.class"> 
    7989        <manifest> 
     
    8595      <jar destfile="${deploy.dir}/SimManager.jar" 
    8696       basedir="${build.dir}/classes" 
    87        includes="tmcsim/simulationmanager/**, tmcsim/common/**" 
     97       includes="tmcsim/simulationmanager/**, tmcsim/common/**, tmcsim/cadmodels/**, 
     98            tmcsim/client/cadclientgui/**, tmcsim/interfaces/**" 
    8899       excludes="**/Test.class"> 
    89100        <manifest> 
     
    91102        </manifest> 
    92103      </jar> 
    93      
     104 
    94105      <!--                   *** Build CAD Client Only Jar ***         --> 
    95       <jar destfile="${deploy.dir}/CADClient.jar" filesetmanifest="skip" 
     106      <jar destfile="${deploy.dir}/CADClient.jar" 
    96107       basedir="${build.dir}/classes" 
    97        includes="tmcsim/client/**, tmcsim/common/**, tmcsim/interfaces/**"> 
     108       includes="tmcsim/client/**, tmcsim/common/**, tmcsim/interfaces/**,  
     109            tmcsim/cadmodels/**"> 
    98110        <manifest> 
    99111            <attribute name="Main-Class" value="tmcsim.client.CADClient"/> 
     112        </manifest> 
     113      </jar> 
     114      <!-- Remove the following line when we get CADClient to run  
     115      <delete file="${deploy.dir}/CADClient.jar"/>--> 
     116       
     117      <!--                   *** Build Paramics Communicator Only Jar ***         --> 
     118      <jar destfile="${deploy.dir}/ParamicsCommunicator.jar" 
     119       basedir="${build.dir}/classes" 
     120       includes="tmcsim/paramicscommunicator/**, tmcsim/common/**" 
     121       excludes="**/Test.class"> 
     122        <manifest> 
     123            <attribute name="Main-Class" value="tmcsim.paramicscommunicator.ParamicsCommunicator"/> 
    100124        </manifest> 
    101125      </jar> 
Note: See TracChangeset for help on using the changeset viewer.