Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69454 - ~/.gentoo/java_env still considered relevant by ant
Summary: ~/.gentoo/java_env still considered relevant by ant
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-29 14:02 UTC by Charles Goodwin
Modified: 2004-10-30 16:35 UTC (History)
0 users

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 Charles Goodwin 2004-10-29 14:02:37 UTC
This one is real sloppy.  Looks like a long time ago java-config used to set some $VARS in ~/.gentoo/java_env related to Java, but this no longer happens.

So imagine my surprise trying to run ant as a normal user and finding it wouldn't work because it was looking for blackdown-1.3.1 when i only have 1.4.1 installed because java-config no longer updates that file.

Well, actually, the bug is that ant still reference this deprecated file.

Reproducible: Always
Steps to Reproduce:
1. Find an old system
2. Update Java
3. Run java-config

Actual Results:  
~/.gentoo/java_env still is set to the old Java setup

Expected Results:  
Either it should still update ~/.gentoo/java_env or (I suspect you want) ant
should pay no attention to ~/.gentoo/java_env and the ant script needs modifying.

Just deleting ~/.gentoo/java_env works for me.
Comment 1 Charles Goodwin 2004-10-29 14:05:39 UTC
Here's somebody else who had the same problem:

http://forums.gentoo.org/viewtopic.php?t=187489&highlight=ant+jcoptions+java
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-30 07:56:51 UTC
java-config still sets it there when you use java-config --set-user-vm

where does it say the file is deprecated?
Comment 3 Charles Goodwin 2004-10-30 16:35:09 UTC
I'll save you the effort of invalidating this and do it for you.