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
./gradlew initializeExtensionProject ERROR
hi,
I followed the "How to extend Rapidminer 7" tutorial pdf on to the point with the command ./gradlew initializeExtensionProject
I get an error:
FAILURE: Build failed with an exception.
* What went wrong:
Task 'initializeExtensionProject' not found in root project 'rapidminer-extension-template-master'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
what am I doing wrong? I imported the rapidminer-extension-template into the workspace...
my workspace is still missing src/main/java and several other folders...
Tagged:
0
Answers
Hi Fred,
which version of the 'com.rapidminer.extension' gradle plugin are you using? Version 0.8.2. should include the task.
The plugins and versions are defined in the build.gradle file.
Cheers,
Marcel
I downloaded it from the Rapidminer github source page, no idea what the actual version is...
Hi Fred,
the plugins and versions are defined in the build.gradle file. Please verify the mentioned version number.
If the version number is greater or equal 0.8.2 you should be able execute the following task from console:
Cheers,
Marcel
gradle.properties file shows its version = 1.0.0
after I executed your command and the one in the manual, it gives an error:
Hi Fred,
the gradle.properties contains only the version of your extension. So please open the build.gradle file and check for the following line:
It's a little bit strange that the result of the
command isnot the same, because iEP should be mapped to initializeExtensionProject.
What happens if you execute the batch file?
I get another error:
I have 0.8.2:
maybe they changed something in their packages and files are missing?
Hi Fred,
maybe it's a caching issue.
The 'rapidminer-extension-template-master' folder should contain a hidden '.gradle' folder (notice the DOT). Please delete it. The folder will be recreated every time you run a gradle task.
After you've removed the folder try to execute the
command to retrieve the list of the available gradle tasks. If initializeExtensionProject is listed we are fine and you can try to execute the task, otherwise we need to come up with a different solution (in this case please post the ouput of the previous command).
Cheers,
Marcel
did not help in any way...
Hi Fred,
this is very weird...
Please try to update the gradle extension plugin:
Open the build.gradle file in the rapidminer-extension-template-master project and update the following line.
Change this
to this
and run the
again.
I got that problem too. Is there any solver yet?
The initializeExtensionTask is only available if the 'PluginInit*.java' was not created. So make sure the file does not exist or download and create a new empty project.
It already solved. I try to re unzip the file (rapidminer template master) and run it (initializeExtensionProject) from eclipse, it gave me an error. Then I try to re unzip again and run it from command and it run well, after that I try to re unzip again and run it from eclipse, it run well too. I don't now what's wrong, but it solve my problem.
Hi, I am encountering the same problem. Can you please help me i need to know this for my dissertation. Thanks in advance
Hi wassdullull,
by following this short list you should be able to initialize the extension:
If the described approach is still not working please provide more details - like the OS you are currently using and the exact error message.
Hope this helps,
Marcel