Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43759 - adding items to the classpath
Summary: adding items to the classpath
Status: RESOLVED FIXED
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: 31468
  Show dependency tree
 
Reported: 2004-03-04 17:28 UTC by Robert Schuster
Modified: 2004-10-10 14:15 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 Robert Schuster 2004-03-04 17:28:34 UTC
when adding a java-package to the system or user classpath multiple times the jar files is added multi times. I don't think this is a good idea. A hintful message that the package was already in the classpath would be better.

Reproducible: Always
Steps to Reproduce:
1. java-config -B foo
..
.
n. java-config -B foo

Actual Results:  
classpath contains foo.jar n times.

Expected Results:  
classpath contains foo.jar only one time and a helpful message is displayed when
steps 2 to n are executed saying that that foo is already in the classpath.

Highlighting installed packages when doing java-config -l would be nice as well.
Comment 1 Jason A. Mobarak (RETIRED) gentoo-dev 2004-04-12 23:15:01 UTC
I'm working fixing the -B option but patches are appreciated (for highlighting in -l maybe).
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-10-10 14:15:36 UTC
In moving to the new Java environment scheme, setting the system classpath will
most likely be deprecated.

This has been fixed for the -a and -b options (user), however, so I consider this
matter closed.

Reopen with violent objections at your leisure:)