wiki:PLATFORM_DEPLOYMENT_BUILD_ECLIPSE

Version 2 (modified by pavlina, 17 years ago) (diff)

--

To deploy Sophie 2.0 project in Eclipse you have to follow these steps:

  • choose Import... option from File menu or with right click in the Package tree
  • Select Maven Projects and click Next
  • Choose sophie2-platform directory for Root Directory, browsing to your imported repo.
  • (recommended) Choose Add Project to working set and
    • make New working set with Java elements
    • choose the name for the working set (i.e. sophie2-working-set)
  • click Finish
  • note: do not worry about the mistakes in Maven Console

Now you have Eclipse working set contains the Sophie 2.0 modules.
The base project is sophie2-platform and there you can run the project choosing author.FakeAuthorMain.launch's Run As option.
This is not the real OSGi container, it is only an emulation for running the application under Eclipse IDE - otherwise, you have to wait at least two minutes for Maven build for every little change in the source.