Code Monkey home page Code Monkey logo

Comments (12)

gallandarakhneorg avatar gallandarakhneorg commented on June 19, 2024 1

No problem :-)
I have to update all the pages in the documentation in order to make very clear the dependency for compilation and those for running.
You issue will remind us to do so :-)

from sarl.

ssardina avatar ssardina commented on June 19, 2024

In fact, I used to have this line which worked well:

		sre.verboseLevel = 7

from sarl.

gallandarakhneorg avatar gallandarakhneorg commented on June 19, 2024

Dear @ssardina . Could you provide the dependencies' list from your pom.xml file?
It looks like the Janus SRE is not in the classpath, and the default bootstrap (that does nothing) is used.

from sarl.

ssardina avatar ssardina commented on June 19, 2024

Of course, sorry, here is the full pom file.

pom.xml.txt

from sarl.

ssardina avatar ssardina commented on June 19, 2024

And if I comment that line about verbose setting:

image

from sarl.

gallandarakhneorg avatar gallandarakhneorg commented on June 19, 2024

Please add the following dependency into your pom file, to be sure that you are using the SRE at run-time:

<dependency>
          <groupId>io.janusproject</groupId>
          <artifactId>io.janusproject.kernel</artifactId>
          <version>3.${sarl.version}</version>
</dependency>

Anyway, I just realize that this need of dependency is not explained in the SARL documentation.

from sarl.

ssardina avatar ssardina commented on June 19, 2024

Ohhh you know I always had that dependency, and I thought I did not need it anymore with the new SRE!! I am so....

from sarl.

ssardina avatar ssardina commented on June 19, 2024

I even deleted that part today when I saw this:

http://www.sarl.io/docs/official/tools/MavenSarlPlugin.html

from sarl.

ssardina avatar ssardina commented on June 19, 2024

But you are totally right, one thing is the SARL compiler, another is the runtime

from sarl.

ssardina avatar ssardina commented on June 19, 2024

Sorry didn't realized you left it for the doc. Good idea.

from sarl.

gallandarakhneorg avatar gallandarakhneorg commented on June 19, 2024

Two actions are ongoing for solving this issue:

  • The documentation is updated to be sure that the dependency tree is clear.
  • The maven-sarl-plugin determines if a SRE is in the class path of the project. If there is no SRE in the classpath, a warning is printed out to notify that the SARL program cannot be run outside a SRE, e.g. , by usig the janus command line tool.

from sarl.

gallandarakhneorg avatar gallandarakhneorg commented on June 19, 2024

This issue is also related to Issue #1077.

from sarl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.