xatkit-bot-platform / xatkit

The simplest way to build all types of smart chatbots and digital assistants
https://xatkit.com
Eclipse Public License 2.0
174 stars 23 forks source link

Eclipse not recognizing library "CoreLibrary" #11

Closed TonserTorben closed 4 years ago

TonserTorben commented 4 years ago

Hi I've followed the guide on how to install this framework. However, when I open eclipse to make changes to E.g. GreetingsBot, the editor can't resolve the library "CoreLibrary".

I've read somewhere that the corelibrary is now standalone. But how do I set this up?

Thanks in advance

TonserTorben commented 4 years ago

FYI. The same is the case for the platform "ChatPlatform"

TonserTorben commented 4 years ago

image

gdaniel commented 4 years ago

Hi,

Thanks for reporting this issue, which version of Xatkit are you using, and which version of the eclipse plugins?

The latest versions are:

If you have the latest version I'll need some additional information regarding your setup:

TonserTorben commented 4 years ago

I downloaded yesterday, so it's xatkit 3.0.0 and xatkit-eclipse 2.1.0. I followed the instructions on the wiki https://github.com/xatkit-bot-platform/xatkit-releases/wiki/Installation

I'm running windows 10. The path only contains normal chars and dashes. I've tried both but with the same result.

gdaniel commented 4 years ago

Ok, I'll try to reproduce this. Did you install the update site using the zip or the URL? I just saw that the URL in the release notes is incorrect, the right one is https://xatkit-bot-platform.github.io/xatkit-runtime-docs/releases/v2.1.0/update/

TonserTorben commented 4 years ago

I used the zip file. However I've managed to solve part of the problem. It seems that maven wasn't set up correctly for me. (Didn't know that was a requirement) After setting up Maven correctly. The CoreLibrary doesn't give an error anymore.

But it seems like the build.sh has trouble building the platforms.

image

Any idea what I'm doing wrong?

gdaniel commented 4 years ago

Can you send me the full build log? It seems that something wrong happened before.

Maven is only required when using the XDK https://github.com/xatkit-bot-platform/xatkit-dev

TonserTorben commented 4 years ago

Build Output.txt

This is the full build output. I've altered the mvn_options in build.sh to "-e" to get more info about the errors.

gdaniel commented 4 years ago

I tried to reproduce your issue locally but everything seems to work for me when I install Xatkit from the release page.

I'd suggest the following steps:

You don't need maven to use Xatkit, it is only required to compile it with the XDK. The errors I see from your log looks like a Java version issue, Xatkit doesn't work for versions above see this issue.

TonserTorben commented 4 years ago

Thanks, somehow that worked.

gdaniel commented 4 years ago

Good, I suspect it was an environment variable issue. The eclipse error should be more explicit about the path actually used to load the libraries/platforms, I'll open it.