If we try to compile a non-modular Java project with Ant, we get this error:
Buildfile: /home/prrvchr/github/vCardOOo/source/vCardOOo/build.xml
init-env:
[echo] Initializing the properties for LibreOffice
[echo] Office libs path: /lib/libreoffice/program
[echo] Workspace path: /home/prrvchr/github/vCardOOo/source
[mkdir] Created dir: /home/prrvchr/github/vCardOOo/source/vCardOOo/build/idl
[mkdir] Created dir: /home/prrvchr/github/vCardOOo/source/vCardOOo/build/idl/urd
[mkdir] Created dir: /home/prrvchr/github/vCardOOo/source/vCardOOo/build/idl/rdb
[echo] Project SDK use idlc
[echo] Project language Java
init-java:
[echo] Project is Java
BUILD FAILED
/home/prrvchr/github/vCardOOo/source/vCardOOo/build.xml:145: You must specify value, location or refid with the name attribute
Total time: 3 seconds
If we try to compile a non-modular Java project with Ant, we get this error: