<?xml version='1.0' ?>
<project default='ll99/' 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_III_251'/>
    <arg value='${SAADA_DB_NAME}'/>
    </java>
</target>


<target name='lh/' depends='class.remove1'>
  <java classname='saadadb.dataloader.Loader' failonerror='false' fork='true'>
  <classpath refid='saada.classpath'/>
  <arg value="-filename=lh/"/>
  <arg value="-collection=vizier"/>
  <arg value="-category=spectrum"/>
  <arg value="-obscollection='III/251'"/>
  <arg value="-classfusion=sp_III_251"/>
  <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_III_251_"/>
  <arg value="-position=ALPHA,DELTA"/>
  <arg value="-system='ICRS'"/>
  <arg value="-target=OBJECT"/>
  <arg value="-tmin=DATE-OBS"/>
  <arg value="-emin='390'"/>
  <arg value="-emax='680'"/>
  <arg value="-spcunit='nm'"/>
  <arg value="-instrument=INSTRUME"/>
  <arg value="-facility='OHP'"/>
  <arg value="-ukw"/>
  <arg value="bib_reference='astro-ph/0703658'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='4'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='4'"/>
  <arg value="${SAADA_DB_NAME}"/>
  </java>
</target>

<target name='ll/' depends='lh/'>
  <java classname='saadadb.dataloader.Loader' failonerror='false' fork='true'>
  <classpath refid='saada.classpath'/>
  <arg value="-filename=ll/"/>
  <arg value="-collection=vizier"/>
  <arg value="-category=spectrum"/>
  <arg value="-obscollection='III/251'"/>
  <arg value="-classfusion=sp_III_251"/>
  <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_III_251_"/>
  <arg value="-position=ALPHA,DELTA"/>
  <arg value="-system='ICRS'"/>
  <arg value="-target=OBJECT"/>
  <arg value="-tmin=DATE-OBS"/>
  <arg value="-emin='390'"/>
  <arg value="-emax='680'"/>
  <arg value="-spcunit='nm'"/>
  <arg value="-instrument=INSTRUME"/>
  <arg value="-facility='OHP'"/>
  <arg value="-ukw"/>
  <arg value="bib_reference='astro-ph/0703658'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='4'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='4'"/>
  <arg value="${SAADA_DB_NAME}"/>
  </java>
</target>

<target name='ll99/' depends='ll/'>
  <java classname='saadadb.dataloader.Loader' failonerror='false' fork='true'>
  <classpath refid='saada.classpath'/>
  <arg value="-filename=ll99/"/>
  <arg value="-collection=vizier"/>
  <arg value="-category=spectrum"/>
  <arg value="-obscollection='III/251'"/>
  <arg value="-classfusion=sp_III_251"/>
  <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_III_251_"/>
  <arg value="-position=ALPHA,DELTA"/>
  <arg value="-system='ICRS'"/>
  <!--SKIP arg -emin=WCS.getMin(1)-->
  <!--SKIP arg -emax=WCS.getMax(1)-->
  <arg value="-facility='OHP'"/>
  <arg value="-ukw"/>
  <arg value="bib_reference='astro-ph/0703658'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='6'"/>
  <arg value="-ukw"/>
  <arg value="has_wcs='6'"/>
  <arg value="${SAADA_DB_NAME}"/>
  </java>
</target>
</project>