Announcement Announcement Module
Collapse
No announcement yet.
Build system for OSGi application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Build system for OSGi application

    Hello!

    We have a need in automatic OSGi compatible build system. Could you share what do you use for OSGi apps development?

    Our requirements:
    - Build from CLI
    - Compatibility with Eclipse/Spring Tools (i.e. no manual setup of dependencies in Eclipse)
    - Automatic artifact fetching from repo
    - Optional: JetBrain's IDEA supprot

    For now we use Ant/Ivy, but the combination has serious problems.

    Thanks in advance

  • #2
    @aih1013

    When it comes to building OSGi applications, things are in their infancy really. At SpringSource, we use standardized set of ANT scripts to do this work. In general, our development process is the same as any other ANT-based system with the addition of Bundlor when the JARs are created.

    On the dm Server team we do use the Spring Tool Suite as our IDE as it gives us Bundlor during development time, as well as checking and visualization of OSGi metadata.

    We use Ivy for dependency management and since there isn't really a good automatic plugin for Eclipse, we manage our dependencies by hand. At this point, this is the weakest part of our setup, but we've mitigated a lot of the problems by writing a series of scripts to do version updates across the all of the artifacts (development and release).

    It is possible to use Maven to do application development using a combination of the Bundlor plugin released by us and a PAR plugin released by the community. For an example of this, please see the Getting Started Guide.

    Comment


    • #3
      Could you share the scripts? We probably be able to use them too, as our current setup is Ant/Ivy based.

      Thanks

      Comment

      Working...
      X