kandi background
Explore Kits

pentaho-kettle | Pentaho Data Integration a.k.a Kettle | Data Migration library

 by   pentaho Java Version: 5.2.0.2-C-185-R License: Apache-2.0

 by   pentaho Java Version: 5.2.0.2-C-185-R License: Apache-2.0

Download this library from

kandi X-RAY | pentaho-kettle Summary

pentaho-kettle is a Java library typically used in Migration, Data Migration, Spark applications. pentaho-kettle has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub.
Pentaho Data Integration ( ETL ) a.k.a Kettle.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • pentaho-kettle has a medium active ecosystem.
  • It has 5719 star(s) with 2926 fork(s). There are 459 watchers for this library.
  • It had no major release in the last 12 months.
  • pentaho-kettle has no issues reported. There are 65 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of pentaho-kettle is 5.2.0.2-C-185-R
pentaho-kettle Support
Best in #Data Migration
Average in #Data Migration
pentaho-kettle Support
Best in #Data Migration
Average in #Data Migration

quality kandi Quality

  • pentaho-kettle has 0 bugs and 0 code smells.
pentaho-kettle Quality
Best in #Data Migration
Average in #Data Migration
pentaho-kettle Quality
Best in #Data Migration
Average in #Data Migration

securitySecurity

  • pentaho-kettle has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • pentaho-kettle code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
pentaho-kettle Security
Best in #Data Migration
Average in #Data Migration
pentaho-kettle Security
Best in #Data Migration
Average in #Data Migration

license License

  • pentaho-kettle is licensed under the Apache-2.0 License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
pentaho-kettle License
Best in #Data Migration
Average in #Data Migration
pentaho-kettle License
Best in #Data Migration
Average in #Data Migration

buildReuse

  • pentaho-kettle releases are available to install and integrate.
  • Build file is available. You can build the component from source.
  • Installation instructions, examples and code snippets are available.
  • pentaho-kettle saves you 1551386 person hours of effort in developing the same functionality from scratch.
  • It has 666941 lines of code, 39426 functions and 3015 files.
  • It has high code complexity. Code complexity directly impacts maintainability of the code.
pentaho-kettle Reuse
Best in #Data Migration
Average in #Data Migration
pentaho-kettle Reuse
Best in #Data Migration
Average in #Data Migration
Top functions reviewed by kandi - BETA

kandi has reviewed pentaho-kettle and discovered the below as its top functions. This is intended to give you an instant insight into pentaho-kettle implemented functionality, and help decide if they suit your requirements.

  • Creates the repository table .
  • Split original transformation .
  • Add the look tab .
  • Gets the system data .
  • Prepare execution .
  • Load the common images .
  • Create the elements .
  • Adds the tab .
  • Process row file .
  • Add file tab .

pentaho-kettle Key Features

Pentaho Data Integration ( ETL ) a.k.a Kettle

How to build

copy iconCopydownload iconDownload
$ mvn clean install

Contributing

copy iconCopydownload iconDownload
public class MyTest {
  @ClassRule public static RestorePDIEnvironment env = new RestorePDIEnvironment();
  #setUp()...
  @Test public void testSomething() { 
    assertTrue( myMethod() ); 
  }
}

How to use FXCanvas with SWT Java 8

copy iconCopydownload iconDownload
<dependency>
    <!-- GroupId/ArtifactId/Version doesn't matter unless it clashes. -->
    <groupId>jfxswt</groupId>
    <artifactId>jfxswt</artifactId>
    <version>1.8</version>
    <scope>system</scope>
    <systemPath>${java.home}/lib/jfxswt.jar</systemPath>
</dependency>
<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>exec-maven-plugin</artifactId>
    <version>3.0.0</version>
    <executions>
        <execution>
            <goals>
                <goal>java</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <mainClass>twobuttons.TwoButtons</mainClass>
        <additionalClasspathElements>
            <!-- The run environment must configure the system jar. -->
            <element>${java.home}/lib/jfxswt.jar</element>
        </additionalClasspathElements>
    </configuration>
</plugin>
-----------------------
<dependency>
    <!-- GroupId/ArtifactId/Version doesn't matter unless it clashes. -->
    <groupId>jfxswt</groupId>
    <artifactId>jfxswt</artifactId>
    <version>1.8</version>
    <scope>system</scope>
    <systemPath>${java.home}/lib/jfxswt.jar</systemPath>
</dependency>
<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>exec-maven-plugin</artifactId>
    <version>3.0.0</version>
    <executions>
        <execution>
            <goals>
                <goal>java</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <mainClass>twobuttons.TwoButtons</mainClass>
        <additionalClasspathElements>
            <!-- The run environment must configure the system jar. -->
            <element>${java.home}/lib/jfxswt.jar</element>
        </additionalClasspathElements>
    </configuration>
</plugin>

Community Discussions

Trending Discussions on pentaho-kettle
  • How to use FXCanvas with SWT Java 8
Trending Discussions on pentaho-kettle

QUESTION

How to use FXCanvas with SWT Java 8

