I'd like to know how to specify dependencies for plug-ins that must be used during the build to generate code (Acceleo) and documentation (wikitext).
In my buckminster build, I call a task named "mediawiki-to-eclipse-help", that is defined in wikitext.
I added a dependency to org.eclipse.mylyn.wikitext_feature in the cspec, and I can see that it gets materialized into the target platform during the build.
But during the build, I get this error: "failed to create task or type mediawiki-to-eclipse-help". Which I believe happens when the wikitext plug-in is not installed.
So I'm wondering whether Buckminster is supposed to use the target platform as a runtime platform during the build, or if there is another way to install features/bundles into Buckminster's runtime platform.
And I don't think I can install plug-ins directly into the Buckminster install, since I am running Buckminster using the Buckminster plug-in installed on Hudson on build.eclipse.org.
Am 22.07.2010 10:59, schrieb Nicolas Bros:
> And I don't think I can install plug-ins directly into the Buckminster
> install, since I am running Buckminster using the Buckminster plug-in
> installed on Hudson on build.eclipse.org.
If you need certain things for the build process itself, then they need
to be installed in the runtime not just sit in the workspace.
As for the Hudson Part, a JSON file on the Hudson Server decides which
features to install.
To install custom features you can simply copy the JSON file on the
server and add some features of your own.
Then store that file under
HUDSON_HOME/userContent/buckminster/buckminster.json (as described here: http://wiki.hudson-ci.org/display/HUDSON/Buckminster+PlugIn) and the
next time you run a build the plugin will provision a buckminster
installation that contains all the features you listed in the json file.
It is also possible to use a different installer method, for example the
'extract from archive' installer. You enter the URL to a zip that
contains your custom buckminster installation and this installation will
be downloaded and expanded on the fly when needed.