Ant not working ???

Olivier Hallot olivier.hallot at libreoffice.org
Tue Jun 19 20:11:21 UTC 2018


Hi guys

I have 2 branches master/ and LO6.1/ under git/core and git/lo61

I followed the wiki page at

https://wiki.documentfoundation.org/Development/BuildingOnLinux#Multiple_Work_Dirs

Both branches were building last week but now master has issues with
Ant. Autogen.sh hit an issue with Ant and cannot go through.

------8<------------
checking for ant... /usr/bin/ant
checking if /usr/share/ant/bin/ant works... configure: error: Ant does
not work - Some Java projects will not build!
Error running configure at /home/tdf/git/core/autogen.sh line 289.
------8<------------

The logs shows these lines:

------8<------------
configure:38880: checking if /usr/share/ant/bin/ant works
configure:38900: /usr/share/ant/bin/ant -buildfile conftest.xml 1>&2
Buildfile: /home/tdf/git/core/conftest.xml

conftest:
    [javac] /home/tdf/git/core/conftest.xml:3: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last;
set to false for repeatable builds
    [javac] Compiling 1 source file
    [javac] /home/tdf/git/core/conftest.java:1: error: cannot access
unnamed package
    [javac]         public class conftest {
    [javac]         ^
    [javac]   error accessing directory
/home/tdf/git/corejava.nio.file.InvalidPathException: Malformed input or
input contains unmappable characters: Sem t??tulo 1.odt
    [javac] 1 error

BUILD FAILED
/home/tdf/git/core/conftest.xml:3: Compile failed; see the compiler
error output for details.

------8<------------

Apparently it complains on the file "Sem título 1.ods" that has accented
characters. Nothing changed, AFAIK, WRT locales (pt-BR) in the build.

OTOH, autogen.sh runs smoothly on the LO 6.1  branch, and Ant is happy.

Any help is welcome on how to fix this. I badly need my master build back.

Thank you in advance.
-- 
Olivier Hallot
LibreOffice Documentation Coordinator
Comunidade LibreOffice
Rio de Janeiro - Brasil - Local Time: UTC-03:00
http://tdf.io/joinus


More information about the LibreOffice mailing list