Difference between revisions of "Morrigan Development"
From Vague Hope Wiki
Line 49: | Line 49: | ||
| optional | | optional | ||
| Build and package system. | | Build and package system. | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| net.sparktank.morrigan.playbackimpl.spi | | net.sparktank.morrigan.playbackimpl.spi |
Revision as of 15:52, 15 June 2010
Setting up a Morrigan development environment
This assumes you have access to the Morrigan SVN.
Pre-requirements
- Eclipse with the RCP dev tools.
- SVN plugin (http://subclipse.tigris.org/).
Steps
- Use the "SVN Repository Exploring" perspective and add the Morrigan repository location.
- Check out the projects you require from the trunk branch.
net.sparktank.morrigan | required | Core code. |
net.sparktank.morrigan.wui | required | Web UI project. |
net.sparktank.morrigan.hotkeyimpl.jintellitype | required on win32 | Hotkey engine. |
net.sparktank.morrigan.hotkeyimpl.jxgrabkey | required on linux | Hotkey engine. |
net.sparktank.morrigan.playbackimpl.dsj | required on win32 | Direct Show playback engine. |
net.sparktank.morrigan.playbackimpl.gs | required on linux | GStreamer playback engine. |
net.sparktank.morrigan.playbackimpl.jmf | required on OSX | JMF playback engine. |
net.sparktank.morrigan.art | optional | Project graphics and artwork. |
net.sparktank.morrigan.build | optional | Build and package system. |
net.sparktank.morrigan.playbackimpl.spi | optional | Native Java playback engine (incomplete). |
net.sparktank.morrigan.test | optional | Random and mostly project test stuff. |
- Copy the file "net.sparktank.morrigan/morrigan.properties" to your eclipse home directory (next to eclipse.exe) and edit it to point at the correct parts of your workspace.
- (TODO more detail needed?)
- This is required because Morrigan will look for it in its runtime root directory. When Eclipse runs an RCP project it uses its own runtime. When Morrigan is packaged up for distribution it contains its own runtime.
- From the package explorer, run the following ant files:
- net.sparktank.morrigan/morrigan.engines.stubs.xml
- Select all morrigan projects and refresh them together.
- net.sparktank.morrigan.hotkeyimpl.jintellitype/makejar.xml (win32 only)
- net.sparktank.morrigan.hotkeyimpl.jxgrabkey/makejar.xml (linux only)
- net.sparktank.morrigan.playbackimpl.dsj/makejar.xml (win32 only)
- net.sparktank.morrigan.playbackimpl.gs/makejar.xml (linux only)
- net.sparktank.morrigan.wui/build.xml
- Select all morrigan projects and refresh them together.
- You should now be able to start Morrigan by running the project net.sparktank.morrigan as an Eclipse application.