Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Spoon plugin libraries

  1. #1
    Pooyan Farahani Guest

    Default Spoon plugin libraries

    Hi all,


    I have a Spoon plugin which has dependencies to certain third party
    libraries. The plugin is mainly like the saleforce plugin, my problem is
    when I place the libraries within the the plugin folder and set it in the
    plugin.xml, those required classes are not visible in the executing
    classpath and I had to copy all the jar files to the libext folder. To keep
    the libext clean, I want to make a folder for my plugin's jar files within
    the libext folder, like the existing common and saleforce, I tried it but it
    doesn't pick up my jar files.


    Is there any setting which I'm missing?


    Many thanks,
    Pooyan

    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

  2. #2
    Matt Casters Guest

    Default Re: Spoon plugin libraries

    Hi Pooyan,

    These days it's easiest to simply use Java annotations to configure your
    plugins.
    For example, look at the source code of the AgileBI visualisation plugin:

    http://goo.gl/i1HWg

    In any case... your own classes, deployed in a jar file in a plugins/spoon
    folder can live next to a lib/ folder. All the jar files in that folder are
    automatically included in the classpath of your plugin. So that is the
    answer to the riddle you had.

    HTH,

    Matt




    2011/2/16 Pooyan Farahani <p.farahani (AT) gmail (DOT) com>

    > Hi all,
    >
    >
    > I have a Spoon plugin which has dependencies to certain third party
    > libraries. The plugin is mainly like the saleforce plugin, my problem is
    > when I place the libraries within the the plugin folder and set it in the
    > plugin.xml, those required classes are not visible in the executing
    > classpath and I had to copy all the jar files to the libext folder. To keep
    > the libext clean, I want to make a folder for my plugin's jar files within
    > the libext folder, like the existing common and saleforce, I tried it but it
    > doesn't pick up my jar files.
    >
    >
    > Is there any setting which I'm missing?
    >
    >
    > Many thanks,
    > Pooyan
    >
    > --
    > You received this message because you are subscribed to the Google Groups
    > "kettle-developers" group.
    > To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    > To unsubscribe from this group, send email to
    > kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    > For more options, visit this group at
    > http://groups.google.com/group/kettle-developers?hl=en.
    >




    --
    Matt Casters <mcasters (AT) pentaho (DOT) org>
    Chief Data Integration, Kettle founder, Author of Pentaho Kettle
    Solutions<http://www.amazon.com/Pentaho-Kettle-Solutions-Building-Integration/dp/0470635177>
    (Wiley <http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470635177.html>)
    Fonteinstraat 70, 9400 OKEGEM - Belgium - Cell : +32 486 97 29 37
    Pentaho : The Commercial Open Source Alternative for Business Intelligence

    --
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
    To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.