Notable Changes in StatET RJ

RJ 4.3.0 ~ StatET 4.3.0

RJ 4.2.0 ~ StatET 4.2.0

Setup

  • The AppEnvironment is enhanced and provides bundle resolution now. RJContext uses the AppEnvironment for bundle resolution by default. Applications need to be adapted.

    The bundle org.eclipse.statet.jcommons.util provides tools for bundle resolution in different types of application. Automatic setup of the application environment is supported for

    • Applications based on Eclipse Platform: fully automated
    • Common “simple” Java applications: use CommonsRuntime.check with autoInit= true

    (Bug 561121)

  • The package org.eclipse.statet.jcommons.status.util provides implementation of StatusLogger for the Java-Util Logging and Apache Commons Logging framework. (Bug 561123)

RJ 4.1.0 ~ StatET 4.1.0

Setup

  • The RJContext for default startup of Java based RJ servers changes. Applications which use RJContext.searchRJLibs directly or extends the class need to be adapted. (Bug 559616)

RJ 4.0.0 ~ StatET 4.0.0

General

  • All bundles require the bundle org.eclipse.statet.jcommons.util.

  • All bundles, except bundles of eclient, no longer depends on Eclipse Platform. This includes that bundles of ecommons or an ‘eruntime’ bundle are no longer required.

    This causes various changes in the method signatures of the API. New relevant packages are:

    • org.eclipse.statet.jcommons.status
    • org.eclipse.statet.jcommons.runtime
    • org.eclipse.statet.jcommons.rmi

    (Bug 541656)

  • Large parts of the API provide nullable annotations. (Bug 539045)

Services

  • ToolService and RToolService no longer depends on Eclipse Platform and moved to org.eclipse.statet.jcommons.ts respectively org.eclipse.statet.rj.ts.core.

  • The new method RService.findData finds the first object with a specified name in environments and returns a fully qualified object with the object itself and the environment where the object is found. (Bug 540153)

  • The packages org.eclipse.statet.env.* provide common classes for R environment and R pkg management as known from the StatET IDE.

Setup

  • The newly introduced system property org.eclipse.statet.rj.server.TcpPort allows to configure the TCP ports used by RJ servers. The range must be specified by a value <min>-<max>, e.g. org.eclipse.statet.rj.server.TcpPort=40100-40200. (Bug 540256)

  • The RJContext for default startup of Java based RJ servers is more flexible now:

    • It works with PathEntry instead of string path providing better support of local path as well as URLs, including URIs of nested JAR files.
    • It detects more common bundle filename patterns.

    (Bug 541791)