-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
23 lines (22 loc) · 986 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<project name="apertium-omegat-native" default="default" basedir=".">
<description>Builds, tests, and runs the project apertium-omegat-native.</description>
<import file="nbproject/build-impl.xml"/>
<target name="-post-jar">
<jar destfile="${dist.dir}/temp.jar" filesetmanifest="skip">
<zipgroupfileset dir="dist" includes="*.jar"/>
<manifest>
<attribute name="OmegaT-Plugin" value="true"/>
<section name="com.tinodidriksen.omegat.apertiumnative.ApertiumNative">
<attribute name="OmegaT-Plugin" value="MachineTranslator"/>
</section>
</manifest>
</jar>
<delete file="${dist.jar}"/>
<zip destfile="${dist.jar}">
<zipfileset src="${dist.dir}/temp.jar"/>
</zip>
<delete file="${dist.dir}/temp.jar"/>
<delete file="${dist.dir}/README.TXT"/>
</target>
</project>