l10n updates
[debian/openrocket] / build.xml
index 0540b3dc611aa451d74ee2562ad63465ee2834a2..84462ba713150f6ef3819f6baaa66c5e1abb7842 100644 (file)
--- a/build.xml
+++ b/build.xml
                <pathelement location="${build-test.dir}"/>
                <pathelement location="${classes.dir}"/>
                <pathelement location="${src-test.dir}"/>
-               <pathelement location="lib-test/junit-dep-4.8.2.jar"/>
-               <pathelement location="lib-test/hamcrest-core-1.3.0RC1.jar"/>
-               <pathelement location="lib-test/hamcrest-library-1.3.0RC1.jar"/>
-               <pathelement location="lib-test/jmock-2.6.0-RC2.jar"/>
-               <pathelement location="lib-test/jmock-junit4-2.6.0-RC2.jar"/>
+               <fileset dir="lib-test/" includes="*.jar"/>
        </path>
        
 
@@ -66,7 +62,7 @@
        <target name="jar" depends="build">
                <copy todir="${dist.dir}/">
                        <fileset dir="." includes="LICENSE.TXT README.TXT ChangeLog ReleaseNotes build.properties fileformat.txt" />
-                       <fileset dir="." includes="datafiles/ pix/" />
+                       <fileset dir="." includes="datafiles/ pix/ l10n/" />
                </copy>
                <mkdir dir="${jar.dir}"/>
                <jar destfile="${jar.file}" basedir="${dist.dir}">
@@ -77,6 +73,7 @@
                        <zipfileset src="lib/miglayout15-swing.jar" />
                        <zipfileset src="lib/jcommon-1.0.16.jar" />
                        <zipfileset src="lib/jfreechart-1.0.13.jar" />
+                       <zipfileset src="lib/iText-5.0.2.jar" />
                </jar>
        </target>
        
        <target name="todo" depends="checktodo"/>
        <target name="checktodo">
                <tempfile property="todo.file" prefix="checktodo-"/>
-               <echo>Checking project for critical TODOs.</echo>
+               <echo>Checking project for FIXMEs.</echo>
                <concat destfile="${todo.file}">
                        <fileset dir="${src.dir}">
                            <include name="**/*.java"/>
                        </fileset>
                        <filterchain>
                                <linecontainsregexp>
-                                       <regexp pattern="TODO:.*CRITICAL"/>
+                                       <regexp pattern="(FIXME|TODO:.*CRITICAL)"/>
                                </linecontainsregexp>
                        </filterchain>
                </concat>