nathub opened a new issue, #9644:
URL: https://github.com/apache/netbeans/issues/9644

   ### Apache NetBeans version
   
   Apache NetBeans 31
   
   ### What happened
   
   In the README.md file this line explains how to get javadoc to build using 
ant:
   
   ' On JDK 24 or later, building javadoc may require to raise the jaxp entity 
limit by setting export ANT_OPTS=-Djdk.xml.totalEntitySizeLimit=200000 '
   
   However, this does not work. using this command doesn't seem to increase the 
limit. I still get the error below:
   ' JAXP00010004: The accumulated size of entities is "100,001" that exceeded 
the "100,000" limit set by "jdk.xml.totalEntitySizeLimit". '
   
   I am on Java 25. I can't figure out how to get javadoc to build.
   
   ### Language / Project Type / NetBeans Component
   
   NetBeans Source build
   
   ### How to reproduce
   
   Using Java 25, run "sudo ant javadoc" in the source repo's top folder.
   Following the README directions, run export 
ANT_OPTS=-Djdk.xml.totalEntitySizeLimit=200000. 
   Then attempt to build again using sudo ant javadoc. 
   The size limit will persist. 
   
   Try closing your terminal, logging out, or restarting the computer, before 
opening a new terminal and attempting to build javadoc again. The issue will 
persist.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Linux (Debian stable, specifically MX Linux)
   
   ### JDK
   
   25.0.4.1
   
   ### Apache NetBeans packaging
   
   Own source build
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to