Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278806 - dev-java/jpf: jpf-tools.jar doesn't contain org.java.plugin.tools.ant.DocTask
Summary: dev-java/jpf: jpf-tools.jar doesn't contain org.java.plugin.tools.ant.DocTask
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EAPI1Removal
  Show dependency tree
 
Reported: 2009-07-23 07:29 UTC by Bart Van Loon
Modified: 2016-01-06 22:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Removes missing task from definitions (jpf-1.5.1.ebuild.patch,1.14 KB, patch)
2010-10-19 12:22 UTC, Ralph Sennhauser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Van Loon 2009-07-23 07:29:59 UTC
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

:-)
Comment 1 Bart Van Loon 2009-07-23 07:31:05 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
Comment 2 Bart Van Loon 2009-09-14 10:21:14 UTC
(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.

Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2010-10-19 12:22:33 UTC
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
Comment 4 Pacho Ramos gentoo-dev 2015-11-19 14:34:03 UTC
eapi5 would be better ;)
Comment 5 Manuel Rüger (RETIRED) gentoo-dev 2016-01-06 22:10:15 UTC
This was pmasked and removed.