Home

Serendiplang

image

Contents

1. Enter or select the parent folder SampleROAD Test Save sample road file once more This should create the ROAD artefacts under the src gen directory These artefacts includes 1 sample sample xml the composite descriptor in XML 2 sample data rules drl all the Drools rule templates for the composite 3 sample data trans xslt all the XLST transformation templates for the composite Java SampleROAD src sample road Eclipse Platform ResultingMsgs CO_TT towRequest Req Task tTow performedBy TT InitOn eTowRequired UsingMsgs CO_TT towRequest Req UponTriggers eTowDone ResultingMsgs CO_TT towRequest Res Task tNotify performedBy CO InitOn eTowDone UsingMsgs CO_TT towRequest Res UponTriggers eCaseClosed ResultingMsgs CO_TT towRequest Res Contract definitions Contract CO_TT A is CO B is TT Term towRequest String content withResponse String response from AtoB Contract CO_MM A is CO B is MM Term complain String content withResponse String response from BtoA Role definitions Role CO Role TT Role MM player bindings PlayerBinding http fdasdsadsa com is a CO PlayerBinding http asfds com is a TT
2. User Guide Serendip Modelling Tool Installation e Download the eclipse development environment from here http www ict swin edu au personal mkapuruge files eclipse jee indigo win32 withXtext zip The archive provided in the above URL contains eclipse development environment with XText installed It also comes with SerendipLang plugin installed e Open and extract the archive e Start eclipse eclipse gt eclipse exe Creating a Project Start a new Java project Right Click gt New gt Java Project Gopy Qualified Name P Delete Enter Suitable name and Click Finish New Java Project Create a Java Project Create a Java project in the workspace or in an external location You should be able to see a new project created And there should be a src directory inside the project Java Eclipse Platform ee i gt RoSAS E E SampleROAD B JRE System Library JavaSE 1 6 HGS Test Creating a new ROAD descriptor Create a new File under src directory Right Click gt New gt File Java Eclipse Platform Remove from Gontext GCE AICEShIftC eDown New File Confirm the XText nature by pressing Yes Add Xtext Nature xi Do you want to add the Xtext nature to the project SampleROAD Lives J m oe Now open the file sample road this should be opened by default Java SampleROAD src sample road Eclipse Platfo
3. rm File Edit Navigate Search Project Run Window Help S O G GV J8 Gl OG 4 E Package Explorer 53 sample road 3 TS RoSAS i SampleROAD Eb src i i sample road BA JRE System Library JavaSE 1 6 13 Test Writing a ROAD description In the sample road start typing the ROAD description as given below Or else enter the sample code given below as an alternative amp Java SampleROAD src sample road Eclipse Platform File Edit Navigate Search Project Run Window Help S O Q 8G S G v 2 l SGo 4 j Package Explorer 3 a E Task List B a Organization MyOrg a if FES RoSAS M Find B E SampleROAD B sre BA JRE System Library JavaSE 1 6 H E Test FE Outline i myc Organization MyOrg One and only process definition But can have more ProcessDefinition myProcess CoS eComplainRcvd CoT eCaseClosed BehaviorRef bTowing One and only behavior unit But can have more Behavior bTowing Task tAnalyze performedBy CO InitOn eComplainRcvd UsingMsgs CO_MM complain Req UponTriggers eTowRequired ResultingMsgs CO _TT towRequest Req Task tTow performedBy TT InitOn eTowRequired UsingMsgs CO_TT towRequest Req UponTriggers eTowDone ResultingMsgs CO_TT towRequest Res Task tNotify performedBy CO InitOn eTowDone UsingMsgs CO_TT towRequest Res UponTriggers eCaseClosed ResultingMsgs CO_TT to
4. wRequest Res Contract definitions Contract CO_TT A is CO B is TT Term towRequest String content withResponse String response from AtoB Contract CO_MM A is CO B is MM Term complain String content withResponse String response from BtoA Role definitions Role CO Role TT Role MM player bindings PlayerBinding http anyurl com is a CO PlayerBinding http anyurl com is a TT Generating artefacts Now create a new folder src gen in the project root as shown below Right Click gt New gt Folder Java SampleROAD src sample road Eclipse Platform File Edit Source Refactor Navigate Search Project Run Window Help O Q 8 GOV F e OO o 5 Packag plore AEn SEE Soar atin ea RoSAS ee New J Java Project EGS src E TEST T Project _ GHA JRESysi Open in New Window 3 Test Open Type Hierarchy F4 HY Package Show In Alt Shift 4 w Jes Interface Copy Ctrl C G eum 53 Copy Qualified Name annotation i Paste era 3 Source Folder Delete Delete 13 Java Working Set Remove from Gontext Gtr AlE Shift Down Build Path gt File Source Alt Shift s gt Untitled Text File Refactor Alt Shift T E JUnit Test Case g Import Cf Task rA Export D Xtend Class T Example m o Folder Create a new folder resource aa Tes 8

Download Pdf Manuals

image

Related Search

Serendiplang serendipity serendipio cooler serendipians travel serendipians hotel serendipians login serendipians agency list serendipians sardinia serendiplo

Related Contents

Commercial Electric DC5237WH-A Use and Care Manual  Samsung 473 л. холодильник с верхней мороз. камерой RT59FBPN Инструкция по использованию  Pratic - Académie d`Orléans  Model CBM 1000 Type II  

Copyright © All rights reserved.
Failed to retrieve file