[ https://issues.apache.org/jira/browse/XMLBEANS-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581282#comment-17581282 ]
PJ Fanning commented on XMLBEANS-622: ------------------------------------- xmlbeans won't build on my Mac when javaparser 3.24.4 is used (while it builds fine with javaparser 3.24.2). ``` > Task :compileTestJava /Users/pj.fanning/svn/xmlbeans/build/generated/sources/sSIMPLE/test/java/noNamespace/impl/ResultDocument2Impl.java:20: error: class RESULTDocument2Impl is public, should be declared in a file named RESULTDocument2Impl.java public class RESULTDocument2Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements noNamespace.RESULTDocument2 { ^ /Users/pj.fanning/svn/xmlbeans/build/generated/sources/sSIMPLE/test/java/noNamespace/impl/RESULTDocumentImpl.java:20: error: class ResultDocumentImpl is public, should be declared in a file named ResultDocumentImpl.java public class ResultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements noNamespace.ResultDocument { ^ /Users/pj.fanning/svn/xmlbeans/build/generated/sources/sSIMPLE/test/java/noNamespace/ResultDocument2.java:22: error: class RESULTDocument2 is public, should be declared in a file named RESULTDocument2.java public interface RESULTDocument2 extends org.apache.xmlbeans.XmlObject { ^ /Users/pj.fanning/svn/xmlbeans/build/generated/sources/sSIMPLE/test/java/noNamespace/RESULTDocument.java:22: error: class ResultDocument is public, should be declared in a file named ResultDocument.java public interface ResultDocument extends org.apache.xmlbeans.XmlObject { ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors ``` I've changed the javaparser version in svn and so far the CI build seems happy. I'll see if a new checkout of xmlbeans fixes the build on my machine - maybe something is left behind from a previous build that `./gradlew clean` does not remove. > javaparser 3.24.4 breaks xmlbeans build > --------------------------------------- > > Key: XMLBEANS-622 > URL: https://issues.apache.org/jira/browse/XMLBEANS-622 > Project: XMLBeans > Issue Type: Improvement > Affects Versions: Version 5.1.0 > Reporter: PJ Fanning > Priority: Major > Fix For: Version 5.1.2 > > > https://github.com/javaparser/javaparser/releases/tag/javaparser-parent-3.24.3 > seems to have breaking changes. This is tagged 3.24.3 but that release seems > to have failed and a newer release 3.24.4 was made. > The xmlbeans build fails with this version. It appears some generated code > appears in Java files whose name does match the name of the class (case > sensitivity issues). > We could fix the tests so that the build succeeds but the question is would > users who use XMLBeans also hit similar issues with their XSD to Java code > generation? -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org