Created
September 11, 2009 02:02
-
-
Save tckz/185008 to your computer and use it in GitHub Desktop.
OmegaTの訳文ファイル生成をコマンドラインで
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_15 | |
set OMEGAT_HOME=c:\Program Files\OmegaT | |
cmd /c c:\path\to\ant\bin\ant.bat | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<project name="name" basedir="." default="gentext"> | |
<property name="dist" location="dist"/> | |
<property name="project" location="omegat"/> | |
<property environment="env"/> | |
<target name="prepare_dist"> | |
<delete dir="${dist}"> | |
</delete> | |
<mkdir dir="${dist}"/> | |
</target> | |
<target name="gentext" depends="prepare_dist"> | |
<java | |
fork="true" | |
jar="${env.OMEGAT_HOME}/OmegaT.jar" | |
failonerror="true"> | |
<arg value="${project}"/> | |
<arg value="--mode=console-translate"/> | |
</java> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment