diff --git a/README.md b/README.md index 581f33e5e..366f8118e 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,9 @@ Overridable MSBuild properties include: [`java-interop`](src/java-interop) against. By default this is probed for from numerious locations within [`build-tools/scripts/jdk.mk`](build-tools/scripts/jdk.mk). +* `$(JavaCPath)`: Path to the `javac` command-line tool, by default set to `javac`. +* `$(JarPath)`: Path to the `jar` command-line tool, by default set to `jar`. + * It may be desirable to override these on Windows, depending on your `PATH`. * `$(UtilityOutputFullPath)`: Directory to place various utilities such as [`class-parse`](tools/class-parse), [`generator`](tools/generator), and [`logcat-parse`](tools/logcat-parse). This value should be a full path. diff --git a/build-tools/scripts/jdk.mk b/build-tools/scripts/jdk.mk index 5c264c692..9a0912732 100644 --- a/build-tools/scripts/jdk.mk +++ b/build-tools/scripts/jdk.mk @@ -147,4 +147,8 @@ bin/Build$(CONFIGURATION)/JdkInfo.props: $(JI_JDK_INCLUDE_PATHS) $(JI_JVM_PATH) echo ' ' >> "$@" echo ' ' >> "$@" echo ' ' >> "$@" + echo ' ' >> "$@" + echo " javac" >> "$@" + echo " jar" >> "$@" + echo ' ' >> "$@" echo '' >> "$@" diff --git a/src/Java.Interop.Export/Tests/Export-Tests.projitems b/src/Java.Interop.Export/Tests/Export-Tests.projitems index 40299f128..d2fcce0d4 100644 --- a/src/Java.Interop.Export/Tests/Export-Tests.projitems +++ b/src/Java.Interop.Export/Tests/Export-Tests.projitems @@ -8,6 +8,7 @@ Java.Interop.ExportTests + @@ -17,7 +18,7 @@ - - + + \ No newline at end of file diff --git a/src/Java.Interop/Java.Interop.csproj b/src/Java.Interop/Java.Interop.csproj index 2baaf3f8f..a86af7dfd 100644 --- a/src/Java.Interop/Java.Interop.csproj +++ b/src/Java.Interop/Java.Interop.csproj @@ -27,6 +27,7 @@ false true ..\..\bin\Debug\Java.Interop.xml + ..\..\bin\BuildDebug full @@ -38,6 +39,7 @@ INTEROP;FEATURE_JNIENVIRONMENT_JI_PINVOKES;FEATURE_JNIOBJECTREFERENCE_INTPTRS true ..\..\bin\Release\Java.Interop.xml + ..\..\bin\BuildRelease true @@ -59,7 +61,7 @@ 4 false true - ..\..\bin\BuildDebug + ..\..\bin\BuildRelease diff --git a/src/Java.Interop/Java.Interop.targets b/src/Java.Interop/Java.Interop.targets index 9f7127224..001c5444b 100644 --- a/src/Java.Interop/Java.Interop.targets +++ b/src/Java.Interop/Java.Interop.targets @@ -3,12 +3,13 @@ mono + + Outputs="$(JNIEnvGenPath)\jnienv-gen.exe"> - - + + \ No newline at end of file diff --git a/src/Java.Interop/Tests/Interop-Tests.projitems b/src/Java.Interop/Tests/Interop-Tests.projitems index ea2996af6..3efc4fd7c 100644 --- a/src/Java.Interop/Tests/Interop-Tests.projitems +++ b/src/Java.Interop/Tests/Interop-Tests.projitems @@ -8,6 +8,7 @@ Java.InteropTests + @@ -64,7 +65,7 @@ - - + + \ No newline at end of file diff --git a/src/java-interop/java-interop.mdproj b/src/java-interop/java-interop.mdproj index 33d4b613c..98c69378c 100644 --- a/src/java-interop/java-interop.mdproj +++ b/src/java-interop/java-interop.mdproj @@ -26,7 +26,7 @@ JI_DLL_EXPORT MONODEVELOP MONO_DLL_EXPORT . - + diff --git a/tests/PerformanceTests/PerformanceTests.projitems b/tests/PerformanceTests/PerformanceTests.projitems index 227cce63f..af1204aa4 100644 --- a/tests/PerformanceTests/PerformanceTests.projitems +++ b/tests/PerformanceTests/PerformanceTests.projitems @@ -5,6 +5,7 @@ true {0FBECD2A-7C91-41AB-A4B4-B781E8EC8479} + Java.Interop.PerformanceTests @@ -17,7 +18,7 @@ - - + +