- Choose 'File->Import' menu from Eclipse.
- From the 'Import' pop-up dialog window, select 'Existing Projects into Workspace' under 'General'. Click on 'Next' button.
- Add files into workspace
- ComponentModel
- ComponentRunner
- Select all the projects listed above and click on the 'Finish' button.
- Selected projects get added to your Eclipse workspace.
- From the context pop-up menu, select 'Run as -> Run Configurations' option.
- In the pop-up dialog titled 'Run Configurations' go to 'Arguments' tab.
- There in the 'Program Arguments' text box ,write 'codabook.virtualstore.application.UI'. This is the name of the main file of the application you want to execute.
- Now navigate to the 'Classpath' tab in the same dialog and select 'User Entries' from the classpath list box.
- Click on 'Add Jars' which will provide you with a jar selection dialog.Select the following jar files present in the 'ComponentRunner' project:
- ApplicationCurrency.jar
- Base.jar
- Inventory.jar
- Cart.jar
- ComponentModal.jar
- Click on 'Add Jars' which will provide you with a jar selection dialog.Select the following jar files present in the 'ComponentRunner/lib' project :
- json-20160810.jar