I need to set the rapid miner studio version to -SNAPSHOT to give my extension the necessary rights.
I downloaded the source code from github and changed the version in gradle.properties.
I build the studio like it's recommended on github:
Build RapidMiner Studio Core from Source
- Clone rapidminer-studio using git into a folder named
rapidminer-studio-core
- Execute
gradlew jar
- 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 file.
But i when i try to execute the generated jar with:
java -jar rapidminer-studio-core-9.0.0-SNAPSHOT.jar
i get the following message:
no main manifest attribute, in rapidminer-studio-core-9.0.0-SNAPSHOT.jar
In the MANIFEST.MF is no Main-Class defined, but which do i need to add and how?
I also tried to import it into my IDE like it's recommended on github:
Import RapidMiner Studio Core into your IDE
- Your IDE has to support Gradle projects.
- Install Gradle 2.3+
- Install and configure a Gradle plugin for your IDE
- 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
.
But when i try to add the jar and all the dependencies to the java class path i get the error:
Could not find or load main class GuiLauncher
How can i solve at least one of these errors?