Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50218 - java-config should match also the prefix of the selected jvm
Summary: java-config should match also the prefix of the selected jvm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Jason A. Mobarak (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 31468
  Show dependency tree
 
Reported: 2004-05-06 06:20 UTC by Gábor Farkas
Modified: 2004-10-14 02:10 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 Gábor Farkas 2004-05-06 06:20:47 UTC
root@dubb gabor # java-config -L
[sun-jdk-1.4.2.04] "Sun JDK 1.4.2.04" (/etc/env.d/java/20sun-jdk-1.4.2.04)
[sun-jdk-1.3.1.09] "Sun JDK 1.3.1.09" (/etc/env.d/java/20sun-jdk-1.3.1.09) *
[kaffe-1.1.4] "Kaffe 1.1.4" (/etc/env.d/java/20kaffe-1.1.4)
[sun-jdk-1.5.0_beta1] "Sun JDK 1.5.0_beta1" (/etc/env.d/java/20sun-jdk-1.5.0_beta1)

now, if i want to select one from these, i have to use:
java-config -S sun-jdk-1.3.1.09

imho it would be nice to be able to just say "java-config -S sun-jdk-1.3".

java-config simply should match not exactly, but also by startswith...
in the case when multiple jvms are correct (like if i'd have sun-jdk-1.3.0 and also sun-jdk-1.3.1) it should fail.

(to put simple, java-config should behave like 'screen -r')
Comment 1 Jason A. Mobarak (RETIRED) gentoo-dev 2004-06-02 18:17:01 UTC
Wanna write a patch?
Comment 2 Jason A. Mobarak (RETIRED) gentoo-dev 2004-07-02 23:44:31 UTC
I've accepted this bug and provided an implementation for it -- but I don't know if anyone will care since the requester hasn't made any contact since creating the bug... it'd be nice if people who request bugs at least maintain somewhat active communication regarding a change that they requested.
Comment 3 Gábor Farkas 2004-07-03 13:58:57 UTC
the requester is still following this :)

sorry that i didn't respond.

but all i could have responded was "yes, maybe i'll try to write a patch if i will have time but i cannot promise anything",
and now i see that i really did not have the time for it.

i'm very thankful that you implemented the feature i requested.
so if you could tell me in exactly what way should i improve my bugzilla communication? :)
Comment 4 Jason A. Mobarak (RETIRED) gentoo-dev 2004-07-03 19:20:14 UTC
Cool! Thanks for responding... sorry if I went off on this bug, but I've had people request changes, I'd implement them, and they'd never respond! So... only thing I ask is input. :)
Comment 5 Gábor Farkas 2004-07-04 01:07:02 UTC
ok :)

so, as i understand it's now in cvs. when will there be a new release of java-config? 
Comment 6 Jason A. Mobarak (RETIRED) gentoo-dev 2004-07-04 06:22:21 UTC
Version 1.2.7 will be released in a few days, the changes I made shouldn't have been too systemic so it should be just as stable as java-config version 1.2.6.
Comment 7 Jason A. Mobarak (RETIRED) gentoo-dev 2004-07-04 23:54:59 UTC
This is in version which is in 1.2.7 -- this bug will be closed as soon as 1.2.7 is stabilized.
Comment 8 Gábor Farkas 2004-07-05 00:59:23 UTC
ok, i tried it. works nice :)

thx a lot
Comment 9 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-14 02:10:21 UTC
marking resolved