Closed RobertDiebels closed 7 years ago
Sorry that documentation is not clear about that (yet). You can select Eclipse version via selectedEclipseVersion property, as shown here: https://github.com/akhikhl/wuff/wiki/Configuration-DSL You don't have to define eclipse version details (like versions of individual plugins or particular dependencies), since a great deal of such configuration is already implemented by Wuff: https://github.com/akhikhl/wuff/blob/master/libs/wuff-plugin/src/main/resources/org/akhikhl/wuff/defaultConfig.groovy So, all you have to do is:
wuff {
selectedEclipseVersion = '4.3.2'
}
The following versions are pre-configured by Wuff: [3.7.1, 3.7.2, .4.2.1, 4.2.2, 4.3.1, 4.3.2, 4.4].
Thanks for the quick reply! In what file should I place these settings?
In a single-project setup: "build.gradle" of the given project.
In multi-project setup: "build.gradle" of the root project.
As a stand-alone? Or in the buildscript section? Because I'm getting errors in both cases.
Did you try following the tutorial? For example, this one: https://github.com/akhikhl/wuff/wiki/Programming-RCP-apps Does the tutorial produce an error? Could you, please, provide error stack trace?
The simplest config with eclipse version specification should be:
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath 'org.akhikhl.wuff:wuff-plugin:+'
}
}
apply plugin: 'java'
apply plugin: 'org.akhikhl.wuff.eclipse-rcp-app'
repositories {
mavenLocal()
jcenter()
}
wuff {
selectedEclipseVersion = '3.7.2'
}
Hi Robert, Any news on your progress with Eclipse versions and Wuff? I'd be glad to help.
I updated documentation at https://github.com/akhikhl/wuff/wiki/Configuration-DSL . Did you succeed in selecting the needed Eclipse version?
Even I selected ecllipse as 4.6, the wuff is trying to download from http://mirror.netcologne.de/eclipse//eclipse/downloads/drops4/R-4.5-201506032000/eclipse-SDK-4.5-linux-gtk-x86_64.tar.gz which is not available at eclipse site. How to get out of this?
@akhikhl so so sorry for the non-responsiveness. I worked on this in some free coding time at a former employer. Totally forgot about it. I have no idea what my setup was back then, so I can't reproduce this. I'll close it so you don't have to worry about it anymore.
Again, so sorry.
How and where do I set the version of the Eclipse framework I want to use? By default Luna is used. But my source depends on 3.7. Where do I configure Wuff to use that instead? The wiki doesn't elaborate on this :).