test
20
build.xml
|
@ -7,10 +7,16 @@
|
||||||
<!-- Configure the directory containing the source files -->
|
<!-- Configure the directory containing the source files -->
|
||||||
<property name="source" value="${basedir}/src"/>
|
<property name="source" value="${basedir}/src"/>
|
||||||
|
|
||||||
|
<!-- Configure the directory containing the config files
|
||||||
|
This files from this directory should not go in the CVS hierarchy.
|
||||||
|
-->
|
||||||
|
<property name="config" value="${basedir}/local-config"/>
|
||||||
|
|
||||||
<!-- Configure the context path for this application -->
|
<!-- Configure the context path for this application -->
|
||||||
<property name="path" value="/lex"/>
|
<property name="path" value="/lex"/>
|
||||||
|
|
||||||
<!-- Configure properties to access the Manager application -->
|
<!-- Configure properties to access the Manager application
|
||||||
|
user /pass combo should be in $TOMCAT_HOME/conf/tomcat-users.xml with managaer role.-->
|
||||||
<property name="url" value="http://localhost:2020/manager"/>
|
<property name="url" value="http://localhost:2020/manager"/>
|
||||||
<property name="username" value=""/>
|
<property name="username" value=""/>
|
||||||
<property name="password" value=""/>
|
<property name="password" value=""/>
|
||||||
|
@ -63,7 +69,7 @@
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<copy todir="${build}/WEB-INF">
|
<copy todir="${build}/WEB-INF">
|
||||||
<fileset dir="${basedir}/config">
|
<fileset dir="${config}">
|
||||||
<filename name="web.xml"/>
|
<filename name="web.xml"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
@ -82,10 +88,10 @@
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<copy todir="${build}/WEB-INF/lib">
|
<copy todir="${build}/WEB-INF/lib">
|
||||||
<fileset dir="${basedir}/lib/runtime/jstl">
|
<fileset dir="${basedir}/lib/jstl">
|
||||||
<include name="*.jar"/>
|
<include name="*.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
<fileset dir="${basedir}/lib/runtime/hibernate">
|
<fileset dir="${basedir}/lib/hibernate">
|
||||||
<include name="*.jar"/>
|
<include name="*.jar"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
@ -124,7 +130,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="install" description="Install web application" depends="compile, move-log">
|
<target name="install" description="Install web application" depends="compile, move-log">
|
||||||
<install url="${url}" username="${username}" password="${password}" path="${path}" config="file://${basedir}/config/lex-context-config.xml" war="file://${build}"/>
|
<install url="${url}" username="${username}" password="${password}" path="${path}" config="file://${config}/lex-context-config.xml" war="file://${build}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="move-log" description="move old log file">
|
<target name="move-log" description="move old log file">
|
||||||
|
@ -191,7 +197,7 @@
|
||||||
<arg value="--format"/>
|
<arg value="--format"/>
|
||||||
<arg value="--quiet"/>
|
<arg value="--quiet"/>
|
||||||
<arg value="--delimiter=;"/>
|
<arg value="--delimiter=;"/>
|
||||||
<arg value="--properties=${basedir}/config/hibernate.properties"/>
|
<arg value="--properties=${config}/hibernate.properties"/>
|
||||||
<arg value="${source}/java/org/thdl/lex/component/LexComponent.hbm.xml"/>
|
<arg value="${source}/java/org/thdl/lex/component/LexComponent.hbm.xml"/>
|
||||||
<arg value="${source}/java/org/thdl/lex/component/child/Author.hbm.xml"/>
|
<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/Dialect.hbm.xml"/>
|
||||||
|
@ -218,7 +224,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="schema-update">
|
<target name="schema-update">
|
||||||
<taskdef name="schemaupdate" classname="net.sf.hibernate.tool.hbm2ddl.SchemaUpdateTask" classpathref="class.path"/>
|
<taskdef name="schemaupdate" classname="net.sf.hibernate.tool.hbm2ddl.SchemaUpdateTask" classpathref="lex-classpath"/>
|
||||||
<schemaupdate>
|
<schemaupdate>
|
||||||
<fileset dir="src">
|
<fileset dir="src">
|
||||||
<include name="**/*.hbm.xml"/>
|
<include name="**/*.hbm.xml"/>
|
||||||
|
|
BIN
images/def.gif
Normal file
After Width: | Height: | Size: 126 B |
BIN
images/edit.gif
Normal file
After Width: | Height: | Size: 127 B |
BIN
images/ency.gif
Normal file
After Width: | Height: | Size: 138 B |
BIN
images/etym.gif
Normal file
After Width: | Height: | Size: 139 B |
BIN
images/gram.gif
Normal file
After Width: | Height: | Size: 141 B |
BIN
images/key.gif
Normal file
After Width: | Height: | Size: 124 B |
BIN
images/meta.gif
Normal file
After Width: | Height: | Size: 139 B |
BIN
images/metadata.gif
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
images/note.gif
Normal file
After Width: | Height: | Size: 132 B |
BIN
images/pass.gif
Normal file
After Width: | Height: | Size: 135 B |
BIN
images/pron.gif
Normal file
After Width: | Height: | Size: 137 B |
BIN
images/reg.gif
Normal file
After Width: | Height: | Size: 113 B |
BIN
images/rel-term.gif
Normal file
After Width: | Height: | Size: 160 B |
BIN
images/sent.gif
Normal file
After Width: | Height: | Size: 131 B |
BIN
images/spell.gif
Normal file
After Width: | Height: | Size: 138 B |
BIN
images/subdef.gif
Normal file
After Width: | Height: | Size: 158 B |
BIN
images/trans-eqv.gif
Normal file
After Width: | Height: | Size: 179 B |
BIN
images/trans.gif
Normal file
After Width: | Height: | Size: 137 B |