I tried to create a simple P2 site using:
buildr (1.4.6 java)
buildr4osgi (0.9.6)
With the attache buildfile I only get an error when calling build package
> ** Execute
> /opt/elexis-buildr/elexis-base/p2_site.test/target/demo.libraries.feature-
> 1.0-sources.zip Exception while invoking prerequisites of task <Rake::Task
> demo.libraries:package => [demo.libraries:build,
> /opt/elexis-buildr/elexis-base/p2_site.test/target/demo.libraries-1.0.zip,
> /opt/elexis-buildr/elexis-base/p2_site.test/target/demo.libraries-1.0-p2.z
> ip]> Buildr aborted!
> NoMethodError : undefined method `+' for nil:NilClass
> /home/niklaus/.rvm/gems/jruby-1.6.3/gems/buildr4osgi-0.9.6/lib/buildr4osgi/
> eclipse/feature.rb:398:in `package_as_SDK_feature'
<...>
I could not trace the problem, even if I tried to read the spec-examples.
Best regards
--
Niklaus Giger
I think I made a mistake with my buildfile.
I started a small project with a few examples of the problems I faced. A
working example for a p2site can be found under
https://github.com/ngiger/buildr-examples/blob/master/p2site/buildfile
(also attached)
Thanks for your help
Best regards
Niklaus