How to add the argument --add-modules to javac and java?

Erno Scheiber <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <CAO4a8yj5C5O8GoVyKhP3x5uGi2KpRa37LTTC1J9GwM_hiXLMTg@mail.gmail.com>
Hi,

In Java 9 not all packages are included in the graph of the packages.
Now, this is the case of the package java.corba.
The argument
    --add-modules java.corba ...
must be added to javac, respectivelly java in a terminal.
How to do that within apache-ant?

Best regards,
Erno Scheiber

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.