| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Currently, we are refactoring the code to make it easier to understand, extend and better documented, so it's not in the state we would like to have it right now.
JSoar is a pure Java implementation of a general cognitive system that has the same cognitive abilities as a human. See the JSoar Wiki for more information. The User's Guide is a good place to start.
Pre-built releases are available on github: https://github.com/soartech/jsoar/releases
To add a dependency on JSoar using Maven or gradle, include the following dependencies as needed. A typical project may include jsoar-core, jsoar-debugger, jsoar-tcl, and jsoar-soarunit.
JSoar Core (required):
<dependency>
<groupId>com.soartech</groupId>
<artifactId>jsoar-core</artifactId>
<version>${jsoar.version}</version>
</dependency>
dependencies {
compile 'com.soartech:jsoar-core:$jsoarVersion'
}
<dependency>
<groupId>com.soartech</groupId>
<artifactId>jsoar-tcl</artifactId>
<version>${jsoar.version}</version>
</dependency>
dependencies {
compile 'com.soartech:jsoar-tcl:$jsoarVersion'
}
<dependency>
<groupId>com.soartech</groupId>
<artifactId>jsoar-debugger</artifactId>
<version>${jsoar.version}</version>
</dependency>
dependencies {
compile 'com.soartech:jsoar-debugger:$jsoarVersion'
}
<dependency>
<groupId>com.soartech</groupId>
<artifactId>jsoar-soarunit</artifactId>
<version>${jsoar.version}</version>
</dependency>
dependencies {
compile 'com.soartech:jsoar-soarunit:$jsoarVersion'
}
Remote Web-Based Debugging Support:
<dependency>
<groupId>com.soartech</groupId>
<artifactId>jsoar-legilimens</artifactId>
<version>${jsoar.version}</version>
</dependency>
dependencies {
compile 'com.soartech:jsoar-legilimens:$jsoarVersion'
}
<dependency>
<groupId>com.soartech</groupId>
<artifactId>jsoar-soar2soar</artifactId>
<version>${jsoar.version}</version>
</dependency>
dependencies {
compile 'com.soartech:jsoar-soar2soar:$jsoarVersion'
}
JSoar Demos has a number of examples of using JSoar that you can look at; it probably doesn't make sense to depend on this:
<dependency>
<groupId>com.soartech</groupId>
<artifactId>jsoar-demos</artifactId>
<version>${jsoar.version}</version>
</dependency>
dependencies {
compile 'com.soartech:jsoar-demos:$jsoarVersion'
}
Note that the maven branch is now the main branch. The master branch is no longer maintained.
There is also an Android branch, which maintains an Android-compatible version.
The coding conventions for the JSoar codebase comply to Google java format.
To apply the code style within InteliJ download the IntelliJ Java Google Style file and import it into File→Settings→Editor→Code Style.
Builds are performed from the root directory.
Jars will end up in the target directories of the various projects (and in your local .m2 cache, if you install). Javadocs will end up in the top-level target/site directory.
To create a release using the Maven Release plugin:
Make sure you have a github account that has permission to commit to the jsoar repo.
Make sure you have ossrh server setup in your settings.xml with the soartech-releases account.
To build using the poms as-is, you should use a Java 15 JDK. More recent JDKs will work, but without additional changes to the poms, they may not produce jar files that can be linked with Java 15 applications.
Make sure everything is fully merged and all commits are pushed.
mvn -Dusername=<yourGithubUsername> release:prepare -DdryRun=true
If everything looks good in the dry run:
If something goes wrong when running any of the release commands, you can try mvn -Dusername=<yourGithubUsername> release:rollback, which will attempt to undo the changes. This should work as long as you haven't done a release:clean. For more info, see the documentation.
If everything is good, you can do a mvn release:clean to remove all the intermediate files that the release plugin created. These should definitely not be committed.
Don't forget to update the version badge at the top of the readme.
JSoar was originally envisioned and implemented by Dave Ray (and indeed, the vast majority of the code is still Dave's). JSoar started out on Google Code in SVN, was converted to Mercurial and then Git, and then moved to Dave's github site. Today JSoar is primarily maintained by Soar Technology, Inc.
| Back | FazBrowse Home | New Git URL |