The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"Rapidminer- Studio from GitHub"

rasargrasarg Member Posts: 1 Learner III
edited June 2019 in Help

I've been trying to build rapidminer-studio from source with gradle.

 

After "sh gradlew build" I've got the following error

"Execution failed for task 'jar'"

"Cannot create signed jar from rapidminer-studio. Missing keystore property"

 

Looks like in some place or an option for a keystore property is missing.

 

Could someone give me some clue what can be happening?

 

thnks

Tagged:

Answers

  • svzelstsvzelst Member Posts: 7 Contributor II

    I am experiencing the exact same problem.

    In general, I'm trying to debug my custom build operators.

    Is there any way to do this?

     

    kind regards,

     

    Bas.

  • QorrectQorrect Member Posts: 2 Contributor I

    I'm getting the exact same error.  I try adding in my own keystore information for the signing, but when I try to use the jar in a distrubution, it gives me security access violations everywhere.

     

    I guess there is no way to build it from source ?

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering

    Hi,

     

    it's still very much possible to run the open source core. But you need to change the version from 7.2.0 to 7.2.0-SNAPSHOT or something else, as long as it's a SNAPSHOT version.

    We will update our documentation for this soon.

     

    Regards,

    Marco

  • marcovaughanmarcovaughan Member Posts: 2 Contributor I

    Hi @Marco_Boeck,

     

    I'm just wondering if there is any update as to when the documentation will be updated regarding this issue?

     

    Thanks,


    Mark

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering

    Hi,

     

    the next feature release (7.3) will contain the documentation and changes. However if you wish to not wait until then, you can do the changes yourself:

    Modify the build.gradle file and remove the following two lines from it:

    classpath 'com.rapidminer.gradle:java-signing:0.1.0'
    apply plugin: 'com.rapidminer.java-signing'

    Then you can use the readme to actually use it. The readme is written in markdown, so it will appear correctly on Github. Just a tad difficult to read in the forums I'm afraid but if you don't mind it, here is a sneak peak at it:

    RapidMiner Studio Core
    =============================

    Easy-to-use visual environment for predictive analytics. No programming required. RapidMiner is easily the most powerful and intuitive graphical user interface for the design of analysis processes. Forget sifting through code! You can also choose to run in batch mode. Whatever you prefer, RapidMiner has it all.

    This project contains the open source core of [RapidMiner Studio](https://rapidminer.com/studio).

    ## Getting Started

    * [Install](https://rapidminer.com/studio) RapidMiner Studio
    * Have a look at our [Getting Started](http://docs.rapidminer.com/studio/getting-started/) Videos
    * You miss something? There might be an [Extension](https://marketplace.rapidminer.com) for it
    * Have questions? Check out our official [community](https://community.rapidminer.com) and [documentation](https://docs.rapidminer.com)

    ## RapidMiner Studio Core as Dependency

    Using Gradle:
    ```gradle
    apply plugin: 'java'

    repositories {
    maven { url 'https://maven.rapidminer.com/content/groups/public/' }
    }

    dependencies {
    compile group: 'com.rapidminer.studio', name: 'rapidminer-studio-core', version: '+'
    }
    ```
    Using Maven:
    ```xml
    <project>
    ...
    <repositories>
    <repository>
    <id>rapidminer</id>
    <url>https://maven.rapidminer.com/content/groups/public/</url&gt;
    </repository>
    </repositories>
    ...
    <dependency>
    <groupId>com.rapidminer.studio</groupId>
    <artifactId>rapidminer-studio-core</artifactId>
    <version>LATEST</version>
    </dependency>
    ...
    </project>
    ```

    ## Build RapidMiner Studio Core from Source
    1. Clone rapidminer-studio using [git](https://git-scm.com/) into a folder named `rapidminer-studio-core`
    2. Execute `gradlew jar`
    3. The jar file is located in __build/libs__

    Please have in mind that the jar file still require all dependencies listed in the [build.gradle](build.gradle) file.

    ## Import RapidMiner Studio Core into your IDE
    1. Your IDE has to support Gradle projects.
    1. Install [Gradle 2.3+](https://gradle.org/gradle-download/)
    2. Install and configure a Gradle plugin for your IDE
    2. Import rapidminer-studio-core as a Gradle project

    ### Start the RapidMiner Studio Core GUI

    To start the graphical user interface of RapidMiner Studio Core create a new `GuiLauncher.java` file in __src/main/java__ and run it with your IDE. If you want to use the generated jar, add the jar and all dependencies to the Java class path `java -cp "all;required;jars" GuiLauncher`. You can list the runtime dependencies by executing `gradlew dependencies --configuration runtime`.

    ```java
    import com.rapidminer.gui.RapidMinerGUI;

    class GuiLauncher {
    public static void main(String args[]) throws Exception {
    System.setProperty(PlatformUtilities.PROPERTY_RAPIDMINER_HOME, Paths.get("").toAbsolutePath().toString());
    RapidMinerGUI.registerStartupListener(new ToolbarGUIStartupListener());
    RapidMinerGUI.main(args);
    }
    }
    ```

    ### Run RapidMiner Studio Core in CLI mode

    **Prerequisite**: Start the RapidMiner Studio GUI at least once and accept the EULA.

    To run RapidMiner Studio in command line mode create a new `CliLauncher.java` file in __src/main/java__ with the following content:

    ```java
    import com.rapidminer.RapidMiner;

    class CliLauncher {
    public static void main(String args[]) throws Exception {
    System.setProperty(PlatformUtilities.PROPERTY_RAPIDMINER_HOME, Paths.get("").toAbsolutePath().toString());
    RapidMiner.setExecutionMode(RapidMiner.ExecutionMode.COMMAND_LINE);
    RapidMiner.init();
    }
    }
    ```

    ## Diving in

    * Create your own [Extension](http://docs.rapidminer.com/developers/creating-your-own-extension/)
    * [Integrate](http://community.rapidminer.com/t5/Become-a-RapidMiner-Developer/Frequently-Asked-Questions-Development/m-p/19782) RapidMiner Studio Core into your project
    * And much more at our [Developer Board](http://community.rapidminer.com/t5/Become-a-RapidMiner-Developer/bd-p/BARDDBoard)

    ## License

    See the [LICENSE](LICENSE) file.

    Regards,

    Marco

  • marcovaughanmarcovaughan Member Posts: 2 Contributor I

    Thanks @Marco_Boeck, was able to get it built successfully!

     

     

Sign In or Register to comment.