Asked 2020-Dec-17 at 08:55

I am trying to integrate JavaFX inside of an SWT application using FXCanvas. For reference, I am following this oracle guide

Within my IDE this chunk of code displays an error

/* Create an FXCanvas */
final FXCanvas fxCanvas = new FXCanvas(shell, SWT.NONE) {

    @Override
    public Point computeSize(int wHint, int hHint, boolean changed) {
        getScene().getWindow().sizeToScene();
        int width = (int) getScene().getWidth();
        int height = (int) getScene().getHeight();
        return new Point(width, height);
    }
};

Error:

(yes, I have imported the correct Point class: org.eclipse.swt.graphics.Point):

'computeSize(int, int, boolean)' in 'Anonymous class derived from javafx.embed.swt.FXCanvas' clashes with 'computeSize(int, int, boolean)' in 'javafx.embed.swt.FXCanvas'; attempting to use incompatible return type

However, I don't think this is the root cause... Because when I try to build the project (maven) I get this error:

package javafx.embed.swt does not exist. Which I believe is the true issue.

So after doing some research I have checked a few things, firstly, the jfxswt jar looks like it should be accessible:

enter image description here

and if I open the JAR, you can see FXCanvas is there: enter image description here

I even tried adding the JAR manually as a library to my module, still doesn't work.

Here is my pom.xml, (i've intentionally anonymized certain info)

I will also mention that I have tried this in a fresh project without any maven dependencies, and just adding swt and such as libraries manually with the same error.

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId></groupId>
        <artifactId></artifactId>
        <version></version>
    </parent>

    <artifactId></artifactId>
    <version>2.0.0.0-SNAPSHOT</version>
    <packaging>jar</packaging>

    <name></name>
    <description></description>

    <dependencies>
        <dependency>
            <groupId>pentaho-kettle</groupId>
            <artifactId>kettle-engine</artifactId>
        </dependency>
        <dependency>
            <groupId>pentaho-kettle</groupId>
            <artifactId>kettle-core</artifactId>
        </dependency>
        <dependency>
            <groupId>pentaho-kettle</groupId>
            <artifactId>kettle-ui-swt</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse.swt</groupId>
            <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse</groupId>
            <artifactId>jface</artifactId>
            <version>3.3.0-I20070606-0010</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.4</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
        </dependency>
    </dependencies>
</project>

Am I missing something, any ideas?

ANSWER

Answered 2020-Dec-17 at 08:55

You will need to add the jfxswt.jar file to your classpath for compile and for execution.

This can be done by using the system scope as that jar file is part of your JDK under the jre/lib directory.

<dependency>
    <!-- GroupId/ArtifactId/Version doesn't matter unless it clashes. -->
    <groupId>jfxswt</groupId>
    <artifactId>jfxswt</artifactId>
    <version>1.8</version>
    <scope>system</scope>
    <systemPath>${java.home}/lib/jfxswt.jar</systemPath>
</dependency>

This will instruct maven to add the jre/lib/jfxswt.jar to the classpath. This could cause an issue if someone uses different JDK what has that jar in other places but for Java 8 you should be okay.

You have to add the jfxswt.jar to your classpath when you execute your application.

In maven you can use the exec plugin:

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>exec-maven-plugin</artifactId>
    <version>3.0.0</version>
    <executions>
        <execution>
            <goals>
                <goal>java</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <mainClass>twobuttons.TwoButtons</mainClass>
        <additionalClasspathElements>
            <!-- The run environment must configure the system jar. -->
            <element>${java.home}/lib/jfxswt.jar</element>
        </additionalClasspathElements>
    </configuration>
</plugin>

Notes:

The system scope is deprecated in maven in favor of installing files to repositories. The solution above works fine at the moment.

The content of the jfxswt.jar can be part of some SWT libraries unfortunately I am not familiar with SWT. If you can find that jar in a Maven repo than just include that instead of messing with the system scope.

The twobuttons.TwoButtons class is from the tutorial you mentioned.

Source https://stackoverflow.com/questions/65116272

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install pentaho-kettle

Pentaho Data Integration uses the Maven framework.
Maven, version 3+
Java JDK 11
This settings.xml in your /.m2 directory
Don't use IntelliJ's built-in maven. Make it use the same one you use from the commandline. Project Preferences -> Build, Execution, Deployment -> Build Tools -> Maven ==> Maven home directory

Support

Use of the Pentaho checkstyle format (via mvn checkstyle:check and reviewing the report) and developing working Unit Tests helps to ensure that pull requests for bugs and improvements are processed quickly. When writing unit tests, you have at your disposal a couple of ClassRules that can be used to maintain a healthy test environment. Use RestorePDIEnvironment and RestorePDIEngineEnvironment for core and engine tests respectively.

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Explore Related Topics

Share this Page

share link
Compare Data Migration Libraries with Highest Support
Compare Data Migration Libraries with Highest Quality
Compare Data Migration Libraries with Highest Security
Compare Data Migration Libraries with Permissive License
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.