<?xml version='1.0' ?>
<project default='kast.list' name='userTask'>
<property file='${SAADA_PROPERTY}'/>
<property name='jvm_initial_size' value='-Xms64m'/>
<property name='jvm_max_size' value='-Xmx1024m'/>
<path id='saada.classpath'>
  <pathelement location='${SAADA_DB_HOME}/class_mapping/'/>
  <pathelement location='${SAADA_DB_HOME}/lib/BigSaadaJar.jar'/>
  <pathelement location='${SAADA_DB_HOME}/lib/saadadb.jar'/>
  <pathelement location='${SAADA_DB_HOME}/jtools/servlet-api.jar'/>
  <pathelement location='${SAADA_DB_HOME}/jtools/catalina-ant.jar'/>
</path>
<target name='class.remove1'>
    <java fork='true' classname='saadadb.command.ManageClass' failonerror='false' >
    <classpath refid='saada.classpath'/>
    <arg value='-remove=sp_J_ApJ_861_63'/>
    <arg value='${SAADA_DB_NAME}'/>
    </java>
</target>


<target name='floyds.list' depends='class.remove1'>
  <java classname='saadadb.dataloader.Loader' failonerror='false' fork='true'>
  <classpath refid='saada.classpath'/>
  <arg value="-filelist=floyds.list"/>
  <arg value="-collection=vizier"/>
  <arg value="-category=spectrum"/>
  <arg value="-obscollection='J/ApJ/861/63'"/>
  <arg value="-classfusion=sp_J_ApJ_861_63"/>
  <arg value="-noindex"/>
  <arg value="-repository=no"/>
  <arg value="-obsmapping=first"/>
  <arg value="-polarmapping=first"/>
  <arg value="-posmapping=first"/>
  <arg value="-spcmapping=first"/>
  <arg value="-timemapping=first"/>
  <arg value="-name=sp_J_ApJ_861_63_floyds.list"/>
  <arg value="-position=RA,DEC"/>
  <arg value="-system='ICRS'"/>
  <arg value="-target=OBJECT"/>
  <arg value="-tmin=DATE-OBS"/>
  <arg value="-exptime=EXPTIME"/>
  <!--SKIP arg -emin=__WCS__-->
  <!--SKIP arg -emax=__WCS__-->
  <arg value="-instrument=INSTRUME"/>
  <arg value="-facility='Las Cumbres 2m'"/>
  <arg value="-ukw"/>
  <arg value="bib_reference='2018ApJ...861...63H'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='2'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='2'"/>
  <arg value="${SAADA_DB_NAME}"/>
  </java>
</target>

<target name='bfosc.list' depends='floyds.list'>
  <java classname='saadadb.dataloader.Loader' failonerror='false' fork='true'>
  <classpath refid='saada.classpath'/>
  <arg value="-filelist=bfosc.list"/>
  <arg value="-collection=vizier"/>
  <arg value="-category=spectrum"/>
  <arg value="-obscollection='J/ApJ/861/63'"/>
  <arg value="-classfusion=sp_J_ApJ_861_63"/>
  <arg value="-noindex"/>
  <arg value="-repository=no"/>
  <arg value="-obsmapping=first"/>
  <arg value="-polarmapping=first"/>
  <arg value="-posmapping=first"/>
  <arg value="-spcmapping=first"/>
  <arg value="-timemapping=first"/>
  <arg value="-name=sp_J_ApJ_861_63_bfosc.list"/>
  <arg value="-ignore=CRTYPE*"/>
  <arg value="-position=RA,DEC"/>
  <arg value="-system='ICRS'"/>
  <arg value="-target=OBJECT"/>
  <arg value="-tmin=DATE-OBS"/>
  <arg value="-tmax=DATE-END"/>
  <arg value="-exptime=EXPTIME"/>
  <!--SKIP arg -emin=__WCS__-->
  <!--SKIP arg -emax=__WCS__-->
  <arg value="-ukw"/>
  <arg value="em_band='5'"/>
  <arg value="-spcunit='nm'"/>
  <arg value="-instrument='BFOSC'"/>
  <arg value="-facility='Xinglong 2.16m'"/>
  <arg value="-ukw"/>
  <arg value="bib_reference='2018ApJ...861...63H'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='6'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='6'"/>
  <arg value="${SAADA_DB_NAME}"/>
  </java>
</target>

<target name='kast.list' depends='bfosc.list'>
  <java classname='saadadb.dataloader.Loader' failonerror='false' fork='true'>
  <classpath refid='saada.classpath'/>
  <arg value="-filelist=kast.list"/>
  <arg value="-collection=vizier"/>
  <arg value="-category=spectrum"/>
  <arg value="-obscollection='J/ApJ/861/63'"/>
  <arg value="-classfusion=sp_J_ApJ_861_63"/>
  <arg value="-noindex"/>
  <arg value="-repository=no"/>
  <arg value="-obsmapping=first"/>
  <arg value="-polarmapping=first"/>
  <arg value="-posmapping=first"/>
  <arg value="-spcmapping=first"/>
  <arg value="-timemapping=first"/>
  <arg value="-name=sp_J_ApJ_861_63_kast.list"/>
  <arg value="-position=RA,DEC"/>
  <arg value="-system='ICRS'"/>
  <arg value="-target=OBJECT"/>
  <arg value="-tmin=DATE-OBS"/>
  <arg value="-tmax=DATE-END"/>
  <arg value="-exptime=EXPTIME"/>
  <!--SKIP arg -emin=__WCS__-->
  <!--SKIP arg -emax=__WCS__-->
  <arg value="-instrument='KAST'"/>
  <arg value="-facility='Lick 3m'"/>
  <arg value="-ukw"/>
  <arg value="bib_reference='2018ApJ...861...63H'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='2'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='2'"/>
  <arg value="${SAADA_DB_NAME}"/>
  </java>
</target>
</project>