Projects



Changes between Version 1 and Version 2 of Paose/Documentation/HowTo-CDDs


Ignore:
Timestamp:
Nov 1, 2010, 10:30:56 AM (14 years ago)
Author:
Lawrence Cabac
Comment:

Added setup of generator

Legend:

Unmodified
Added
Removed
Modified
  • Paose/Documentation/HowTo-CDDs

    v1 v2  
    2020It facilitates Velocity templates for that cause.
    2121Following parts are generated:
    22  - Folder structure of the plugin with source code structur for
     22 - Folder structure of the plugin with source code structure for
    2323  - Interactions (. . . /interactions/)
    2424  - Roles (. . . /roles/)
     
    2828 - Plugin configuration (plugin.cfg)
    2929 - Start scripts (start.sh, sartCapa.rnw, startKBE.sh)
    30  - Skeleton:  Roles/Dependencies Diagram and a Project-File (!RolesDependencies.mad, pro jects.xml)
    31  - Protégé: Ontology Files (<name>.pprj, <name>.pons, <name>.pint)
     30 - Skeleton:  Roles/Dependencies Diagram and a Project-File (!RolesDependencies.mad, projects.xml)
     31 - Protégé: Ontology file skeletons (<name>.pprj, <name>.pons, <name>.pint)
     32 - FS Ontology: Concept Diagram skeleton as an alternative to Protégé
    3233 - Skeletons: AIPs for all Interactions, containing role names of all Participants. (<interaction>.aip)
    33 After generation the plugin compiles with ant, it can be deployed through a repository (subversion) and the domain specific design of the system starts.
    3434
     35== Generation ==
     36The name and the location for the created files have to be defined when generating files.
     37The generator will prompt you for both, the name and the location.
     38Alternatively, the name can be defined in a configuration file ending on .plg.
     39The property name is ''appName''.
     40It has to be defined in a Java Properties style (e.g. appName=MyApplication).
     41
     42=== Setting-Up Generator: ===
     43 - Draw a Use Case Diagram with the elements from the tool palette. Use actors for agent roles and cases for interactions.
     44 - Use the ''Create Folder Structure'' (or the ''Create Agentlet'') Command to start the generation process.
     45 - Select a plugin.cfg (*optional*). You can skip this and instead in the next step...
     46 - Choose a (new) name for your Application (Plugin). Use camel case, start with a capital and abide to Java conventions (e.g. do not use ''\_'').
     47 - Choose a location. This should be a repository that is prepared for the compilation of plugins (e.g. Mulan, CAP). Be careful, Java folder selection is tricky. Double-clicks might not work as expected (i.e. select CAP in the folder above CAP and confirm by pressing the button).
     48 - Some log output concerning the created files will be promted.
     49
     50After generation the plugin compiles with ''ant fsdist'' (or ''ant dist'', ''ant fsdist-nosns'',...), it can be deployed through a repository (subversion) and the domain specific design of the system starts.
    3551
    3652== (4) Inscriptions (Actors, Interactions): ==