-
Notifications
You must be signed in to change notification settings - Fork 537
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
[Xamarin.Android.Build.Tasks] Check a jar has .class files in it. #2882
Conversation
src/Xamarin.Android.Build.Tasks/Tasks/DetermineJavaLibrariesToCompile.cs
Outdated
Show resolved
Hide resolved
Failed tests seem to be Network related and nuget parallel runs related :( |
src/Xamarin.Android.Build.Tasks/Tasks/DetermineJavaLibrariesToCompile.cs
Outdated
Show resolved
Hide resolved
@monojenkins build |
We have found an issue with our fastdev support when it comes across a `.jar` file which does NOT contain any `.class` files. As part of our fastdev system we convert all the `.jar` files we need to `.dex` files so they can be fast deployed. If we come across a `.jar` file which does not contain any `.class` files `dx` exists with the following error no classes! This causes the build to fail. So what we need to do is check that a `.jar` has `.class` files in it. This commit also reworks some code to not use Linq in favour of a standard foreach loop.
Something really weird going on with the Checks summary page. It seems to be listing tests which didn't actually fail. Downloading the logs the following tests seem to be failing, not entirely sure why.
|
For some reason the I believe those 4 AOT failures are known at this time. |
) We have found an issue with our fastdev support when it comes across a `.jar` file which does NOT contain any `.class` files. As part of our fastdev system we convert all the `.jar` files we need to `.dex` files so they can be fast deployed. If we come across a `.jar` file which does not contain any `.class` files, `dx` exits with the following error: no classes! This causes the build to fail. What we need to do is check that a `.jar` has `.class` files in it. This commit also reworks some code to not use Linq in favor of a standard foreach loop.
Changes which lead to ignoring hyperion-known-services-xamarin: dotnet/android#2882 dotnet/android#4385 In hyperion-known-services-xaxmarin: * renamed .jar file to classes.jar * added dummy .class file Xamarin.Android still can't merge java service provider configuration files (META-INF\services\)
We have found an issue with our fastdev support when
it comes across a
.jar
file which does NOT containany
.class
files.As part of our fastdev system we convert all the
.jar
files we need to.dex
files so theycan be fast deployed.
If we come across a
.jar
file which does notcontain any
.class
filesdx
exists with thefollowing error
This causes the build to fail. So what we need to do
is check that a
.jar
has.class
files in it.This commit also reworks some code to not use Linq
in favour of a standard foreach loop.