Skip to content
Snippets Groups Projects
Unverified Commit 12ff90bd authored by Richard Cordovano's avatar Richard Cordovano Committed by GitHub
Browse files

Merge pull request #2024 from gdicristofaro/6827-mergedFiles

6827 merged files
parents 42b6c4e0 76293b8a
Branches
Tags
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
*.txt text *.txt text
*.xml text *.xml text
*.properties-MERGED text
*.html text diff=html *.html text diff=html
*.dox text *.dox text
*.am text *.am text
......
...@@ -129,15 +129,19 @@ ...@@ -129,15 +129,19 @@
<javac debug="on" srcdir="${src}" destdir="${build}" classpathref="libraries" includeantruntime="false"> <javac debug="on" srcdir="${src}" destdir="${build}" classpathref="libraries" includeantruntime="false">
<compilerarg value="-Xlint"/> <compilerarg value="-Xlint"/>
</javac> </javac>
<!-- Copy Bundle*.properties files into DataModel build directory, so they are included in the .jar --> <!-- Copy Bundle*.properties files into DataModel build directory, so they are included in the .jar -->
<copy todir="${build-datamodel}"> <copy todir="${build-datamodel}">
<fileset dir="${src}" includes="**/*.properties"/> <fileset dir="${src}" includes="**/*.properties"/>
</copy> </copy>
<!-- Verify sample compiles --> <!-- Verify sample compiles -->
<javac debug="on" srcdir="${sample}" destdir="${build}" includeantruntime="false"> <javac debug="on" srcdir="${sample}" destdir="${build}" includeantruntime="false">
<classpath refid="libraries"/> <classpath refid="libraries"/>
</javac> </javac>
<!--Copy .properties to .properties-MERGED -->
<antcall target="copy-bundle" />
</target> </target>
<target name="dist" depends="check-build, init-ivy, compile, copyLibs" unless="up-to-date" description="generate the distribution"> <target name="dist" depends="check-build, init-ivy, compile, copyLibs" unless="up-to-date" description="generate the distribution">
...@@ -202,4 +206,16 @@ ...@@ -202,4 +206,16 @@
</exec> </exec>
</target> </target>
<target name="copy-bundle">
<!-- the externalized strings in 'src' are in both the java files as annotations and in the Bundle.property files.
The strings get merged during compilation. This target copies that merged file into src so that it can be checked
in and used as a basis for translation efforts -->
<copy todir="src">
<fileset dir="build">
<include name="**/Bundle.properties"/>
</fileset>
<globmapper from="*" to="*-MERGED"/>
</copy>
</target>
</project> </project>
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment