1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Stephan Palm wrote: |
5 |
> I'm writing an ebuild, but I could not figure out, how to get |
6 |
> $used_vm/lib/tools.jar into the classpath. |
7 |
|
8 |
You can use "java-config --tools" to get the location (maybe we should |
9 |
do an eclass function for this). As for the classpath, it depends |
10 |
whether you are running "java", "javac", or some build.xml through ant. |
11 |
Java/javac have -cp option for this, ant will find and load tools.jar |
12 |
itself for its javadoc etc tasks, and if you want to use it in some task |
13 |
inside build.xml, there's usually classpath attribute of that task's |
14 |
element, or nested <classpath> element. |
15 |
|
16 |
- -- |
17 |
Vlastimil Babka (Caster) |
18 |
Gentoo/Java |
19 |
-----BEGIN PGP SIGNATURE----- |
20 |
Version: GnuPG v1.4.6 (GNU/Linux) |
21 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
22 |
|
23 |
iD8DBQFFohNQtbrAj05h3oQRAoqxAJoCHyxPBaP2S20x6zWk41rQTBrhYACbBNDp |
24 |
VrHxrGccrkmepOCtVqgh/Us= |
25 |
=6PuK |
26 |
-----END PGP SIGNATURE----- |
27 |
-- |
28 |
gentoo-java@g.o mailing list |