Ticket #82 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Use maven for workspace and application building

Reported by: romain.reuillon Owned by: dumoulin
Priority: high Milestone: 0.3
Component: project_tools Version:
Severity: normal Keywords:
Cc:

Description (last modified by dumoulin) (diff)

Use maven to dynamically boostrap either the workspace or the application from the cvs, svn, libraries, bundles....

Remaining:

  • Convert org.simexplorer.* jar modules to bundle module
  • How to import bundle maven modules in Eclipse ? (apparently some problems when trying to import third-party libraries bundles modules)
  • How to build a ready to use equinox product ?
    • give this options to jvm
      -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
      
    • adjust this bundles levels:
      > org.eclipse.core.runtime : level 0
      > org.eclipse.equinox.common : level level 2
      > org.eclipse.equinox.weaving.aspectj level 4
      > org.eclipse.equinox.weaving.caching level 4
      > org.eclipse.equinox.weaving.caching.j9 level 4
      

Change History

Changed 3 years ago by romain.reuillon

Show stoppers are now : - Bundle dependencies instead of package ones. - Add jars in the bundle-classpath.

Note : - The bouncy-castle bundle should not be extracted, it is signed and verified for authenticity at runtime.

Changed 3 years ago by dumoulin

  • summary changed from Use meven for workspace and application building to Use maven for workspace and application building

Changed 3 years ago by dumoulin

  • component changed from ide.core to project management

Changed 3 years ago by dumoulin

interesting solution: http://docs.codehaus.org/display/M2ECLIPSE/Tycho+project+overview It allows to build a correct pom.xml from a Manifest file.

Changed 3 years ago by dumoulin

See also #70

Changed 3 years ago by dumoulin

See also this project solution: http://geotools.codehaus.org/Add+bundle+information+to+jar+manifest The solution is to have a Manifest that can be edited with eclipse, and this manifest is used by the maven-archiver plugin to build the jar bundle.

Changed 3 years ago by dumoulin

See also these instructions for a project to work with maven and eclipse: http://www.baka.sk/maven2-build-plugin-howto.html

Changed 3 years ago by dumoulin

  • status changed from new to assigned

Great improvement with r1962. It stills remain geclipse and libraries bundles that aren't for instance be built with maven

Changed 3 years ago by dumoulin

This issue is also ennoying when you want to modify an API module, and then rebuild the IDE, because the IDE is built with ant scripts produced by NetBeans.

Maven should be used for the IDE modules. We can easily use the NetBeans archetype for that.

But, we want to have IDE integrated in equinox.

Changed 3 years ago by dumoulin

Changed 2 years ago by dumoulin

  • priority changed from low to high
  • component changed from management to project_tools
  • milestone set to 0.3

Changed 2 years ago by dumoulin

  • description modified (diff)

For now, we are able to build bundles for all third-party libraries

Changed 2 years ago by dumoulin

  • description modified (diff)

"How to build a ready to use equinox product?": quite done :-)

Changed 2 years ago by dumoulin

Now, we've successfully built an equinox product (org.simexplorer.example). We should also consider running the product with nebinox with netbeans in headless mode. By this way, there is no need to configure a config.ini. See these docs:

Changed 2 years ago by dumoulin

r2508 make runtime build working with a JRE and equinox ! Need tests on grid…

Changed 2 years ago by dumoulin

  • status changed from assigned to closed
  • resolution set to fixed

it works on the grid.

Note: See TracTickets for help on using tickets.

logo cemagref

logo iscpif

logo lifegrid

logo region auvergne

logo patres project