|
241 | 241 | </condition>
|
242 | 242 | <condition property="jre.arch" value="ppc64le">
|
243 | 243 | <or>
|
244 |
| - <matches pattern="(powerpc64le|power64le|ppc64le)" string="${build.os.arch}"/> |
245 |
| - <and> |
246 |
| - <matches pattern="(powerpc64|power64|ppc64)" string="${build.os.arch}"/> |
247 |
| - <matches pattern="little" string="${build.os.endianess}"/> |
248 |
| - </and> |
| 244 | + <matches pattern="(powerpc64le|power64le|ppc64le)" string="${build.os.arch}"/> |
| 245 | + <and> |
| 246 | + <matches pattern="(powerpc64|power64|ppc64)" string="${build.os.arch}"/> |
| 247 | + <matches pattern="little" string="${build.os.endianess}"/> |
| 248 | + </and> |
249 | 249 | </or>
|
250 | 250 | </condition>
|
251 | 251 | <condition property="jre.arch" value="ppc64">
|
|
280 | 280 | <equals arg1="${build.os.name}" arg2="FreeBSD"/>
|
281 | 281 | </condition>
|
282 | 282 | <condition property="os.prefix" value="openbsd-${jre.arch}">
|
283 |
| - <equals arg1="${build.os.name}" arg2="OpenBSD"/> |
| 283 | + <equals arg1="${build.os.name}" arg2="OpenBSD"/> |
284 | 284 | </condition>
|
285 | 285 | <condition property="os.prefix" value="netbsd-${jre.arch}">
|
286 | 286 | <equals arg1="${build.os.name}" arg2="NetBSD"/>
|
@@ -685,15 +685,15 @@ osname=macosx;processor=x86;processor=x86-64;processor=ppc
|
685 | 685 | <fixcrlf file="${md5.file}" eol="unix"/>
|
686 | 686 | <replaceregexp match="^((.*\.h):JNIEXPORT[^(]+)( +\(.*)"
|
687 | 687 | replace="\1
\2- \3
--"
|
688 |
| - byline="true" |
| 688 | + byline="true" |
689 | 689 | file="${md5.file}"/>
|
690 | 690 | <replaceregexp match="(JNIEnv *\*) *env"
|
691 | 691 | replace="\1"
|
692 |
| - byline="true" |
| 692 | + byline="true" |
693 | 693 | file="${md5.file}"/>
|
694 | 694 | <replaceregexp match="
--
.*\.h-$"
|
695 | 695 | replace=""
|
696 |
| - flags="m" |
| 696 | + flags="m" |
697 | 697 | file="${md5.file}"/>
|
698 | 698 | <checksum property="md5" file="${md5.file}" />
|
699 | 699 | <propertyfile file="${jni.info}">
|
@@ -844,42 +844,42 @@ osname=macosx;processor=x86;processor=x86-64;processor=ppc
|
844 | 844 | </condition>
|
845 | 845 | <property name="xcode" value="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform"/>
|
846 | 846 | <condition property="make.SDKROOT"
|
847 |
| - value="SDKROOT=${xcode}/Developer/SDKs/MacOSX10.11.sdk"> |
| 847 | + value="SDKROOT=${xcode}/Developer/SDKs/MacOSX10.11.sdk"> |
848 | 848 | <and>
|
849 | 849 | <equals arg1="${os.prefix}" arg2="darwin" trim="true"/>
|
850 | 850 | <available file="${xcode}/Developer/SDKs/MacOSX10.11.sdk"/>
|
851 | 851 | </and>
|
852 | 852 | </condition>
|
853 | 853 | <condition property="make.SDKROOT"
|
854 |
| - value="SDKROOT=${xcode}/Developer/SDKs/MacOSX10.9.sdk"> |
| 854 | + value="SDKROOT=${xcode}/Developer/SDKs/MacOSX10.9.sdk"> |
855 | 855 | <and>
|
856 | 856 | <equals arg1="${os.prefix}" arg2="darwin" trim="true"/>
|
857 | 857 | <available file="${xcode}/Developer/SDKs/MacOSX10.9.sdk"/>
|
858 | 858 | </and>
|
859 | 859 | </condition>
|
860 | 860 | <condition property="make.SDKROOT"
|
861 |
| - value="SDKROOT=${xcode}/Developer/SDKs/MacOSX10.8.sdk"> |
| 861 | + value="SDKROOT=${xcode}/Developer/SDKs/MacOSX10.8.sdk"> |
862 | 862 | <and>
|
863 | 863 | <equals arg1="${os.prefix}" arg2="darwin" trim="true"/>
|
864 | 864 | <available file="${xcode}/Developer/SDKs/MacOSX10.8.sdk"/>
|
865 | 865 | </and>
|
866 | 866 | </condition>
|
867 | 867 | <condition property="make.SDKROOT"
|
868 |
| - value="SDKROOT=/Developer/SDKs/MacOSX10.6.sdk"> |
| 868 | + value="SDKROOT=/Developer/SDKs/MacOSX10.6.sdk"> |
869 | 869 | <and>
|
870 | 870 | <equals arg1="${os.prefix}" arg2="darwin" trim="true"/>
|
871 | 871 | <available file="/Developer/SDKs/MacOSX10.6.sdk"/>
|
872 | 872 | </and>
|
873 | 873 | </condition>
|
874 | 874 | <condition property="make.SDKROOT"
|
875 |
| - value="SDKROOT=/Developer/SDKs/MacOSX10.5.sdk"> |
| 875 | + value="SDKROOT=/Developer/SDKs/MacOSX10.5.sdk"> |
876 | 876 | <and>
|
877 | 877 | <equals arg1="${os.prefix}" arg2="darwin" trim="true"/>
|
878 | 878 | <available file="/Developer/SDKs/MacOSX10.5.sdk"/>
|
879 | 879 | </and>
|
880 | 880 | </condition>
|
881 | 881 | <condition property="make.SDKROOT"
|
882 |
| - value="SDKROOT=/Developer/SDKs/MacOSX10.4u.sdk" else="IGNORE="> |
| 882 | + value="SDKROOT=/Developer/SDKs/MacOSX10.4u.sdk" else="IGNORE="> |
883 | 883 | <and>
|
884 | 884 | <equals arg1="${os.prefix}" arg2="darwin" trim="true"/>
|
885 | 885 | <available file="/Developer/SDKs/MacOSX10.4u.sdk"/>
|
@@ -1041,7 +1041,7 @@ cd ..
|
1041 | 1041 | </target>
|
1042 | 1042 |
|
1043 | 1043 | <target name="compile-tests" depends="compile,native,jar"
|
1044 |
| - description="Compile all test code"> |
| 1044 | + description="Compile all test code"> |
1045 | 1045 | <javac classpathref="compile-test.path"
|
1046 | 1046 | source="${test.compatibility}"
|
1047 | 1047 | target="${test.compatibility}"
|
@@ -1175,10 +1175,7 @@ cd ..
|
1175 | 1175 | <os family="mac"/>
|
1176 | 1176 | </condition>
|
1177 | 1177 | <condition property="tests.platform" value="**/unix/**/*Test.java">
|
1178 |
| - <and> |
1179 |
| - <os family="unix"/> |
1180 |
| - <not><os family="mac"/></not> |
1181 |
| - </and> |
| 1178 | + <and><os family="unix"/><not><os family="mac"/></not></and> |
1182 | 1179 | </condition>
|
1183 | 1180 | <property name="tests.platform" value=""/>
|
1184 | 1181 | <property name="tests.include" value="com/sun/jna/*Test.java"/>
|
@@ -1324,7 +1321,7 @@ cd ..
|
1324 | 1321 | </copy>
|
1325 | 1322 | <copy todir="${dist}/jnacontrib" flatten="true">
|
1326 | 1323 | <fileset dir="${contrib}">
|
1327 |
| - <include name="**/build/demo-*.jar" /> |
| 1324 | + <include name="**/build/demo-*.jar" /> |
1328 | 1325 | </fileset>
|
1329 | 1326 | </copy>
|
1330 | 1327 | <jar jarfile="${maven-javadoc-jar}">
|
|
0 commit comments