Hi, I did manage to make a bit of progress.
The 'Unable to insert branch island' error is because the boot image created is over the maximum size. I guess you knew that.
One thing you should try is by supplying the lzma= argument to the MAKE. You should use version 920.
When I try to add LZMA into the build.xml it complains because there is no specified target. When it comes to creating targets for the ANT build I'm a bit lost so if you can do that then I believe the images will be compressed during the build so should bring it under the maximum.
Also, the existing PACKAGE-AVIAN doesn't use pro guard until after the images have been created and just before creating the ZIP file. The problem as you know it doesn't get that far because it can't create the ARM image at all. There is a switch 'use-proguard' in MAKE but again I'm not able to implement that in the build.xml.
I did manage to build the images by using the ANDROID libraries which I know is not going to work, but it at least let me create the AVIAN-OPENJDK-MAC.zip and add it in.
Then I discovered that if you build then it fails because JMEAPPHARNESS.class is now build using JDK 1.8 level. Therefore it complains that the version of the class is 52 which v1.8 and should be 51.
I added -source=1.7 and target=1.7 in the specific part that builds the native java classes and that worked. The reason this is a problem is because 3.1 is compiling with JDK 1.8 and the JAVAC parameters are not pulled from the properties file (only for native compile).
Then I discovered that the IOS.PROPERTIES needs to be re-done to match the new JAR files.
One more point is that the HELLO.IOS project that the IOS project is based on has been completely re-written due too many depreciations in XCODE so that will need to be re-integrated too.
That's all I've got for now but if someone is able to implement the LZMA option into the ant build then it's a good start.