Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in Home Page Example #340

Open
gmseed opened this issue Sep 10, 2022 · 1 comment
Open

Errors in Home Page Example #340

gmseed opened this issue Sep 10, 2022 · 1 comment

Comments

@gmseed
Copy link

gmseed commented Sep 10, 2022

Hi

I stumbled on your parser, created a new Maven project in Eclipse, added the specified dependency and then copied and pasted the "getting going" example given and get import errors at the lines:

import org.aesh.console.settings.Settings;
import org.aesh.console.settings.SettingsBuilder;

Not a good start!

I then headed to:

https://github.com/aeshell/aesh/blob/master/examples/src/main/java/examples/SimpleExample.java

and copied and pasted the example given there and now get a different import error:

import org.aesh.AeshConsoleRunner;

Do you have any examples that work?

I know this is free open-source code, but if people are to use it then it needs to work and be well documented.

@stalep
Copy link
Member

stalep commented Sep 14, 2022

Hi, yes sorry about the documentation as it's not up to date unfortunately.
There are several working examples in the aesh-examples repository:
https://github.com/aeshell/aesh-examples
I recommend trying out the simple example first:
https://github.com/aeshell/aesh-examples/tree/master/aesh/getting-started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants