Currently it does for VM's package.env with the -g option. See bug 214785 comment 5 why it's needed, although possible workaround using glj, it's not clean IMHO.
How do we want to format the result. just return the result or have it as a key=value $ ./java-config-2 -q GENERATION --package=ant-core 2 $ ./java-config-2 -q GENERATION --package=ant-core GENERATION=2
(In reply to comment #1) > How do we want to format the result. > > just return the result or have it as a key=value > > $ ./java-config-2 -q GENERATION --package=ant-core > 2 I'd say this one, as converting what you get to the second one one is easier than the other way around. > $ ./java-config-2 -q GENERATION --package=ant-core > GENERATION=2 >
Added support for this in svn. Awaiting next release.
See >=dev-java/java-config-2.1.8