j2objc-contrib / j2objc-common-libs-e2e-test

End-to-end tests for translating, compiling, and linking common Java libraries into Objective C using j2objc
https://github.com/j2objc-contrib
Apache License 2.0
12 stars 5 forks source link

Apache Commons: collections4 and math3 #29

Closed advayDev1 closed 4 years ago

advayDev1 commented 8 years ago

Fixes #11

brunobowden commented 8 years ago

LGTM - this is the ideal example where there is minimal code for adding a new library. Commenting on PR so comment isn't lost.

brunobowden commented 8 years ago

Rebase this and I'll take another look.

brunobowden commented 8 years ago

@advayDev1 - we should get this rebased and merged

advayDev1 commented 8 years ago

Well it translates and compiles. Linkage fails with a very mysterious error. Running it locally (same failure) shows that the error output has nothing but this:

 Static library archiver failed while archiving liborg.apache.commons-commons-math3-j2objc.a.

nothing else in any logs. and the options.txt is not filled in by the time that fails, so nothing for me to reproduce.

Gradle source suggests this happens when you try to link an argument that is not a file https://github.com/gradle/gradle/blob/master/subprojects/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy#L328

stumped - i'll have to tackle this later.

iducool commented 5 years ago

@advayDev1 I am running into the same error. Did you found any workaround?

advayDev1 commented 5 years ago

Hi @iducool I don't work on this plugin anymore. I would reach out to j2objc-discuss@googlegroups.com - but be forewarned this plugin is not officially supported by the Google team working on j2objc, and at this point is not maintained by anyone.