2003-12-24 14:22:58 +00:00
<!--
This build file requires a build.properties file with the following properties:
#Configure properties to access the Manager application user/pass combo should be in $TOMCAT_HOME/conf/tomcat-users.xml with manager role.
catalina.home=/usr/local/tomcat
catalina.base=/usr/local/tomcat
url=http://localhost:2020/manager
2004-06-20 17:00:33 +00:00
username=c
2003-12-24 14:22:58 +00:00
password=
#provide location of working copy of lex-context-config.xml
lex.context.config=lex-context-config-working.xml
#These properties need to be set to run the unit tests. They are your login to the dictionary
lex.username=
lex.password=
jmeterhome=../jmeter
-->
2003-10-06 15:08:56 +00:00
<project name= "Lex" default= "compile" basedir= "." >
2003-10-06 00:20:38 +00:00
2003-10-08 18:24:08 +00:00
<!-- Configure the directory into which the web application is built -->
2003-10-06 00:20:38 +00:00
<property name= "build" value= "${basedir}/build" />
<!-- Configure the directory containing the source files -->
<property name= "source" value= "${basedir}/src" />
2003-10-06 03:14:54 +00:00
2003-10-06 00:20:38 +00:00
<!-- Configure the context path for this application -->
<property name= "path" value= "/lex" />
2004-01-07 20:54:45 +00:00
<!-- <property file="${user.home}/.${ant.project.name} - build.properties"/>
2003-12-24 14:22:58 +00:00
<property file= "${user.home}/.build.properties" />
2004-06-20 17:00:33 +00:00
-->
<property file= "build.properties" />
2003-10-06 00:20:38 +00:00
2003-10-06 03:36:39 +00:00
<!-- Configure the custom Ant tasks for the Manager application
These tasks require catalina-ant.jar in $ANT_HOME/lib-->
2003-10-06 00:20:38 +00:00
<taskdef name= "deploy" classname= "org.apache.catalina.ant.DeployTask" />
<taskdef name= "install" classname= "org.apache.catalina.ant.InstallTask" />
<taskdef name= "list" classname= "org.apache.catalina.ant.ListTask" />
<taskdef name= "reload" classname= "org.apache.catalina.ant.ReloadTask" />
<taskdef name= "remove" classname= "org.apache.catalina.ant.RemoveTask" />
<taskdef name= "resources" classname= "org.apache.catalina.ant.ResourcesTask" />
<taskdef name= "roles" classname= "org.apache.catalina.ant.RolesTask" />
<taskdef name= "start" classname= "org.apache.catalina.ant.StartTask" />
<taskdef name= "stop" classname= "org.apache.catalina.ant.StopTask" />
<taskdef name= "undeploy" classname= "org.apache.catalina.ant.UndeployTask" />
2003-10-08 18:24:08 +00:00
<!-- Configure the classpath -->
2003-10-06 15:08:56 +00:00
<path id= "classpath" >
2003-10-06 02:56:10 +00:00
<fileset dir= "${basedir}/lib" >
2003-10-06 00:20:38 +00:00
<include name= "**/*.jar" />
</fileset>
2003-10-06 17:10:12 +00:00
<fileset dir= "${catalina.home}/common/lib" >
2004-06-26 13:14:05 +00:00
<include name= "servlet-api.jar" />
2004-06-20 17:00:33 +00:00
<include name= "*.jar" />
2003-10-06 17:10:12 +00:00
<include name= "mysql-connector-java-3.0.8-stable-bin.jar" />
</fileset>
2003-10-08 18:24:08 +00:00
<!-- point to org/thdl/users -->
2003-10-06 00:20:38 +00:00
<pathelement location= "${build}/WEB-INF/classes" />
</path>
2003-10-08 18:24:08 +00:00
2003-10-06 00:20:38 +00:00
<!-- Executable Targets -->
<target name= "copy" description= "copy jsp, html, css, js, and other files into the build directory" >
<copy todir= "${build}" >
<fileset dir= "${source}/jsp" >
2003-10-08 18:24:08 +00:00
<include name= "*.jsp" />
<include name= "*.jsf" />
</fileset>
</copy>
<copy todir= "${build}/jsp" >
<fileset dir= "${source}/jsp/jsp" >
<include name= "*.jsp" />
<include name= "*.jsf" />
2003-10-06 00:20:38 +00:00
</fileset>
</copy>
2003-10-06 03:36:39 +00:00
<copy todir= "${build}/css" >
<fileset dir= "${source}/css" >
2003-10-06 00:20:38 +00:00
<include name= "*.css" />
</fileset>
</copy>
2003-10-06 03:36:39 +00:00
<copy todir= "${build}/js" >
<fileset dir= "${source}/js" >
2003-10-06 00:20:38 +00:00
<include name= "*.js" />
</fileset>
</copy>
<copy todir= "${build}/images" >
<fileset dir= "${basedir}/images" > </fileset>
</copy>
<copy todir= "${build}/WEB-INF" >
2003-10-06 15:08:56 +00:00
<fileset dir= "${basedir}/config" >
2003-10-06 00:20:38 +00:00
<filename name= "web.xml" />
</fileset>
</copy>
<copy todir= "${build}/WEB-INF/classes" >
<fileset dir= "${source}/java" >
<include name= "**/*.xml" />
<include name= "**/*.properties" />
</fileset>
</copy>
<copy todir= "${build}/WEB-INF/tld" >
2003-10-06 02:56:10 +00:00
<fileset dir= "${basedir}/tld" >
2003-10-06 00:20:38 +00:00
<include name= "*.tld" />
</fileset>
</copy>
2004-06-20 17:00:33 +00:00
2003-10-06 00:20:38 +00:00
<copy todir= "${build}/WEB-INF/lib" >
2003-10-06 03:14:54 +00:00
<fileset dir= "${basedir}/lib/jstl" >
2003-10-06 00:20:38 +00:00
<include name= "*.jar" />
</fileset>
2003-10-06 03:14:54 +00:00
<fileset dir= "${basedir}/lib/hibernate" >
2003-10-06 00:20:38 +00:00
<include name= "*.jar" />
2004-06-20 17:00:33 +00:00
</fileset>
2003-10-22 21:00:00 +00:00
<fileset dir= "${basedir}/lib/thdl" >
<include name= "*.jar" />
2004-06-20 17:00:33 +00:00
</fileset>
<fileset dir= "${basedir}/lib/commons" >
<include name= "*.jar" />
</fileset>
2003-11-11 02:35:38 +00:00
<fileset dir= "${basedir}/lib/jwebunit" >
<include name= "*.jar" />
2003-10-06 00:20:38 +00:00
</fileset>
2004-06-20 17:00:33 +00:00
<!-- <fileset dir="${basedir}/lib/dlese - oai">
2003-12-23 06:22:33 +00:00
<include name= "*.jar" />
</fileset>
<fileset dir= "${basedir}/lib/oai-xmlbeans" >
<include name= "*.jar" />
2004-06-20 17:00:33 +00:00
</fileset> -->
2003-10-06 00:20:38 +00:00
</copy>
2004-06-20 17:00:33 +00:00
2003-10-06 00:20:38 +00:00
</target>
2004-06-20 17:00:33 +00:00
2003-10-06 00:20:38 +00:00
<target name= "compile" description= "Compile web application" depends= "copy" >
<mkdir dir= "${build}/WEB-INF/classes" />
2004-06-20 17:00:33 +00:00
<javac srcdir= "${thdluser.home}/src/java" destdir= "${build}/WEB-INF/classes" deprecation= "on" classpathref= "classpath" debug= "on" > </javac>
<javac destdir= "${build}/WEB-INF/classes" classpathref= "classpath" debug= "on" listfiles= "no" >
<src path= "${source}/java" />
2004-06-26 13:14:05 +00:00
<include name= "org/thdl/lex/util/DictionaryImporter.java" />
2004-06-20 17:00:33 +00:00
<include name= "org/thdl/lex/**" />
<exclude name= "**/old/**" />
<exclude name= "**/test/**" />
<exclude name= "**/util/**" />
<exclude name= "**/LexSourceRepository.java/**" />
</javac>
</target>
2003-10-06 00:20:38 +00:00
2004-06-20 17:00:33 +00:00
<target name= "javadoc" description= "Create Javadocs" >
2003-10-08 18:24:08 +00:00
<javadoc destdir= "${build}/apidocs/" classpathref= "classpath" author= "true" version= "true" use= "true" windowtitle= "THDL Tibetan Collaborative Dictionary API" >
2003-10-06 00:20:38 +00:00
<fileset dir= "${source}/java" defaultexcludes= "yes" >
<include name= "org/thdl/**/*.java" />
</fileset>
<doctitle > <![CDATA[<h1>THDL Tibetan Collaborative Dictionary Javadocs</h1>]]> </doctitle>
<bottom > <![CDATA[<i>Copyright © 2003 THDL. All Rights Reserved.</i>]]> </bottom>
<tag name= "todo" scope= "all" description= "To do:" />
<group title= "Lex Basics" packages= "org.thdl.lex" />
<group title= "Lex Commands" packages= "org.thdl.lex.commands" />
<group title= "Lex Components" packages= "org.thdl.lex.component" />
<group title= "Lex Sub-components" packages= "org.thdl.lex.component.child" />
<link href= "http://developer.java.sun.com/developer/products/xml/docs/api/" />
</javadoc>
</target>
2004-01-07 20:54:45 +00:00
<target name= "install" description= "Install web application" depends= "compile" >
2003-12-23 06:52:23 +00:00
<install url= "${url}" username= "${username}" password= "${password}" path= "${path}" config= "file://${basedir}/${lex.context.config}" war= "file://${build}" />
2003-10-06 00:20:38 +00:00
</target>
2004-01-07 20:54:45 +00:00
<!-- <target name="move - log" description="move old log file">
2003-10-06 15:08:56 +00:00
<mkdir dir= "logs" />
2003-10-13 17:12:27 +00:00
<mkdir dir= "logs/old" />
2003-10-06 00:20:38 +00:00
<tstamp prefix= "now" />
<touch file= "${basedir}/logs/hibernate.log" />
2003-10-13 17:12:27 +00:00
<move file= "${basedir}/logs/hibernate.log" tofile= "${basedir}/logs/old/${now.DSTAMP}_${now.TSTAMP}_hibernate.log" overwrite= "true" />
2003-10-08 18:24:08 +00:00
<touch file= "${basedir}/logs/lex.log" />
2003-10-13 17:12:27 +00:00
<move file= "${basedir}/logs/lex.log" tofile= "${basedir}/logs/old/${now.DSTAMP}_${now.TSTAMP}_lex.log" overwrite= "true" />
2004-01-07 20:54:45 +00:00
</target> -->
2003-10-06 00:20:38 +00:00
<target name= "reinstall" description= "Remove and Re-install web application" depends= "remove" >
<antcall target= "install" />
</target>
<target name= "reload" description= "Reload web application" depends= "compile" >
<reload url= "${url}" username= "${username}" password= "${password}" path= "${path}" />
</target>
<target name= "remove" description= "Remove web application" >
<remove url= "${url}" username= "${username}" password= "${password}" path= "${path}" />
</target>
2004-06-20 17:00:33 +00:00
<target name= "compile-test" description= "Run load and functional tests" depends= "compile" >
<javac srcdir= "${source}/java/test/org/thdl/lex" destdir= "${build}/WEB-INF/classes" deprecation= "on" classpathref= "classpath" debug= "on" > </javac>
</target>
<target name= "test" description= "Run load and functional tests" depends= "compile-test" >
<java classname= "org.thdl.lex.TestAll" classpathref= "classpath" fork= "yes" >
<!-- <classpath>
2003-11-19 01:06:53 +00:00
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
2004-06-20 17:00:33 +00:00
<jvmarg value= "-Djava.naming.factory.initial=org.apache.naming.ResourceFactory" /> --></java>
2003-11-19 01:06:53 +00:00
</target>
<target name= "reload-test" description= "Remove and Re-install web application" depends= "reload" >
<antcall target= "test" />
</target>
<target name= "install-test" description= "Remove and Re-install web application" depends= "install" >
<antcall target= "test" />
</target>
2003-11-26 14:22:19 +00:00
2004-06-20 17:00:33 +00:00
<target name= "jmeter" >
<taskdef name= "jmeter" classname= "org.programmerplanet.ant.taskdefs.jmeter.JMeterTask" />
<echo message= "${jmeterhome}" />
<jmeter jmeterhome= "../jmeter" testplan= "${basedir}/loadtests/LoadTest.jmx" resultlog= "${basedir}/loadtests/JMeterResults.jtl" />
2003-11-26 14:22:19 +00:00
<!--
For the following task to work, jmeter.properties needs to have the following properties set thusly:
jmeter.save.saveservice.assertion_results=all
jmeter.save.saveservice.output_format=xml
-->
2004-06-20 17:00:33 +00:00
<xslt in= "${basedir}/loadtests/JMeterResults.jtl" out= "${basedir}/loadtests/JMeterResults.html" style= "${jmeterhome}/extras/jmeter-results-report.xsl" />
</target>
2003-10-06 00:20:38 +00:00
<target name= "hbm2java" description= "generate source code" >
2004-01-05 21:51:04 +00:00
<!-- <tstamp prefix="now"/>
2003-10-06 00:20:38 +00:00
<echo message= "time is: ${now.DSTAMP}_${now.TSTAMP}" />
<copy todir= "${basedir}/backups/lex-src-bkp_${now.DSTAMP}_${now.TSTAMP}" >
<fileset dir= "${source}/java/org/thdl/lex/component" >
<include name= "**/*.java" />
</fileset>
2004-01-05 21:51:04 +00:00
</copy> -->
2003-10-06 15:08:56 +00:00
<java classname= "net.sf.hibernate.tool.hbm2java.CodeGenerator" classpathref= "classpath" fork= "yes" >
2003-10-06 00:20:38 +00:00
<arg value= "--output=${source}/java" />
<arg value= "--config=${basedir}/config/lex-codegen-cfg.xml" />
2004-06-20 17:00:33 +00:00
<arg value= "${source}/java/org/thdl/lex/util/LexComponentDataTransfer.hbm.xml" />
<!-- <arg value="${source}/java/org/thdl/lex/component/LexComponent.hbm.xml"/>
2003-10-06 00:20:38 +00:00
<arg value= "${source}/java/org/thdl/lex/component/child/Author.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Dialect.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/EtymologyType.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Function.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/FunctionsGeneral.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/FunctionsSpecific.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Language.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/LiteraryForm.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/LiteraryGenre.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/LiteraryPeriod.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/LiterarySource.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/MajorDialectFamily.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/PhoneticsType.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/ProjectSubject.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Register.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/RelatedTermType.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Script.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Source.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/SpecificDialect.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/SpellingType.hbm.xml" />
2004-06-20 17:00:33 +00:00
<arg value= "${source}/java/org/thdl/lex/component/child/TransitionalDataLabel.hbm.xml" /> -->
2003-10-06 00:20:38 +00:00
</java>
</target>
<target name= "hbm2ddl" description= "generate source code" >
2003-10-06 15:08:56 +00:00
<java classname= "net.sf.hibernate.tool.hbm2ddl.SchemaExport" classpathref= "classpath" fork= "yes" >
2003-10-06 00:20:38 +00:00
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
<arg value= "--output=${source}/sql/lex-schema.sql" />
<arg value= "--text" />
<arg value= "--format" />
<arg value= "--quiet" />
<arg value= "--delimiter=;" />
2004-06-20 17:00:33 +00:00
<arg value= "--properties=${basedir}/hibernate.properties" />
<arg value= "${source}/java/org/thdl/lex/util/LexComponentDataTransfer.hbm.xml" />
<!-- <arg value="${source}/java/org/thdl/lex/component/child/Author.hbm.xml"/>
2003-10-06 00:20:38 +00:00
<arg value= "${source}/java/org/thdl/lex/component/child/Dialect.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/EtymologyType.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Function.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/FunctionsGeneral.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/FunctionsSpecific.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Language.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/LiteraryForm.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/LiteraryGenre.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/LiteraryPeriod.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/LiterarySource.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/MajorDialectFamily.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/PhoneticsType.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/ProjectSubject.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Register.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/RelatedTermType.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Script.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/Source.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/SpecificDialect.hbm.xml" />
<arg value= "${source}/java/org/thdl/lex/component/child/SpellingType.hbm.xml" />
2004-06-20 17:00:33 +00:00
<arg value= "${source}/java/org/thdl/lex/component/child/TransitionalDataLabel.hbm.xml" /> -->
2003-10-06 00:20:38 +00:00
</java>
</target>
<target name= "schema-update" >
2003-10-06 15:08:56 +00:00
<taskdef name= "schemaupdate" classname= "net.sf.hibernate.tool.hbm2ddl.SchemaUpdateTask" classpathref= "classpath" />
2003-10-06 00:20:38 +00:00
<schemaupdate >
<fileset dir= "src" >
<include name= "**/*.hbm.xml" />
</fileset>
</schemaupdate>
</target>
2004-06-20 17:00:33 +00:00
<target name= "convert-to-new-mapping" description= "convert old data to a new db mapping" depends= "copy, compile" >
<java classname= "org.thdl.lex.ConvertDataToNewMapping" classpathref= "classpath" fork= "yes" >
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
<arg value= "${source}/java/org/thdl/lex/util/hibernate-data-transfer.cfg.xml" />
</java>
</target>
2004-06-25 03:57:45 +00:00
<target name= "importer-dm" description= "Imports Dan Martin's dictionary into database. " depends= "copy, compile" >
2004-06-20 17:00:33 +00:00
<java classname= "org.thdl.lex.util.DictionaryImporter" classpathref= "classpath" fork= "yes" >
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
2004-06-25 03:57:45 +00:00
<!-- Pass Command - line arguments to the Dictionary Importer. The first argument must always be the Hibernate config file.
<arg value= "${source}/java/hibernate.cfg.xml" /> -->
2004-06-26 13:14:05 +00:00
<arg value= "-manual" />
2004-06-25 03:57:45 +00:00
<arg value= "-format" /> <arg value= "UTF-16" />
<arg value= "-tab" />
2004-06-26 13:14:05 +00:00
<arg value= "-creator" /> <arg value= "6" />
2004-06-25 03:57:45 +00:00
<arg value= "-proj" /> <arg value= "18" />
<arg value= "-label" /> <arg value= "3" />
<arg value= "-note" /> <arg value= "This entry comes from Dan Martin's Tibetan Vocabulary." />
<arg value= "dicts/DanMartin.txt" />
2004-06-20 17:00:33 +00:00
</java>
</target>
2004-06-25 03:57:45 +00:00
<target name= "importer-jh" description= "Imports Jeffrey Hopkins' dictionary into database. " depends= "copy, compile" >
<java classname= "org.thdl.lex.util.DictionaryImporter" classpathref= "classpath" fork= "yes" >
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
<!-- Pass Command - line arguments to the Dictionary Importer. The first argument must always be the Hibernate config file.
<arg value= "${source}/java/hibernate.cfg.xml" /> -->
2004-06-26 13:14:05 +00:00
<arg value= "-manual" />
2004-06-25 03:57:45 +00:00
<arg value= "-format" /> <arg value= "UTF-16" />
<arg value= "-tab" />
2004-06-26 13:14:05 +00:00
<arg value= "-creator" /> <arg value= "10" />
2004-06-25 03:57:45 +00:00
<arg value= "-proj" /> <arg value= "19" />
<arg value= "-label" /> <arg value= "4" />
<arg value= "-note" /> <arg value= "This entry comes from Jeffrey Hopkins' Tibetan-Sanskrit-English Dictionary." />
<arg value= "dicts/JHTabUnicode.txt" />
</java>
</target>
<target name= "importer-tc" description= "Imports The Great Tibetan-Chinese Dictionary into database. " depends= "copy, compile" >
<java classname= "org.thdl.lex.util.DictionaryImporter" classpathref= "classpath" fork= "yes" >
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
<!-- Pass Command - line arguments to the Dictionary Importer. The first argument must always be the Hibernate config file.
<arg value= "${source}/java/hibernate.cfg.xml" /> -->
2004-06-26 13:14:05 +00:00
<arg value= "-manual" />
2004-06-25 03:57:45 +00:00
<arg value= "-tab" />
2004-06-26 13:14:05 +00:00
<arg value= "-creator" /> <arg value= "13" />
2004-06-25 03:57:45 +00:00
<arg value= "-proj" /> <arg value= "20" />
<arg value= "-pub-cons" /> <arg value= "true" />
<arg value= "-label" /> <arg value= "2" />
<arg value= "-note" /> <arg value= "This entry comes from Great Tibetan-Chinese Dictionary, tshig mdzod chen mo." />
<arg value= "dicts/tshig.tab" />
</java>
</target>
<target name= "importer-ry" description= "Imports Rangjung Yeshe's dictionary into database. " depends= "copy, compile" >
<java classname= "org.thdl.lex.util.DictionaryImporter" classpathref= "classpath" fork= "yes" >
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
<!-- Pass Command - line arguments to the Dictionary Importer. The first argument must always be the Hibernate config file.
<arg value= "${source}/java/hibernate.cfg.xml" /> -->
2004-06-26 13:14:05 +00:00
<arg value= "-manual" />
<arg value= "-creator" /> <arg value= "4" />
2004-06-25 03:57:45 +00:00
<arg value= "-proj" /> <arg value= "16" />
<arg value= "-label" /> <arg value= "1" />
<arg value= "-note" /> <arg value= "This entry comes from The Rangjung Yeshe Tibetan-English Dictionary of Buddhist Culture 3.0 (www.rangjung.com)." />
<arg value= "dicts/ry-dic2003-prop.txt" />
</java>
</target>
<target name= "importer-jv" description= "Imports Jim Valby's dictionary into database. " depends= "copy, compile" >
<java classname= "org.thdl.lex.util.DictionaryImporter" classpathref= "classpath" fork= "yes" >
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
<!-- Pass Command - line arguments to the Dictionary Importer. The first argument must always be the Hibernate config file.
<arg value= "${source}/java/hibernate.cfg.xml" /> -->
2004-06-26 13:14:05 +00:00
<arg value= "-manual" />
<arg value= "-creator" /> <arg value= "10" />
2004-06-25 03:57:45 +00:00
<arg value= "-proj" /> <arg value= "21" />
<arg value= "-label" /> <arg value= "5" />
<arg value= "-note" /> <arg value= "This entry comes from Jim Valby's Tibetan English Dictionary included in The Rangjung Yeshe Tibetan-English Dictionary of Buddhist Culture 3.0 (www.rangjung.com)." />
<arg value= "dicts/JimValby2002-trimmed.txt" />
</java>
</target>
<target name= "importer-rb" description= "Imports Richard Barron's dictionary into database. " depends= "copy, compile" >
<java classname= "org.thdl.lex.util.DictionaryImporter" classpathref= "classpath" fork= "yes" >
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
<!-- Pass Command - line arguments to the Dictionary Importer. The first argument must always be the Hibernate config file.
<arg value= "${source}/java/hibernate.cfg.xml" /> -->
2004-06-26 13:14:05 +00:00
<arg value= "-manual" />
<arg value= "-creator" /> <arg value= "11" />
2004-06-25 03:57:45 +00:00
<arg value= "-proj" /> <arg value= "22" />
<arg value= "-label" /> <arg value= "6" />
<arg value= "-note" /> <arg value= "This entry comes from Richard Barron's Tibetan English Dictionary included in The Rangjung Yeshe Tibetan-English Dictionary of Buddhist Culture 3.0 (www.rangjung.com)." />
<arg value= "dicts/RichardBarron.txt" />
</java>
</target>
<target name= "importer-iw" description= "Imports Ives Waldo's dictionary into database. " depends= "copy, compile" >
<java classname= "org.thdl.lex.util.DictionaryImporter" classpathref= "classpath" fork= "yes" >
<classpath >
<pathelement location= "${build}/WEB-INF/classes" />
</classpath>
<!-- Pass Command - line arguments to the Dictionary Importer. The first argument must always be the Hibernate config file.
<arg value= "${source}/java/hibernate.cfg.xml" /> -->
2004-06-26 13:14:05 +00:00
<arg value= "-manual" />
<arg value= "-creator" /> <arg value= "12" />
2004-06-25 03:57:45 +00:00
<arg value= "-proj" /> <arg value= "23" />
<arg value= "-label" /> <arg value= "7" />
<arg value= "-note" /> <arg value= "This entry comes from Ives Waldo's Tibetan English Dictionary included in The Rangjung Yeshe Tibetan-English Dictionary of Buddhist Culture 3.0 (www.rangjung.com)." />
<arg value= "dicts/IvesWaldo.txt" />
</java>
</target>
</project>