engineer Posted March 18, 2021 Report Share Posted March 18, 2021 I was trying to merge jEdit programmer's editor and got errors on javamail that took a little while to track down, so here's how to fix it. BUILD FAILED Target "-push-to-maven-init" does not exist in the project "JavaMail". It is used from target "push-to-maven-prepare". build.xml of dev-java/oracle-javamail-1.5.6 contains: <!DOCTYPE project [ <!ENTITY commonBuild SYSTEM "ant-common.xml"> ]> ... &commonBuild; And ant-common.xml contains necessary code. BUT Python xml.sax module by default does not expand external entities since Python 3.6.7, 3.7.1 and 3.8.0 SOLUTION: There is a script https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=5480034ddf29a050671aa22effdd1cefb1a97f55 Link to comment Share on other sites More sharing options...
cardinal Posted March 19, 2021 Report Share Posted March 19, 2021 (edited) Confirm emerge failure oracle-javamail-1.5.6 Install dev-java/javatoolkit-0.6.5.ebuild and dev-java/oracle-javamail-1.5.6-r1.ebuild from gentoo in your local overlay solves the issue. In the process of building jedit-5.4.0 and its depends jython-2.7.0-r2 emerge failed. Emerged jython by going to Bug 758881 - dev-java/jython-2.7.0-r2 AttributeError: 'NoneType' object has no attribute 'startswith' apply jython-2.7.0-r2.ebuild.patch regenerate manifest. dev-java:jython-2.7.0-r2:20210319-042623.log dev-java:jython-2.7.0-r2:20210319-025110.log dev-java:oracle-javamail-1.5.6-r1:20210319-185450.log Edited March 19, 2021 by cardinal update engineer 1 Link to comment Share on other sites More sharing options...
engineer Posted April 9, 2021 Author Report Share Posted April 9, 2021 ty got it working and jEdit loaded. If you've never tried "elastic tabstops" you've been missing out and should try jEdit which has that option. Link to comment Share on other sites More sharing options...
Recommended Posts