Thanks much for your help! The javaversion condition works perfectly.
Rei Odaira
2019年5月7日(火) 0:58 Jan Matèrne (jhm) :
> With xml namespaces like if:set you could exclude individual tasks.
> http://ant.apache.org/manual/ifunless.html
>
>
>
>
>
>
>
>
> ...
>
Fine.
But I see an error in my example:
It executes the target and javah only on Java10 and higher.
For Java9 and lower you have to use:
-Ursprüngliche Nachricht-
> Von: 大平怜 [mailto:rei.oda...@gmail.com]
> Gesendet: Dienstag, 7. Mai 2019 17:26
> An: Ant Users List
> Betreff: Re: Skip