Well I tend to rely on the OSGi env variable. remember to use OSGi only to do resolution.
buildr osgi:resolve:dependencies OSGi=/home/src/galileo2/eclipse You will need to upload the mapped dependencies. Thanks, Antoine On Sun, Apr 25, 2010 at 01:47, Niklaus Giger <[email protected]>wrote: > Hi Antoine > Am Samstag 24 April 2010 16:37:01 schrieb Antoine Toulme: > > You can use the doc from HEAD: > > http://intalio.github.com/buildr4osgi/ > Thanks a lot for the link. > > I however still have problems. I am using buildr 1.3.5 (should I upgrade to > 1.4.0rc2 ?) > > The following buildfile > <--> > res = require "buildr4osgi" > puts repositories.remote.inspect > puts "Has osgi "+ defined?(osgi).to_s > repositories.remote << "http://repo1.maven.org/maven2" > <--> > with the following settings.yaml > <---> > local: /opt/4hudson/maven > remote: > - https://intra.net/maven2 > im: > server: ngiger.dyndns.org > usr: [email protected] > pwd: secret > > osgi: > containers: > - /home/src/galileo2/eclipse > <--> > produces > > >buildr -v clean compile > >(in /home/src/elexis.analytica, development) > >["https://intra.net/maven2"] > >Has osgi > >^cnikl...@ng:/home/src/elexis.analytica$ buildr -v clean compile > >(in /home/src/elexis.analytica, development) > >["https://intra.net/maven2"] > >Has osgi > Is there still something wrong with my setup? > If I add > eclipseOsgi = OSGi::Container.new('/home/src/galileo2/eclipse') > to the buildfile. It really reas the configuration in. > > May I suggest that you change in > http://intalio.github.com/buildr4osgi/configuration.html > the line > - /my.osgi > by > - /path/to/my/eclipse/installation > It would be clearer for newbies like me. > > I also checkout a bpmn. I think it is a very good idea to announce (free > SW) > project which use the package. E.g. it would be a good idea also to put > onto > the buildr homepage a few links to projects using buildr and/or > buildr4osgi. > You might also speak about "design wins" with managers. > > But building bpmn also had the same problem with missing osgi.containers. > Wouldn't it be nice to add some kind of "bootstrap" task which populates > (may > be a local settings.yaml overriding the one in ~/.buildr) everything from > known sources somewhere in the internet and producing a suitable > settings.yaml? Or at least add a copy of the settings.yaml you used? > > Best regards and again many thanks for your help. > > Niklaus > > > > Thanks! > > > > Antoine > > > > -- > Niklaus Giger >
