1 |
Scott Amort wrote: |
2 |
> </target> |
3 |
> <target name="get-deps" unless="noget" depends="init"> |
4 |
> <!--Proxy settings works only with a JDK 1.2 and higher.--> |
5 |
> |
6 |
> <setproxy> |
7 |
> </setproxy> |
8 |
> <get dest="${libdir}/avalon-logkit-2.1.jar" usetimestamp="true" |
9 |
> ignoreerrors="true" |
10 |
> src="http://www.ibiblio.org/maven/avalon-logkit/jars/avalon-logkit-2.1.jar"> |
11 |
> </get> |
12 |
> </target> |
13 |
> |
14 |
> What approach should I use to prevent the build from downloading this |
15 |
> jar and instead using one provided by the avalon-logkit ebuild? |
16 |
> |
17 |
|
18 |
You can call eant with -Dnoget=true to trigger the "unless" clause |
19 |
causing the target not performed (no downloading). I think there are |
20 |
already some ebuilds that do this. |
21 |
|
22 |
-- |
23 |
Vlastimil Babka (Caster) |
24 |
Gentoo/Java |
25 |
-- |
26 |
gentoo-java@g.o mailing list |