You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by vj...@apache.org on 2014/02/06 03:04:12 UTC
svn commit: r1565040 -
/ctakes/branches/ytex/ctakes-ytex/scripts/data/build.xml
Author: vjapache
Date: Thu Feb 6 02:04:12 2014
New Revision: 1565040
URL: http://svn.apache.org/r1565040
Log:
umls import
Modified:
ctakes/branches/ytex/ctakes-ytex/scripts/data/build.xml
Modified: ctakes/branches/ytex/ctakes-ytex/scripts/data/build.xml
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex/scripts/data/build.xml?rev=1565040&r1=1565039&r2=1565040&view=diff
==============================================================================
--- ctakes/branches/ytex/ctakes-ytex/scripts/data/build.xml (original)
+++ ctakes/branches/ytex/ctakes-ytex/scripts/data/build.xml Thu Feb 6 02:04:12 2014
@@ -33,7 +33,7 @@ Database connection parameters are taken
<!-- by default umls in same database/catalog as ytex -->
<property name="sql.dir" value="./${db.type}" />
- <property name="meta.tables" value="MRDOC,MRSAB,MRSTY,MRCONSO,MRREL" />
+ <property name="meta.tables" value="MRDOC,MRSTY,MRCONSO,MRREL" />
<!-- SU is in a different format -->
<property name="net.tables" value="SRDEF,SRFIL,SRFLD,SRSTR,SRSTRE1,SRSTRE2" />
<property name="sct.home" value="E:/temp/SnomedCT_RF2Release_INT_20110731/Snapshot/Terminology" />
@@ -77,6 +77,8 @@ Database connection parameters are taken
</target>
<target name="umls.check.mrconso" description="set mrconso.exists property if mrconso table can be found">
+ <echo>umls.schema ${umls.schema}</echo>
+ <echo>umls.catalog ${umls.catalog}</echo>
<delete file="${java.io.tmpdir}/mrconso-check.txt" quiet="yes" />
<if>
<equals arg1="${db.type}" arg2="mysql" />
@@ -168,7 +170,7 @@ Database connection parameters are taken
<antcall target="jdbc.sqlcmd">
<param name="sqlcmd.dir" value="umls" />
<param name="db.name" value="${umls.catalog}" />
- <param name="db.schema" value="${umls.prefix}" />
+ <param name="db.schema" value="${umls.schema}" />
<param name="sqlcmd.script" value="@{sqlcmd.script}" />
</antcall>
</sequential>
@@ -344,6 +346,9 @@ Database connection parameters are taken
</target>
<!-- uima script targets -->
<target name="jdbc.sqlcmd">
+ <echo>db.schema${db.schema}</echo>
+ <echo>umls.schema ${umls.schema}</echo>
+ <echo>umls.catalog ${umls.catalog}</echo>
<property name="sql.onerror" value="abort" />
<property name="sql.delimiter" value=";" />
<property name="sql.catalog" value="${db.name}" />