after emerging dev-java/jpf, the /usr/share/jpf-1.5/lib/jpf-tools.jar package doesn't contain the org.java.plugin.tools.ant.DocTask class, although it is registered in the org/java/plugin/tools/ant/jpf-tasks.properties file inside the same package. this results in every jpf-* task in an buildfile to fail, as ant will complain it cannot find the DocTask class. a quick fix is to remove the line declaring the jpf-doc ant task form the properties file, but of course, that's not a long-term option. it makes your ant build script work again, however (as long as they don't contain any jpf-doc tasks). Reproducible: Always Steps to Reproduce: 1. emerge jpg 2. run ant with any jpf- task Actual Results: BUILD FAILED typedef class org.java.plugin.tools.ant.DocTask cannot be found Expected Results: BUILD SUCCESSFUL :-)
(In reply to comment #0) > after emerging dev-java/jpf, the /usr/share/jpf-1.5/lib/jpf-tools.jar package > doesn't contain the org.java.plugin.tools.ant.DocTask class, although it is > registered in the org/java/plugin/tools/ant/jpf-tasks.properties file inside > the same package. > > this results in every jpf-* task in an buildfile to fail, as ant will complain > it cannot find the DocTask class. > > a quick fix is to remove the line declaring the jpf-doc ant task form the > properties file, but of course, that's not a long-term option. it makes your > ant build script work again, however (as long as they don't contain any jpf-doc > tasks). > > Reproducible: Always > > Steps to Reproduce: > 1. emerge jpg > 2. run ant with any jpf- task > > Actual Results: > BUILD FAILED > typedef class org.java.plugin.tools.ant.DocTask cannot be found > > Expected Results: > BUILD SUCCESSFUL > > :-) this happens with dev-java/jpg-1.5.1 by the way
(In reply to comment #1) > this happens with dev-java/jpg-1.5.1 by the way dev-java/jpf-1.5.1 of course.
Created attachment 251237 [details, diff] Removes missing task from definitions In the ebuild it says jpf-doc task will only be added on demand due to a missing dependency. I do not need this task myself so the attached patch is sufficient to fix my issue. Changes: - remove missing task from definitions - move to EAPI 3
eapi5 would be better ;)
This was pmasked and removed.