Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268313 - dev-java/javatoolkit xml rewriter inconsistencies
Summary: dev-java/javatoolkit xml rewriter inconsistencies
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 942810
Blocks:
  Show dependency tree
 
Reported: 2009-05-02 16:30 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2025-02-15 13:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-05-02 16:30:18 UTC
I tried solving bug 268252 by using JAVA_ANT_ENCODING="UTF-8" variable. This causes the cElementTree rewriter to be used instead of 3rd generation rewriter. The problem is it does not append gentoo.classpath to <java> calls, so the build fails.
I tried setting JAVA_ANT_CLASSPATH_TAGS="javac java" but it did not help, the cElementTree rewriter ignores that.
Moreover, since default JAVA_ANT_CLASSPATH_TAGS is "javac xjavac" I start to wonder why 3rd-gen rewriter changes <java> calls as well? Couldn't find the reason.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-05-02 16:33:36 UTC
The state of rewriters is quite messy IMHO, there are too many of them and it makes the eclass complex. Maybe we could get rid of all pre-gen3 since the version of javatoolkit that's pulled guarantees gen3? And then define and document properly all supported JAVA_ANT_ parameters and make sure they work in the remaining rewriters...
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2009-05-02 16:35:36 UTC
Well I was thinking that instead of messing with the current bloated eclasses any further I should just write them better from scratch.
Comment 3 Larry the Git Cow gentoo-dev 2024-10-08 07:09:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5186af37046684bdb34b09f4092d455789d86219

commit 5186af37046684bdb34b09f4092d455789d86219
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-10-02 14:38:14 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-10-08 07:09:38 +0000

    java-ant-2.eclass: Mark as dead
    
    The last ebuilds using it were media-libs/opencv-{4.8.1-r2,4.9.0-r1}
    
    Bug: https://bugs.gentoo.org/268313
    Bug: https://bugs.gentoo.org/318625
    Bug: https://bugs.gentoo.org/539958
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/38851
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 eclass/java-ant-2.eclass | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-11-05 10:47:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28ab51fad9acb876a8fef5dd56f656afcd2776c

commit f28ab51fad9acb876a8fef5dd56f656afcd2776c
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-11-03 09:21:35 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-11-05 10:46:51 +0000

    java-ant-2.eclass: Remove dead eclass
    
    Bug: https://bugs.gentoo.org/268313
    Bug: https://bugs.gentoo.org/318625
    Bug: https://bugs.gentoo.org/539958
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/39180
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 eclass/java-ant-2.eclass | 440 -----------------------------------------------
 1 file changed, 440 deletions(-)
Comment 5 Volkmar W. Pogatzki 2024-11-06 09:48:40 UTC
java-ant-2.eclass is gone.
Comment 6 Volkmar W. Pogatzki 2025-02-15 13:32:03 UTC
Closing with reference to https://bugs.gentoo.org/942810#c1