Skip to content

Commit

Permalink
[Mono.Android] Fix _GenerateJavaCallableWrappers naming (#15)
Browse files Browse the repository at this point in the history
[@atsushieno notes][0] that there are *two*
`_GenerateJavaCallableWrappers` targets within
`Mono.Android.targets`, and the latter is likely replacing the
former, preventing `$(OutputPath)mono.android.jar` from being
generated (commit 953e28b; [bug report][1]).

In short, commit a9f69ad screwed up by reusing a target name.

Rename the second `_GenerateJavaCallableWrappers` target to
`_GenerateFrameworkList`, allowing the first
`_GenerateJavaCallableWrappers` target to actually execute.

[0]: https://gitter.im/xamarin/xamarin-android?at=5727fac1df1a01ff18fbdeed
[1]: https://gitter.im/xamarin/xamarin-android?at=5726f22b9344bbcb0f8bb201
  • Loading branch information
jonpryor authored and dellis1972 committed May 3, 2016
1 parent c8850b3 commit 39c5905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mono.Android/Mono.Android.targets
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
Command="jar cf "$(OutputPath)mono.android.jar" -C "$(IntermediateOutputPath)android-$(AndroidApiLevel).jcw\bin" ."
/>
</Target>
<Target Name="_GenerateJavaCallableWrappers"
<Target Name="_GenerateFrameworkList"
AfterTargets="CoreBuild"
Inputs="$(OutputPath)$(AssemblyName).dll"
Outputs="$(OutputPath)RedistList\FrameworkList.xml">
Expand Down

0 comments on commit 39c5905

Please sign in to comment.