Difference between revisions of "Morrigan Development"
From Vague Hope Wiki
(→Steps) |
(→Steps) |
||
Line 62: | Line 62: | ||
* 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. | * 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?) | ** (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 | + | ** 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: | * From the package explorer, run the following ant files: | ||
Line 71: | Line 71: | ||
** net.sparktank.morrigan.wui/build.xml | ** net.sparktank.morrigan.wui/build.xml | ||
− | * You should now be able to start Morrigan | + | * You should now be able to start Morrigan by running the project net.sparktank.morrigan as an Eclipse application. |
[[Category:dev]] | [[Category:dev]] |
Revision as of 15:58, 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
- 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.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.
- (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.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 by running the project net.sparktank.morrigan as an Eclipse application.