Skip to content

isa-group/BOTICA-java-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOTICA Java Template

Note

You can see a use case of the template with RESTest at BOTICA-RESTest.

Running your proyect with BOTICA

  1. Use this repository as a template for your project.

  2. Install BOTICA as a local dependency, following the steps described at BOTICA README.

  3. Configure your project.

    1. Define your bot properties file according to your needs. You can find more information in the BOTICA Wiki.
    2. Create all the necessary Launcher classes based on the types of bots you have defined. You can find more information in the BOTICA Wiki.
    3. Create the necessary property files to define how configuration file generation and launching of the Collector bot will be carried out. You can find more information in the BOTICA Wiki.
  4. Compiling the project.

    Open a terminal at the project's root and run the following Maven command to compile and package the project.

    mvn clean install
    
  5. Generate the necessary files to launch the BOTICA environment.

    • To use the default file located in src/main/resources/BOTICAConfig/configuration-setup.properties, run the following maven command at the root of the project:
      mvn exec:java@configuration-setup
      
    • To use a file located in another path, run the following maven command at the root of the project:
      mvn exec:java@configuration-setup -Dexec.args="path/to/file"
      
  6. Launch the BOTICA environment.

    In case you are using Windows operating system, you can run the generated .bat file in the root of your project with the name launch_botica.bat.

    Alternatively, you can use a defined command that performs the same execution process:

    mvn exec:exec@launch-botica-windows
    

    If, on the other hand, you are using a Unix-based system, you can run the generated .sh file in the root of your project with the name launch_botica.sh.

    Alternatively, you can use a defined command that performs the same execution process:

    mvn exec:exec@launch-botica-unix
    
  7. Shut down the BOTICA environment.

    To shut down the running BOTICA environment, run the following maven command at the root of the project:

    mvn exec:java@launch-shutdown
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages