aboutsummaryrefslogtreecommitdiff
path: root/jniwrap
diff options
context:
space:
mode:
authorMartin Desruisseaux <martin.desruisseaux@geomatys.com>2018-05-12 14:59:37 +0200
committerMartin Desruisseaux <martin.desruisseaux@geomatys.com>2018-05-12 16:24:01 +0200
commit0a3a59853d7ecb88ce645cd980a5197217447213 (patch)
tree3b69aaeeaf1f083f39cc5db68b8bf4cc7ab8263f /jniwrap
parent86d61e185fbe8fb4cf4abf6cdaea24f3a084a68e (diff)
downloadPROJ-0a3a59853d7ecb88ce645cd980a5197217447213.tar.gz
PROJ-0a3a59853d7ecb88ce645cd980a5197217447213.zip
After javac has generated org_proj4_PJ.h, move that file to the C source directory.
Diffstat (limited to 'jniwrap')
-rw-r--r--jniwrap/build.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/jniwrap/build.xml b/jniwrap/build.xml
index ddd424bd..6e4703ec 100644
--- a/jniwrap/build.xml
+++ b/jniwrap/build.xml
@@ -23,6 +23,13 @@
includeAntRuntime = "false"
includes = "org/**/*.java"/>
+ <!-- Move the .h files generated by javac. -->
+ <move todir="../src">
+ <fileset dir="${src}/${module}">
+ <include name="**/*.h"/>
+ </fileset>
+ </move>
+
<jar destfile="${out}/proj.jar" basedir="${classes}/${module}" level="9" strict="fail">
<manifest>
<attribute name="Implementation-Title" value="PROJ bridge to Java"/>