Difference between revisions of "Morrigan Development"
From Vague Hope Wiki
Line 10: | Line 10: | ||
* Switch to the "SVN Repository Exploring" perspective and add the Morrigan repository location. | * Switch to the "SVN Repository Exploring" perspective and add the Morrigan repository location. | ||
− | * Check out the projects you | + | * Check out the projects you require from the trunk branch. |
{| class="wikitable" | {| class="wikitable" |
Revision as of 15:04, 20 May 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
- Switch to 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.art | optional | Project graphics and artwork. |
net.sparktank.morrigan.build | optional | Build and package system. |
net.sparktank.morrigan.playbackimpl.jmf | optional | JMF playback engine. |
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.
- 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 this is not an issue.
- From the package explorer, run the following ant files:
- 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
- You should now be able to start Morrigan my running the project net.sparktank.morrigan as an Eclipse application.