Skip to content

Commit

Permalink
up doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jomifred committed Oct 2, 2024
1 parent 1346729 commit ef4dc1f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 0 additions & 2 deletions doc/install.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ To test the installation, run the command `jason --version` in a terminal. The o
----
Jason CLI 3.2
----

(You may need to close and open VSCode again to have Jason in its `PATH` terminal)
10 changes: 8 additions & 2 deletions doc/jason-cli/readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ The first command creates a Jason application identified by `app1` with two agen
[alice] hello world.
```

This approach uses Gradle to execute the application. Gradle is useful if you are using other packages. However, it you do not have dependencies, the application can be started faster without Gradle:

```
jason mas start --mas2j=app1.mas2j
```

You can add more agents in the project with:

```
Expand All @@ -34,6 +40,7 @@ To run agent karlos, there are two options: stop the MAS and run it again; or ad
jason agent start --source="src/agt/karlos.asl" --mas-name="app1" karlos
```


You can add a Gradle script for the application with:

```
Expand All @@ -43,8 +50,7 @@ jason app add-gradle
and then run it with `./gradlew run`.


More details and commands with (or xref:./commands.adoc[here])
:
More details and commands with (or xref:./commands.adoc[here]):

```
jason app
Expand Down
6 changes: 5 additions & 1 deletion doc/tutorials/vscode/readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@

== What You Will Build

In this document, you will build an environment to develop agent-based system with link:https://github.com/jason-lang/jason[Jason] language.
In this document, you will build an environment to develop agent-based systems with link:https://github.com/jason-lang/jason[Jason] language.

include::../../install.adoc[]

(You may need to close and open VSCode again to have Jason in its `PATH` terminal)


//image:./figs/inst.png[vscode and java installation]


Expand Down Expand Up @@ -63,6 +66,7 @@ To add more agents in your project:
jason app add-agent karlos
----


More commands for the application are shown with

----
Expand Down

0 comments on commit ef4dc1f

Please sign in to comment.