The RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent licensing related requests from Students/Faculty members, please use the Altair academic forum here.
"Problems with building an Extension"
Hello,
I'm a student and my latest task is to build a new extension for RapidMiner implementing some of my profesors methods.
I've have been carefully following all the instructions I could find online, but I've reached a problem I can't solve. When I try to run createjar from build.xml of RapidMiner_Extension_Template I get following output:
- my RapidMiner resources are up to date (checked out today)
- I'm using java 1.7
- I changed Vega to Unuk in build.xml
- I added <exclude name="**/*" /> to build.xml
Is there anything I missed? I will be happy for any help you can provide me.![:) :)](https://community.rapidminer.com/resources/emoji/smile.png)
Thank you,
Milan
I'm a student and my latest task is to build a new extension for RapidMiner implementing some of my profesors methods.
I've have been carefully following all the instructions I could find online, but I've reached a problem I can't solve. When I try to run createjar from build.xml of RapidMiner_Extension_Template I get following output:
I have read some topics about it here and checked all the answers to this topis i could find:
Buildfile: C:\Users\vizour\workspace\RapidMiner_Extension_Template\build.xml
clean:
[echo] Cleaning...
[delete] Deleting directory C:\Users\vizour\workspace\RapidMiner_Extension_Template\build
[delete] Deleting directory C:\Users\vizour\workspace\RapidMiner_Extension_Template\javadoc
[mkdir] Created dir: C:\Users\vizour\workspace\RapidMiner_Extension_Template\build
[mkdir] Created dir: C:\Users\vizour\workspace\RapidMiner_Extension_Template\javadoc
version.get:
[echo] Long version: ${extension.version}.${extension.revision}.${extension.update}; short version: ${extension.version}.${extension.revision}
init.setEncoding:
init:
Trying to override old definition of task get
Trying to override old definition of task rpm
Trying to override old definition of task post
init.setEncoding:
copy-resources:
[echo] Copying resources...
[copy] Copying 9 files to C:\Users\vizour\workspace\RapidMiner_Extension_Template\build
changes.testExistence:
merge.changes:
build:
build.rm:
version.get:
[echo] Long version: 5.3.000; short version: 5.3
init:
Trying to override old definition of task downloadOperatorDocumentation
Trying to override old definition of task get
Trying to override old definition of task post
Trying to override old definition of task head
Trying to override old definition of task put
Trying to override old definition of task rpm
Trying to override old definition of task post
copy-resources:
[echo] Copying resources...
version.updateFiles:
[echo] Updating to version 5.3.000
check.newDocumentationPresent:
create-documentation:
merge.changes:
[echo] Merging all changes files
build:
[echo] RapidMiner: Compile with Java from dir: C:\eclipse\jre
[echo] RapidMiner: using Java version: 1.7.0_09
[javac] Compiling 12 source files to C:\Users\vizour\workspace\RapidMiner_Unuk\build
BUILD FAILED
C:\Users\vizour\workspace\RapidMiner_Unuk\build_extension.xml:139: The following error occurred while executing this line:
C:\Users\vizour\workspace\RapidMiner_Unuk\build_extension.xml:204: The following error occurred while executing this line:
C:\Users\vizour\workspace\RapidMiner_Unuk\build.xml:174: Error running javac.exe compiler
Total time: 3 seconds
- my RapidMiner resources are up to date (checked out today)
- I'm using java 1.7
- I changed Vega to Unuk in build.xml
- I added <exclude name="**/*" /> to build.xml
Is there anything I missed? I will be happy for any help you can provide me.
![:) :)](https://community.rapidminer.com/resources/emoji/smile.png)
Thank you,
Milan
Tagged:
0
Answers
if your build.xml still referenced RapidMiner_Vega, than it definitly is not up to date.
Try using this one: Best,
Nils
thank you for your answer. Unfortunately even this build.xml file produced the "same" output: Do you have any idea why it does that?
Thank you
to compile a Java program you need the Java JDK - not the JRE. Right-click your Ant target, select "Run As" - "External Tools Configurations...", go to the "JRE" tab and select your Java 7 JDK.
Regards,
Marco