gnosygnu / xowa

xowa offline wiki application
Other
375 stars 41 forks source link

problem building latest xowa #706

Open desb42 opened 4 years ago

desb42 commented 4 years ago

have just run xowa_get_and_make.sh to build xowa from the latest commit.

When I try to run this version, I get

Sorry! XOWA failed to run!

Please check the TROUBLESHOOTING section in the readme.txt for known issues.

You can also open an issue or send an email with the data below.

Thanks!

----
OS: windows
Java: 1.8.0_181 (64 bit)
Java path: 1.8.0_181
XOWA: 4.6.5.1911
XOWA path: G:\xowa_dev\xowa_dev.jar

Error: java.lang.NoClassDefFoundError: gplx/xowa/parsers/xndes/Xop_xnde_tag_
Stack: gplx.xowa.parsers.htmls.Mwh_atr_parser.<clinit>(Unknown Source)
gplx.xowa.parsers.Xoa_parser_mgr.<init>(Unknown Source)
gplx.xowa.Xoae_app.<init>(Unknown Source)
gplx.xowa.apps.boots.Xoa_boot_mgr.Run_app(Unknown Source)
gplx.xowa.apps.boots.Xoa_boot_mgr.Run(Unknown Source)
gplx.xowa.Xoa_app_.Run(Unknown Source)
gplx.xowa.Xowa_main.main(Unknown Source)

I broke the build into two stages, the compile phase produces the following error

[javac] g:\xowa_dev\src\400_xowa\src\gplx\xowa\mediawiki\XophpString_.java:554: error: cannot find symbol
[javac]             sb.Add_char_by_code(c);
[javac]               ^
[javac]   symbol:   method Add_char_by_code(int)
[javac]   location: variable sb of type String_bfr

String_bfr.java is in a strange directory baselib\src\gplx\objects\strings\bfrs\String_bfr.java

Possibly the ant script needs a change?

gnosygnu commented 4 years ago

Oops. Sorry about that!

Mistake with ant file for xowa_compile.xml. Added baselib to the file. Verified now. Thanks!

desb42 commented 4 years ago

I do not use mavern; however should it be updated as well?