This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Development Environment
Dan Dumont edited this page Oct 15, 2012
·
19 revisions
We primarily use eclipse(Indigo) when developing this project. We use maven to build it with the m2e and egit plugins in eclipse.
The project root consists of 3 child maven projects:
-
jaggr-service
- The aggregator. -
jaggr-sample
- A sample application that uses the aggregator. -
jaggr-sample-dojo
- A sample bundle that provides dojo (currently 1.8) for the sample webapp.
Once all of the maven projects are imported into your workspace, you should build the parent project at least once (which will build the children projects and provide you with osgi bundles that you can deploy to a server to test)
You can build any of the projects by right clicking on it and choosing:
Run As -> Maven build
Note: These instructions may vary slightly over time.
- Ensure that you've installed m2e and egit. These should both be contained in the default repository for eclipse. (install jgit too if you don't have git installed on your machine)
- Create a fork of this project and obtain the url for your fork (standard GitHub stuff)
- Right click -> Import...
- Choose Git -> Projects from Git, Next, then URI
- Fill in the info from step 2 and click Next
- Chose the options that suit you on the next few screens
- When you get to the project import screen, choose to import the existing project
- Select the jaggr project and choose finish. You should now have the jaggr project in your workspace.
- Right click on the jaggr project and choose Import... then Maven -> Existing Maven Projects
- Select the jaggr-service, jaggr-sample, and jaggr-sample-dojo projects and click finish.