Skip to content

Conversation

@jonpryor
Copy link
Contributor

@jonpryor jonpryor commented May 4, 2022

@jonpryor jonpryor force-pushed the jonp-try-ji-975 branch 2 times, most recently from 46183c2 to 9226926 Compare May 5, 2022 21:23
@jonpryor jonpryor changed the title Try xamarin/java.interop#975 Bump to xamarin/java.interop/main@4787e017 May 5, 2022
jonpryor added a commit to jonpryor/java.interop that referenced this pull request May 6, 2022
Context: dotnet/android#6984

While attempting to bump Java.Interop, the **nunit Java.Interop tests**
job is failing on Windows, because it can't find `jcw-gen.dll`:

	C:\a\_work\2\s\external\Java.Interop\tests\Java.Base-Tests\Java.Base-Tests.targets(27,5):
	error MSB3073: The command "C:\a\_work\2\s\bin\Release\dotnet\dotnet "C:\a\_work\2\s\external\Java.Interop\bin\Release-net6.0\/jcw-gen.dll" …"" exited with code 1.

The `jcw-gen.dll` invocation needs to use `$(UtilityOutputFullPath)`,
not `$(ToolOutputFullPath)`, as the `jcw-gen.dll` output path is
altered within xamarin/xamarin-android.  `$(UtilityOutputFullPath)`
allows customization by xamarin-android, not `$(ToolOutputFullPath)`.
jonpryor added a commit to dotnet/java-interop that referenced this pull request May 6, 2022
Context: dotnet/android#6984

While attempting to bump Java.Interop, the **nunit Java.Interop tests**
job is failing on Windows, because it can't find `jcw-gen.dll`:

	C:\a\_work\2\s\external\Java.Interop\tests\Java.Base-Tests\Java.Base-Tests.targets(27,5):
	error MSB3073: The command "C:\a\_work\2\s\bin\Release\dotnet\dotnet "C:\a\_work\2\s\external\Java.Interop\bin\Release-net6.0\/jcw-gen.dll" …"" exited with code 1.

The `jcw-gen.dll` invocation needs to use `$(UtilityOutputFullPath)`,
not `$(ToolOutputFullPath)`, as the `jcw-gen.dll` output path is
altered within xamarin/xamarin-android.  `$(UtilityOutputFullPath)`
allows customization by xamarin-android, not `$(ToolOutputFullPath)`.
Changes: dotnet/java-interop@2a882d2...843f3c7

  * dotnet/java-interop@843f3c78: [Java.Base-Tests] Use $(UtilityOutputFullPath)/jcw-gen.dll (#979)
  * dotnet/java-interop@4787e017: [Java.Base-Tests] Test Java-to-Managed invocations for Java.Base (#975)
  * dotnet/java-interop@59716252: [build] `main` *conceptually* targets .NET 7 (#978)
  * dotnet/java-interop@61cdb40d: [generator] Fix reserved keywords binary search (#977)
@jonpryor jonpryor force-pushed the jonp-try-ji-975 branch from 9226926 to 4e233cb Compare May 6, 2022 08:04
@jonpryor jonpryor merged commit a690ea9 into main May 6, 2022
@jonpryor jonpryor deleted the jonp-try-ji-975 branch May 6, 2022 12:10
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants