<project name="entrez-organism" default="default" basedir=".">
  <description>build entrez-organism tasks</description>
  <import file="../../../imbuild/source.xml"/> 

  <!-- special case to create a ${tgt.xml.file} (in InterMine XML format) by
       finding the taxon ids in the objectstore, then retrieving the species name
       and genus from Entrez into the file -->
  <target name="-pre-retrieve" depends="source.-pre-retrieve">
    <property name="cp" refid="task.class.path"/>

    <taskdef name="retrieve-organisms" 
             classname="org.intermine.bio.dataconversion.EntrezOrganismRetriever">
      <classpath refid="task.class.path"/>
    </taskdef>
    
    <echo message="retrieving from ${src.data.file}"/>

    <retrieve-organisms osAlias="os.production" outputFile="${src.data.file}"/>
  </target>
</project>

<project name="entrez-organism" default="default" basedir=".">
  <description>build entrez-organism tasks</description>
  <import file="../../../imbuild/source.xml"/> 

  <!-- special case to create a ${tgt.xml.file} (in InterMine XML format) by
       finding the taxon ids in the objectstore, then retrieving the species name
       and genus from Entrez into the file -->
  <target name="-pre-retrieve" depends="source.-pre-retrieve">
    <property name="cp" refid="task.class.path"/>

    <taskdef name="retrieve-organisms" 
             classname="org.intermine.bio.dataconversion.EntrezOrganismRetriever">
      <classpath refid="task.class.path"/>
    </taskdef>
    
    <echo message="Writing organism Entrez entries to ${src.data.file}"/>

    <retrieve-organisms osAlias="os.production" outputFile="${src.data.file}"/>
  </target>
</project>

Correct misleading message in entrez-organism -pre-retrieve target. We are writing organisms.xml at this stage, not reading from it!
Correct misleading message in entrez-organism -pre-retrieve target.  We are writing organisms.xml at this stage, not reading from it!
