Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10061 - /usr/bin/ant disregards CLASSPATH
Summary: /usr/bin/ant disregards CLASSPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-01 13:09 UTC by Bardur Arantsson
Modified: 2002-11-18 12:44 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 Bardur Arantsson 2002-11-01 13:09:43 UTC
The /usr/bin/ant script from ant 1.5 (and 1.5.1) resets the $CLASSPATH  
variable without regard to the $CLASSPATH set in the environment. Obviously,  
the script should respect the $CLASSPATH which has been set by the user.  
  
Fixing this (for both 1.5 and 1.5.1) should be trivial: Just don't override  
the environment $CLASSPATH if it has been set by the user.  
  
(And yes, I am aware that one can create a ~/.gentoo/java-env containing a  
CLASSPATH, but that is no reason to ignore $CLASSPATH in the environment.  
~/.gentoo/java-env is not exactly useful unless *all* your development  
machines are Gentoo. Additionally, setting the environment is much easier to  
do dynamically).
Comment 1 Adrian Almenar 2002-11-18 12:44:35 UTC
Fixed in portage tree as ant-1.5.1-r2 marked as testing.