Opened 10 years ago

Closed 10 years ago

#913 closed enhancement (fixed)

Plug-in JAR paths should support paths relative to the plugins.dir setting in base.config

Reported by: nicklas Owned by: nicklas
Priority: major Milestone: BASE 2.6
Component: core Version:
Keywords: Cc:

Description

If the start of the plug-in JAR path matches the plugins.dir setting we replace that with %plugins.dir%, for example:

  /usr/local/base/plugins/illumina-plugins.jar

is stored as

%plugins.dir%/illumina-plugins.jar

in the database. The conversion should be automatic in the core and only the real path should be shown to users. Other benefits:

  • Running on a job agent were the root path is different means that we only have to change the setting in the base.config file.
  • Moving the plug-ins to another directory also means that we only have to change the setting

in base.config

This scheme should also be followed by other places were a JAR path is needed. See for example #911.

Change History (6)

comment:1 Changed 10 years ago by nicklas

  • Owner changed from everyone to nicklas
  • Status changed from new to assigned

comment:2 Changed 10 years ago by nicklas

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4113]) Fixes #913: Plug-in JAR paths should support paths relative to the plugins.dir setting in base.config

comment:3 Changed 10 years ago by nicklas

(In [4114]) References #913: Added some documentation

comment:4 Changed 10 years ago by nicklas

  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopens this ticket because I think the implementation is not Windows-friendly.

comment:5 Changed 10 years ago by nicklas

(In [4122]) References #913: Plug-in JAR paths should support paths relative to the plugins.dir setting in base.config

The windows problem should now be solved, but need to test it also.

comment:6 Changed 10 years ago by nicklas

  • Resolution set to fixed
  • Status changed from reopened to closed

Now tested on windows.

Note: See TracTickets for help on using tickets.