Project

General

Profile

Actions

Bug #4126

closed

Allow user CLASSPATH to be loaded in Kepler

Added by Enrique Garcia almost 15 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
06/03/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4126

Description

I have a jython actor that uses a java class I have in a jar file. Kepler fails when loading that actor via a kar file (or a workflow) created in another machine where the jar file was placed in $kepler/lib/jar. But in my new machine I do not have write access to the kepler installation, so I would like to either include the jar in the kar file (see 3066) or to include my own CLASSPATH. I made a copy of kepler.sh that worksaround this. Here is the patch:

19c19
< export CLASSPATH=".:./configs:./lib:./lib/images:./build/kepler.jar:./build/kepler-icons.jar"
---

export CLASSPATH=".:./configs:./lib:./lib/images:./build/kepler.jar:./build/kepler-icons.jar:$CLASSPATH"

At least that way one can easily import any actor which needs extra jar files just setting up the CLASSPATH properly. It would be nice to include this patch in the next release.

Actions #1

Updated by David Welker about 14 years ago

This is not an issue with the new build system. Now, it is easy to include necessary jars used by actors or other code. Just put the jar in the <module>/lib folder.

Closing this bug.

Actions #2

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 4126

Actions

Also available in: Atom PDF