mirror of https://github.com/FreeCol/freecol.git
- Made reencoding messages a separate target.
This commit is contained in:
parent
c06cdc84f3
commit
c27f41f020
14
build.xml
14
build.xml
|
@ -95,12 +95,8 @@
|
|||
/>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="build" depends="init,compile" description="Compiles the source files.">
|
||||
<copy todir="${freecol.build.dir}">
|
||||
<fileset dir="${freecol.src.dir}" includes="**/*.xml" />
|
||||
</copy>
|
||||
|
||||
<target name="reencode_messages" description="Reencodes the message files and outputs them to data/strings">
|
||||
|
||||
<native2ascii src="${freecol.src.dir}/net/sf/freecol/client/gui/i18n" dest="${freecol.data.dir}/strings"
|
||||
encoding="UTF-8"
|
||||
includes="*.properties"
|
||||
|
@ -120,6 +116,12 @@
|
|||
*_sv_SE.properties"/>
|
||||
</target>
|
||||
|
||||
<target name="build" depends="init,compile,reencode_messages" description="Compiles the source files.">
|
||||
<copy todir="${freecol.build.dir}">
|
||||
<fileset dir="${freecol.src.dir}" includes="**/*.xml" />
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- Compiles the source files and creates a JAR-file. -->
|
||||
<target name="package" depends="init,build" description="Compiles the source files and creates a JAR-file.">
|
||||
|
|
Loading…
Reference in New Issue