Changes between Version 2 and Version 3 of PLATFORM_DEPLOYMENT_BUILD_ECLIPSE
- Timestamp:
- 10/03/08 14:18:18 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PLATFORM_DEPLOYMENT_BUILD_ECLIPSE
v2 v3 1 = Platform deployment build in Eclipse = 1 2 To deploy Sophie 2.0 project in Eclipse you have to follow these steps: 2 * choose Import...option from File menu or with right click in the Package tree3 * choose '''Import...''' option from File menu or with right click in the Package tree 3 4 * Select Maven Projects and click Next 4 5 * Choose sophie2-platform directory for Root Directory, browsing to your imported repo. 5 * (recommended) Choose Add Project to working setand6 * make New working set with Java elements6 * (recommended) Choose '''Add Project to working set''' and 7 * make '''New...''' working set with '''Java elements''' 7 8 * choose the name for the working set (i.e. sophie2-working-set) 8 * click Finish9 * click '''Finish''' 9 10 * note: do not worry about the mistakes in Maven Console 10 11 Now you have Eclipse working set contains the Sophie 2.0 modules.[[BR]] 11 12 The base project is sophie2-platform and there you can run the project choosing author.!FakeAuthorMain.launch's Run As option.[[BR]] 12 13 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. 14 15 = Additional information = 16 you have to be careful making new modules for the project. These are the steps: 17 * make new empty directory with org.sophie2.modulename name in sophie2-platform/modules and create its pom.xml file 18 * add it to repository and commit it. Also add it to base pom.xml of sophie2-platform in modules section. 19 * right click - '''Import...''' - Maven projects - choose the new created module 20 21 Keep in mind to use Maven options '''Update Project Configuration''' and '''Update Dependencies''' when you change the pom.xml files.