How to run source code

Post on 17-Jan-2016

33 views 0 download

description

How to run source code. For scxml visual editor tool Author : Gui Xun Long (guixl@apache.org). Step 1: get environment. I suggest that you use eclipse, due to this project need GMF support, so you eclipse must support GMF, in fact, you can get proper Eclipse for this project here : - PowerPoint PPT Presentation

Transcript of How to run source code

How to run source codeHow to run source codeFor scxml visual editor tool

Author : Gui Xun Long (guixl@apache.org)

Step 1: get environmentStep 1: get environmentI suggest that you use eclipse, due

to this project need GMF support, so you eclipse must support GMF, in fact, you can get proper Eclipse for this project here :

http://www.eclipse.org/downloads/packages/eclipse-modeling-tools-includes-incubating-components/ganymeder

Step 2: import source Step 2: import source codecodeYou can get source code for SVN

address here:https://svn.apache.org/repos/asf/com

mons/sandbox/gsoc/2010/scxml-eclipse/trunk

Dowload all four projects:org.apache.commons.scxml.modelingorg.apache.commons.scxml.modeling

.diagramorg.apache.commons.scxml.modeling

.editorg.apache.commons.scxml.modeling

.editor

Step 3:RunStep 3:Run

Step 3:RunStep 3:RunRun project

org.apache.commons.scxml.modeling.editor as Eclipse Applcation

Step 4: add a SCXML Step 4: add a SCXML modeling filemodeling fileIn the running Eclipse

environment, click menu “new”, select more,and select “Modeling diagrma ” Examples folder

Step 4: add a SCXML Step 4: add a SCXML modeling filemodeling file

Step 5: edit SCXML diagram Step 5: edit SCXML diagram contentcontent

Step 5: edit SCXML diagram Step 5: edit SCXML diagram contentcontentYou can edit SCXML diagram in

this editor, use tools in palette tool bar, create states, execute content and data model.

Step 6: SCXML document Step 6: SCXML document exportexportContinue….

This part will come true soon, I am working on it

otherotherAny questions?

Contact guixl@apache.org