Opened 17 years ago

Closed 17 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 Nordborg Owned by: Nicklas Nordborg
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 by Nicklas Nordborg, 17 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: assignedclosed

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

comment:3 by Nicklas Nordborg, 17 years ago

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

comment:4 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: closedreopened

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

comment:5 by Nicklas Nordborg, 17 years ago

(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 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: reopenedclosed

Now tested on windows.

Note: See TracTickets for help on using tickets.