
<project name="testmodel-dbmodel" default="default" basedir=".">
   
  <description>perform actions on the testmodel database</description>
  <import file="../../imbuild/objectstore.xml"/>
  
  <target name="insert-data-unittest" depends="build-db">
    <!-- Invalidate (delete) summary properties -->
    <delete file="${objectstoresummary.properties}"/>
    <insert-xml-data integrationWriter="integration.unittestmulti"
                     xmlResource="testmodel_data.xml"
                     sourceName="testsource"/>
  </target>

  <!-- OVERRIDEN TO ADD MODEL XML TO JAR -->

  <target name="-init-presetdef-jar" depends="-pre-init">
    <presetdef name="jar" uri="http://www.intermine.org/ns/im-lib-proj/1">
      <jar compress="${jar.compress}" jarfile="${dist.jar}">
        <fileset dir="${build.classes.dir}"/>
        <fileset dir="${resources.dir}"/>
        <fileset file="${build.dir}/model/${model.name}_model.xml"/>
        <fileset file="${build.dir}/model/class_keys.properties"/>
      </jar>
    </presetdef>
  </target>


</project>



<project name="testmodel-dbmodel" default="default" basedir=".">
   
  <description>perform actions on the testmodel database</description>
  <import file="../../imbuild/objectstore.xml"/>
  
  <target name="insert-data-unittest" depends="build-db">
    <!-- Invalidate (delete) summary properties -->
    <delete file="${objectstoresummary.properties}"/>
    <insert-xml-data integrationWriter="integration.unittestmulti"
                     xmlResource="testmodel_data.xml"
                     sourceName="testsource"
                     sourceType="testsource"/>
  </target>

  <!-- OVERRIDEN TO ADD MODEL XML TO JAR -->

  <target name="-init-presetdef-jar" depends="-pre-init">
    <presetdef name="jar" uri="http://www.intermine.org/ns/im-lib-proj/1">
      <jar compress="${jar.compress}" jarfile="${dist.jar}">
        <fileset dir="${build.classes.dir}"/>
        <fileset dir="${resources.dir}"/>
        <fileset file="${build.dir}/model/${model.name}_model.xml"/>
        <fileset file="${build.dir}/model/class_keys.properties"/>
      </jar>
    </presetdef>
  </target>


</project>


Set the source type to avoid an exception.
Set the source type to avoid an exception.



Former-commit-id: 0c0c83653dd54ab12fa4615f5ca882a2d1fb2d9d