Skip to content

artaius/openchemlib-vaadin

Repository files navigation

OpenChemLib Vaadin

Vaadin Java integration of the OpenChemLib JS components (OpenChemLib JS is the JavaScript port of the OpenChemLib Java library).

Usage

Find it on Vaadin addon directory or or directly add the following dependency to your project:

<dependency>
    <groupId>ch.artaios</groupId>
    <artifactId>openchemlib-vaadin</artifactId>
    <version>X.X.X</version>
</dependency>

Additionally you can also grab the precompiled jar file(s) from Releases.

To be able to properly run in development mode, don't forget to add package ch.artaios to src/main/resources/application.properties like follows:

vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,ch.artaios

Development

The project is based on SpringBoot.

Starting the test server

The following allows to experiment with the components in the browser.

  1. Run ch.artaios.TestServer in src/test/java/ch/artaios/openchemlib/vaadin.
  2. Open https://localhost:8443 in the browser.

Building

To build production version run:

mvn install -Pproduction

Releasing

To release a new version, update the version in pom.xml either to

  • x.y.z-SNAPSHOT in main branch
  • x.y.z in release branch

and push the changes. The release will be automatically published to Maven Central.

Screenshots

StructureView StructureView StructureView StructureView

About

OpenChemLib Vaadin Components

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors