UniMod-1.3-SourceCode
From UniMod Wiki
Contents |
[edit]
Repository Location
Source code for UniMod 1.3 version is located at sourceforge SVN repository:
https://unimod.svn.sourceforge.net/svnroot/unimod/unimod-1.3/
You may browse code on-line using url http://unimod.svn.sourceforge.net/viewcvs.cgi/unimod/unimod-1.3/
[edit]
How to Checkout
- Install Eclipse 3.x and Subclipse plugin (http://subclipse.tigris.org/)
- Setup new SVN repository in Eclipse (https://unimod.svn.sourceforge.net/svnroot/unimod)
- Checkout every folder with name like com.evelopers.unimod.* separately as plugin projects.
[edit]
SVN Repository Structure
| Folder | Description |
|---|---|
| com.evelopers.unimod.releng | building scripts |
| com.evelopers.unimod.updatesite | update site |
| features/com.evelopers.unimod | UniMod feature |
| features/com.evelopers.unimod.samples | UniMod Samples Feature |
| plugins/com.evelopers.unimod | plugin with all UI-related code |
| plugins/com.evelopers.unimod.code | plugin with meta-model, validation algorithms, debugger, model runtime engine |
| plugins/com.evelopers.unimod.adapter.standalone | plugin to execute UniMod model as standalone Java application |
| plugins/com.evelopers.unimod.core.test | plugin with test cases |
| plugins/com.evelopers.unimod.docs | plugin with documentation |
| plugins/com.evelopers.unimod.generator.java | Model to Java source generator |
| plugins/com.evelopers.unimod.generator.xml | Model to runtime XML-description generator (actually UniMod model is being stored in XML - *.unimod file, but this file contains also a lot of graphical information such as node positions, so we need generator to create XML file without graphical information) |
| plugins/com.evelopers.unimod.glayout | Statechart layout algorythms (on-hold currently) |
| plugins/com.evelopers.unimod.sample.atm | ATM sample |
| plugins/com.evelopers.unimod.sample.messengersa | ICQ-like messenger sample |
| plugins/com.evelopers.unimod.sample.persistence | How to permanently save active state sample (in file or database) |
| plugins/com.evelopers.unimod.sample.prisoners | Prisoners problem sample |
[edit]
How to Execute (for developers only)
After checkout you should see screen like this:
Go to Run->Run... menu and create new Eclipse Application launch configuration:
Press Run, new Eclipse instance with intergrated UniMod features will start.
[edit]
How to Build Update Site
For Windows from command line:
- Install JDK 1.5, Eclipse 3.x, GEF 3.x, Apache Forrest 0.7.x
- Set env variables ECLIPSE_HOME, FORREST_HOME and artifactsDir (optional)
- Turn the following parameters in file com.evelopers.unimod.releng\build.properties
# publish update site or not publishUpdateSite=true # destination folder of update site updateSiteDir=D:/Java/jboss-4.0.3/server/default/deploy/unimod.war/update
- Execute command
com.evelopers.unimod.releng\run.bat XX.XX.XX
where XX.XX.XX is build number
[edit]
How to Add Plugin into UniMod Feature
See Add Plugin
[edit]
How to Contribute
- Post bug at http://sourceforge.net/tracker/?group_id=86277&atid=579042
- Write email to project developers with suggested fix description
- To become a permanent developer send request to project admin
