Skip to content

[build] remove XAIntegrationDebug and XAIntegrationRelease #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jonathanpeppers
Copy link
Member

In PR: #360

I will likely add a new $(Configuration) to be used in
xamarin-android, so we can build Java.Interop as a non-PCL.

The existence of XAIntegrationDebug and XAIntegrationRelease are
confusing, since they are no longer used.

See:
54a2aff
dotnet/android#1231

This removes XAIntegrationDebug and XAIntegrationRelease from all
solutions, project files, and Makefile.

I also let VS 2017 update the SLN file, as it was an old VS 2010
format...

In PR: dotnet#360

I will likely add a new `$(Configuration)` to be used in
xamarin-android, so we can build `Java.Interop` as a non-PCL.

The existence of `XAIntegrationDebug` and `XAIntegrationRelease` are
confusing, since they are no longer used.

See:
dotnet@54a2aff
dotnet/android#1231

This removes `XAIntegrationDebug` and `XAIntegrationRelease` from all
solutions, project files, and `Makefile`.

I also let VS 2017 update the SLN file, as it was an old VS 2010
format...
@jonathanpeppers
Copy link
Member Author

jonathanpeppers commented Sep 7, 2018

I'm having to backport this, to fix: dotnet/android#2157

And then the SLN file had a conflict, so opening this PR.

The build failure in #2157 is mentioning XAIntegrationDebug:

error MSB3073: The command """ -source 1.5 -target 1.6 -d "obj/XAIntegrationDebug/ji-classes" java/com/xamarin/java_interop/internal/JavaProxyObject.java java/com/xamarin/java_interop/internal/JavaProxyThrowable.java java/com/xamarin/java_interop/GCUserPeerable.java java/com/xamarin/java_interop/ManagedPeer.java" exited with code 127. [/Users/builder/jenkins/workspace/xamarin-android-pr-builder/xamarin-android/external/Java.Interop/src/Java.Interop/Java.Interop.csproj] [/Users/builder/jenkins/workspace/xamarin-android-pr-builder/xamarin-android/build-tools/scripts/RunTests.targets]
   (TaskId:8)
      15 Warning(s) (TaskId:8)
      1 Error(s) (TaskId:8)

@@ -116,7 +94,7 @@
<Compile Include="Java.Interop\JniAddNativeMethodRegistrationAttribute.cs" />
<Compile Include="Java.Interop\JniNativeMethodRegistrationArguments.cs" />
</ItemGroup>
<ItemGroup Condition=" !$(Configuration.StartsWith('XAIntegration')) ">
<ItemGroup>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can just merge these 2 item groups.

@@ -12,7 +12,7 @@ NATIVE_EXT = .so
DLLMAP_OS_NAME = linux
endif

XA_CONFIGURATION = XAIntegrationDebug
XA_CONFIGURATION = Debug
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to keep this around?

I guess we should remove more stuff like xa-fxcop rule, xa-all rule, XA_INTEGRATION_OUTPUTS variable, ...

@jonathanpeppers
Copy link
Member Author

Mainly looking to backport this to get this one green: dotnet/android#2157

@jonpryor can I address @radekdoulik's review comments on master in another PR?

@jonpryor
Copy link
Contributor

@jonathanpeppers asked:

@jonpryor can I address @radekdoulik's review comments on master in another PR?

Yes, those can be in a separate PR.

@jonpryor jonpryor merged commit 9b390bc into dotnet:d15-9 Sep 10, 2018
@jonathanpeppers jonathanpeppers deleted the xaintegration-configuration-backport branch September 10, 2018 21:58
jonathanpeppers added a commit to jonathanpeppers/java.interop that referenced this pull request Sep 11, 2018
Context: dotnet#368

Addressing the comments in dotnet#368, this removes more unused build targets, etc.
jonathanpeppers added a commit to jonathanpeppers/java.interop that referenced this pull request Sep 11, 2018
Context: dotnet#368

Addressing the comments in dotnet#368, this removes more unused build targets, etc.
jonathanpeppers added a commit to jonathanpeppers/java.interop that referenced this pull request Sep 11, 2018
Context: dotnet#368

Addressing the comments in dotnet#368, this removes more unused build targets, etc.
radekdoulik pushed a commit that referenced this pull request Sep 13, 2018
Context: #368

Addressing the comments in #368, this removes more unused build targets, etc.
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 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.

3 participants