[kepler-dev] [Bug 4126] New: - Allow user CLASSPATH to be loaded in Kepler

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Jun 3 08:29:07 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4126

           Summary: Allow user CLASSPATH to be loaded in Kepler
           Product: Kepler
           Version: 1.0.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: actors
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: cgarcia at eso.org
         QAContact: kepler-dev at kepler-project.org


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.


More information about the Kepler-dev mailing list