Ok. I needed to use '--refresh-dependencies' on my gradle tests. I have the class version issue now.
So -1 on RC3. I'll need to see what can be done about getting the Java 8 build of xmlbeans to produce the correct jar outputs. On Sunday 5 June 2022, 14:50:00 IST, PJ Fanning <[email protected]> wrote: I'm using the artifacts built on https://ci-builds.apache.org/ but the JDK 11 build. The gradle has: sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 I haven't hit any issues with using the jars in Java 8 - eg the POI build - but maybe there is something up with my testing. If we need to get the xmlbeans to build with Java 8 but still have all the Java 9+ stuff too, then there is more work to do. I will try testing again with the RC3 jar to see if there is something amiss. On Sunday 5 June 2022, 14:40:08 IST, Dominik Stadler <[email protected]> wrote: Hi, File-contents looks good now, but it seems they now contain Java 11 class-files. Are we missing some "Keep Java 8 compatibility" in the Gradle build or do we rather need to use the Java 8 artefacts for release? If i use the newer build from https://repository.apache.org/content/repositories/staging in Apache POI I get: > Task :poi-ooxml-lite-agent:compileJava FAILED /opt/apache/poi/git-svn/poi-ooxml-lite-agent/src/main/java/org/apache/poi/ooxml/lite/OOXMLLiteAgent.java:40: error: cannot access org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl import org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl; ^ bad class file: /home/user/.gradle/caches/modules-2/files-2.1/org.apache.xmlbeans/xmlbeans/5.1.0/4b50c9b21dc3ba2e8e92e50fa901bf36eb9304d4/xmlbeans-5.1.0.jar(org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.class) class file has wrong version 55.0, should be 52.0 Please remove or make sure it appears in the correct subdirectory of the classpath. > Task :poi-ooxml-lite:compileOoxmlLite Thanks... Dominik. On Sun, Jun 5, 2022 at 11:19 AM PJ Fanning <[email protected]> wrote: > Hi everyone, > > I've prepared artifacts for the release of Apache XmlBeans 5.1.0 (RC3). > > One thing to watch out for is in the src artifacts now should be built > with gradle - instead of ant. > > > The most notable changes in this release are: > > * create temp files using java.nio.files.Files > * Line breaks in base64binary caused a validation error > * Improve support for using XMLBeans on Android by not relying on the > namespace-prefixes feature on the XML SAX parser > * Use generics in Collections > * GDate can return diferent values on different current timezones > * Migrate ant build to gradle > * change version code so that the value is automatically generated > * Make XmlCursor AutoCloseable > * Fix some problems with XMLBeans Extension Interfaces Feature > * Inner Class Handler was not supported > * When specifying user types in an xsdconfig, types that are not being > compiled could not be referenced properly > * Make XSD documentation parsing lazy > * Upgrade dependencies (javaparser 3.24.2, Saxon-HE 11.3, log4j-api 2.17.2) > > > A full list of changes is available in the change log: > > https://issues.apache.org/jira/projects/XMLBEANS/versions/12351143 > > The artifacts are at: > > https://dist.apache.org/repos/dist/release/poi/xmlbeans/dev/ > > You can use this maven URL for your mvn/gradle builds: > > https://repository.apache.org/content/repositories/staging > > > > I haven't updated the "provided" dependencies as those have to be > activated anyway explicitly. > > > Please vote to release the artifacts. > > > The vote keeps open until 2022-06-12 23:00 UTC. > > Planned release announcement date is Monday, 2022-06-13. > > > Here is my +1 > > PJ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
