Formatted to 80 columns in honor of the punch card.
Added BinaryFileGenerator to the DictionarySearchStandalone JAR at Andres' request.
This commit is contained in:
parent
b2e97f6b98
commit
5cfd45cf32
1 changed files with 40 additions and 17 deletions
57
build.xml
57
build.xml
|
@ -141,7 +141,8 @@ info on where to find these.
|
||||||
description="compiles Jskad" >
|
description="compiles Jskad" >
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<param name="mybin" value="${jskadbin}"/>
|
<param name="mybin" value="${jskadbin}"/>
|
||||||
<param name="my.included.source.file" value="org/thdl/tib/input/Jskad.java"/>
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/tib/input/Jskad.java"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
<antcall target="copy-ini-files-to-bin-dir-for-jarring">
|
<antcall target="copy-ini-files-to-bin-dir-for-jarring">
|
||||||
<param name="mybin" value="${jskadbin}"/>
|
<param name="mybin" value="${jskadbin}"/>
|
||||||
|
@ -155,7 +156,8 @@ info on where to find these.
|
||||||
description="compiles Savant" >
|
description="compiles Savant" >
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<param name="mybin" value="${savantbin}"/>
|
<param name="mybin" value="${savantbin}"/>
|
||||||
<param name="my.included.source.file" value="org/thdl/savant/SavantShell.java"/>
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/savant/SavantShell.java"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
<!-- Copy the .rtf files; they're needed resources: -->
|
<!-- Copy the .rtf files; they're needed resources: -->
|
||||||
|
@ -179,7 +181,13 @@ info on where to find these.
|
||||||
description="compiles the standalone Translation Tool" >
|
description="compiles the standalone Translation Tool" >
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<param name="mybin" value="${ttstandalonebin}"/>
|
<param name="mybin" value="${ttstandalonebin}"/>
|
||||||
<param name="my.included.source.file" value="org/thdl/tib/scanner/WindowScannerFilter.java"/>
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/tib/scanner/BinaryFileGenerator.java"/>
|
||||||
|
</antcall>
|
||||||
|
<antcall target="our-internal-javac-task">
|
||||||
|
<param name="mybin" value="${ttstandalonebin}"/>
|
||||||
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/tib/scanner/WindowScannerFilter.java"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
<antcall target="copy-ini-files-to-bin-dir-for-jarring">
|
<antcall target="copy-ini-files-to-bin-dir-for-jarring">
|
||||||
<param name="mybin" value="${ttstandalonebin}"/>
|
<param name="mybin" value="${ttstandalonebin}"/>
|
||||||
|
@ -198,7 +206,8 @@ info on where to find these.
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<param name="target.jvm" value="1.1"/>
|
<param name="target.jvm" value="1.1"/>
|
||||||
<param name="mybin" value="${tthandheldbin}"/>
|
<param name="mybin" value="${tthandheldbin}"/>
|
||||||
<param name="my.included.source.file" value="org/thdl/tib/scanner/WindowScannerFilter.java"/>
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/tib/scanner/WindowScannerFilter.java"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
<antcall target="copy-license-to-bin-dir-for-jarring">
|
<antcall target="copy-license-to-bin-dir-for-jarring">
|
||||||
<param name="mybin" value="${tthandheldbin}"/>
|
<param name="mybin" value="${tthandheldbin}"/>
|
||||||
|
@ -211,11 +220,13 @@ info on where to find these.
|
||||||
description="compiles the applet + Java Web Start forms of the Translation Tool" >
|
description="compiles the applet + Java Web Start forms of the Translation Tool" >
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<param name="mybin" value="${ttappletjwsbin}"/>
|
<param name="mybin" value="${ttappletjwsbin}"/>
|
||||||
<param name="my.included.source.file" value="org/thdl/tib/scanner/AppletScannerFilter.java"/>
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/tib/scanner/AppletScannerFilter.java"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<param name="mybin" value="${ttappletjwsbin}"/>
|
<param name="mybin" value="${ttappletjwsbin}"/>
|
||||||
<param name="my.included.source.file" value="org/thdl/tib/scanner/WindowScannerFilter.java"/>
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/tib/scanner/WindowScannerFilter.java"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
<antcall target="copy-ini-files-to-bin-dir-for-jarring">
|
<antcall target="copy-ini-files-to-bin-dir-for-jarring">
|
||||||
<param name="mybin" value="${ttappletjwsbin}"/>
|
<param name="mybin" value="${ttappletjwsbin}"/>
|
||||||
|
@ -230,7 +241,8 @@ info on where to find these.
|
||||||
description="compiles the servlet form of the Translation Tool. You'd better set the j2ee.sdk.home property first or have j2ee.jar on your CLASSPATH, because this is a J2EE program." >
|
description="compiles the servlet form of the Translation Tool. You'd better set the j2ee.sdk.home property first or have j2ee.jar on your CLASSPATH, because this is a J2EE program." >
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<param name="mybin" value="${ttservletbin}"/>
|
<param name="mybin" value="${ttservletbin}"/>
|
||||||
<param name="my.included.source.file" value="org/thdl/tib/scanner/ConsoleScannerFilter.java"/>
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/tib/scanner/ConsoleScannerFilter.java"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
<antcall target="copy-license-to-bin-dir-for-jarring">
|
<antcall target="copy-license-to-bin-dir-for-jarring">
|
||||||
<param name="mybin" value="${ttbin}"/>
|
<param name="mybin" value="${ttbin}"/>
|
||||||
|
@ -243,7 +255,8 @@ info on where to find these.
|
||||||
<!-- Compile the java code from ${source} into ${qdbin} -->
|
<!-- Compile the java code from ${source} into ${qdbin} -->
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<param name="mybin" value="${qdbin}"/>
|
<param name="mybin" value="${qdbin}"/>
|
||||||
<param name="my.included.source.file" value="org/thdl/quilldriver/QDShell.java"/>
|
<param name="my.included.source.file"
|
||||||
|
value="org/thdl/quilldriver/QDShell.java"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
<!-- Copy over QuillDriver-specific resources: -->
|
<!-- Copy over QuillDriver-specific resources: -->
|
||||||
|
@ -304,7 +317,8 @@ info on where to find these.
|
||||||
<jar jarfile="${dist}/lib/DictionarySearchStandalone-${DSTAMP}.jar"
|
<jar jarfile="${dist}/lib/DictionarySearchStandalone-${DSTAMP}.jar"
|
||||||
basedir="${ttstandalonebin}">
|
basedir="${ttstandalonebin}">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="org.thdl.tib.scanner.WindowScannerFilter"/>
|
<attribute name="Main-Class"
|
||||||
|
value="org.thdl.tib.scanner.WindowScannerFilter"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
@ -316,7 +330,8 @@ info on where to find these.
|
||||||
<jar jarfile="${dist}/lib/DictionarySearchHandheld-${DSTAMP}.jar"
|
<jar jarfile="${dist}/lib/DictionarySearchHandheld-${DSTAMP}.jar"
|
||||||
basedir="${tthandheldbin}">
|
basedir="${tthandheldbin}">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="org.thdl.tib.scanner.WindowScannerFilter"/>
|
<attribute name="Main-Class"
|
||||||
|
value="org.thdl.tib.scanner.WindowScannerFilter"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
@ -331,7 +346,8 @@ info on where to find these.
|
||||||
AppletScannerFilter, so the double-click should open the
|
AppletScannerFilter, so the double-click should open the
|
||||||
standalone version, WindowScannerFilter: -->
|
standalone version, WindowScannerFilter: -->
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="org.thdl.tib.scanner.WindowScannerFilter"/>
|
<attribute name="Main-Class"
|
||||||
|
value="org.thdl.tib.scanner.WindowScannerFilter"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
@ -342,9 +358,12 @@ info on where to find these.
|
||||||
<!-- Put everything in ${ttservletbin} into the JAR file -->
|
<!-- Put everything in ${ttservletbin} into the JAR file -->
|
||||||
<jar jarfile="${dist}/lib/DictionarySearchServlet-${DSTAMP}.jar"
|
<jar jarfile="${dist}/lib/DictionarySearchServlet-${DSTAMP}.jar"
|
||||||
basedir="${ttservletbin}">
|
basedir="${ttservletbin}">
|
||||||
<!-- I don't think this'll work, but the main class is the following, so why not: -->
|
|
||||||
|
<!-- I don't think this'll work (I don't know servlets, mind
|
||||||
|
you), but the main class is the following, so why not: -->
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="org.thdl.tib.scanner.ConsoleScannerFilter"/>
|
<attribute name="Main-Class"
|
||||||
|
value="org.thdl.tib.scanner.ConsoleScannerFilter"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
@ -419,8 +438,10 @@ info on where to find these.
|
||||||
HEY PROJECT MANAGER:
|
HEY PROJECT MANAGER:
|
||||||
|
|
||||||
http://thdltools.sf.net/api lives at
|
http://thdltools.sf.net/api lives at
|
||||||
/home/groups/t/th/thdltools/htdocs/api. To update it, simple run
|
/home/groups/t/th/thdltools/htdocs/api. To update it, simply run
|
||||||
'ant private-javadocs-dist', which creates dist/docs/private-javadocs-DSTAMP.zip. Then scp that file over with the command
|
'ant private-javadocs-dist', which creates
|
||||||
|
dist/docs/private-javadocs-DSTAMP.zip. Then scp that file over
|
||||||
|
with the command
|
||||||
|
|
||||||
scp dist/docs/private-javadocs-WHATEVER.zip \
|
scp dist/docs/private-javadocs-WHATEVER.zip \
|
||||||
yourUserId@thdltools.sf.net/home/groups/t/th/thdltools/
|
yourUserId@thdltools.sf.net/home/groups/t/th/thdltools/
|
||||||
|
@ -524,7 +545,8 @@ info on where to find these.
|
||||||
<target name="tt-run" depends="tt-standalone-dist" description="runs the standalone translation tool">
|
<target name="tt-run" depends="tt-standalone-dist" description="runs the standalone translation tool">
|
||||||
<java classname="org.thdl.tib.scanner.WindowScannerFilter" fork="yes">
|
<java classname="org.thdl.tib.scanner.WindowScannerFilter" fork="yes">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="${dist}/lib/DictionarySearchStandalone-${DSTAMP}.jar"/>
|
<pathelement
|
||||||
|
location="${dist}/lib/DictionarySearchStandalone-${DSTAMP}.jar"/>
|
||||||
<path refid="entire.class.path"/>
|
<path refid="entire.class.path"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
<jvmarg value="-DTHDL_DEBUG=${thdl.debug}"/>
|
<jvmarg value="-DTHDL_DEBUG=${thdl.debug}"/>
|
||||||
|
@ -649,7 +671,8 @@ info on where to find these.
|
||||||
description="INTERNAL TASK: Compiles according to Ant properties. Usually not called directly.">
|
description="INTERNAL TASK: Compiles according to Ant properties. Usually not called directly.">
|
||||||
|
|
||||||
<!-- Be sure we're going to be able to compile something: -->
|
<!-- Be sure we're going to be able to compile something: -->
|
||||||
<available file="${source}/${my.included.source.file}" property="found.file.to.compile"/>
|
<available file="${source}/${my.included.source.file}"
|
||||||
|
property="found.file.to.compile"/>
|
||||||
<fail message="Can't find the file '${source}/${my.included.source.file}' to compile it! Don't worry about forward vs. backward slashes, by the way--Ant is smart about those."
|
<fail message="Can't find the file '${source}/${my.included.source.file}' to compile it! Don't worry about forward vs. backward slashes, by the way--Ant is smart about those."
|
||||||
unless="found.file.to.compile"/>
|
unless="found.file.to.compile"/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue