Summary: | dev-java/jpf: jpf-tools.jar doesn't contain org.java.plugin.tools.ant.DocTask | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bart Van Loon <bart> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 512122 | ||
Attachments: | Removes missing task from definitions |
Description
Bart Van Loon
2009-07-23 07:29:59 UTC
(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. |