Nuclos bundle package embed: jar cvf, nuclet extension, server extension, extensions/server, WEB-INF/lib, properties.

globe with meridians Language: Deutsch · English

hammer and wrench Packaging and embedding in Nuclos

Package language bundles as a JAR and embed them as a nuclet extension or via the file system.

On this page

Package the bundle

Place the bundle files in a subfolder of your project (e.g. <project>/Bundle/BundleWS) and package them via the JDK:

cd <project>/Bundle/BundleWS
jar -cvf ../Bundle.jar .        # package
jar xf ../Bundle.jar            # unpack

For the jar command the JDK must be on the system PATH.

Embed in Nuclos

As a nuclet extension (recommended)

  1. Open Configuration → Nuclet and select a nuclet.
  2. Tab Extensions → add a row and choose the .jar.
  3. Tick Server Extension?, save, restart the server.

Embedding the bundle as a nuclet extension.

Via the file system

Place Bundle.jar in both folders and restart the server:

With the file-system variant it is not visible in the Nuclos UI that a bundle was loaded.

Related pages

globe with meridians Creating language files


Language files.

Open →

package Nuclet


Extensions.

Open →