How to built Bio7 - Bio7/bio7 GitHub Wiki

Built Bio7

Bio7 is now available as a Maven Tycho built and can be created locally. All plugins and features are now available in one Github repository. To built Bio7:

  • For the built Eclipse must be installed locally (please use this distribution: Eclipse IDE for RCP and RAP Developers).

  • Download and install Java 25 JDK for Eclipse (Adoptium JDK can be downloaded here: https://adoptium.net/).

  • Download and install the latest Maven release (https://maven.apache.org/).

  • Import all Plugins and Features from the bio7 Git repository (https://github.com/Bio7/bio7).

  • To bundle a JDK with your built download a JDK and copy it to the OS specific folder of this feature: https://github.com/Bio7/bio7/tree/master/com.eco.bio7.jdk - Unpack the jdk in the specific OS folder and rename the top folder of the unpacked JDK to 'jdk'.

  • Expand the com.eco.bio7.targetplatform plugin. Execute "Set as Active Target Platform" and then execute "Reload Target Platform". See also: https://www.vogella.com/tutorials/EclipseTargetPlatform/article.html

  • Open a shell and navigate to the main Maven *.pom in the Git repository (in the downloaded Git repository, e.g., on MacOSX: 'cd /Users/xxxx/git/bio7/').

  • Execute the parent *.pom in the shell with: 'mvn -f com.eco.bio7.aggregator/pom.xml clean install' (or with 4 cores available: 'mvn -T 4 -f com.eco.bio7.aggregator/pom.xml clean install').

The Bio7 built is now available in the com.eco.bio7.product plugin (in the targets/products folder - refresh the folder if not visible!).

If a JDK was not bundled with a built (see above): To start Bio7 after a successful built a JDK is required.

In the Bio7.ini file (can be opened with a text editor) a default path is given which points to an embedded local JDK. Just copy a JDK to the given location to start Bio7 (rename the top folder to 'jdk').

For Windows and Linux just copy the JDK to the Bio7 installation folder. For MacOSX copy the JDK to the "Contents/MacOS" folder (visible after right-click on the Bio7.app and the "Show Package Contents" action).

For more information about the -vm option which points to a JDK, see: https://wiki.eclipse.org/Eclipse.ini Developing an Testing Bio7 with Eclipse:

Start within Eclipse for testing and development

To start Bio7 within Eclipse for testing and development navigate to the com.eco.bio7.product plugin and open the Bio7.product file. Then execute the "Launch an Eclipse application" action.

Links:

https://www.vogella.com/tutorials/EclipseTycho/article.html

https://tycho.eclipseprojects.io/doc/latest/

Acknowledgments

Huge thanks to Matthias Mailänder who made this new Bio7 Maven Tycho built possible.