[Index] [Process] [All issues] [CCB issues]
Export date: 2012-11-26 06:28:11
Row | Id | Category | Summary | Details | Priority | Status | Resolution | Release | Submitter | Assignee | Closer | Date Raised | Date Closed |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 3572666![]() |
Help Section: templates modelling conventions | We need a section in the help file detailing the modelling / naming conventions of templates | 5 | Open | None | robbod | nobody | nobody | 2012-09-28 07:02:30 | 1970-01-01 12:00:00 | ||
2 | 3574113![]() |
All templates: Magicdraw loading modules issue | When opening a template MD file that depends on other modules that are also depending on other modules, MD is asking every time to locate those modules. This is not solved by simply resolving the location of the modules and saving the project because sub-modules are not saved. The first thing to do is of course to set a global path variable for the plcslib/data folder : PLCSlib.data (as suggested by the plcslib help) (see attached MD_PathVariables.png) That's not enough: In a mdxml file of a template using other modules we will notice the following kind of resource path: <module resource='file:/C:/Users/rbn/Documents/sforge/plcs/plcslib/plcslib/data/contexts/OASIS/templates/Identification/dvlp/OASISIdentification.mdxml' autoloadType='ALWAYS_LOAD' readOnly='true' loadIndex='true' requiredVersion='-1'> <mount mountPoint='_17_0_1_2b2015d_1304601244526_879759_10892' mountedOn='_17_0_4_28b0143_1349086397534_979061_14665'/> </module> to avoid an absolute path here, we need to set up also the Global module paths (see attached MD_GlobalModulePath.png) so that absolute path becomes instead: <module resource='file:/C:/%3CPLCSlib.data%3E/contexts/OASIS/templates/PersonInOrganization/dvlp/OASISPersonInOrganization.mdxml' autoloadType='ALWAYS_LOAD' readOnly='true' loadIndex='true' requiredVersion='-1'> <mount mountPoint='_17_0_4_28b0143_1342682128292_182626_13644' mountedOn='_17_0_4_28b0143_1349086397534_979061_14665'/> </module> Also before committing to CVS we need to make sure that any FileProperty in the mdxml file is using the path variable: in a mdxml file => under: <options> we will find <options> ... <mdElement elementClass='StyleManager'> ... <mdElement elementClass='SimpleStyle'> ... <mdElement elementClass='PropertyManager'> ... <mdElement elementClass='ClassPathListProperty'> ... and a set of <mdElement elementClass='FileProperty'> make sure that all of the one representing a path to a template dvlp folder are using the path variable: for instance: <mdElement elementClass='FileProperty'> <value><PLCSlib.data>\contexts\OASIS\templates\Organization\dvlp</value> <selectionMode xmi:value='0'/> <displayFullPath xmi:value='true'/> <useFilePreviewer xmi:value='false'/> <displayAllFiles xmi:value='true'/> <fileType>FILE_TYPE_ANY</fileType> </mdElement> <mdElement elementClass='FileProperty'> <value>C:\Users\frell\PLCSLib\plcslib\data\contexts\OASIS\templates\Classifier\dvlp</value> <selectionMode xmi:value='0'/> <displayFullPath xmi:value='true'/> <useFilePreviewer xmi:value='false'/> <displayAllFiles xmi:value='true'/> <fileType>FILE_TYPE_ANY</fileType> </mdElement> The first one is correct, but not the second one. | 5 | Open | None | phoubaux | phoubaux | nobody | 2012-10-03 09:28:49 | 1970-01-01 12:00:00 | ||
3 | 3582193![]() |
OASIS indexes | Add the following templates to indexes: - EnvironmentDefinition - EnvironmentObserved - EventReport - Fleet - Mission | 5 | Open | None | phoubaux | phoubaux | nobody | 2012-10-31 10:46:39 | 1970-01-01 12:00:00 | ||
4 | 3589399![]() |
OASIS: diagram.xmi.name wrong in figure.map | I have noticed a common error in the templates. When you use figure.map You must make sure that the diagram.xmi.name is the name of the diagram in the magicdraw file. <figure.map id="PlcsPsm__SystemBreakdown" diagram.xmi="data/PLCS/psm_model/dvlp/plcs_psm_diagrams.mdxml" diagram.xmi.package="Diagrams" diagram.image="data/PLCS/psm_model/images/SysML_Block_Definition_Diagram__Diagrams__SystemBreakdown.png" diagram.xmi.name="Part" diagram.definitions="data/PLCS/psm_model/model_definitions.htm" class.package="Ap239Ap233Psm"> <title>System Breakdown model</title> </figure.map> | 5 | Open | None | robbod | nobody | nobody | 2012-11-23 01:19:27 | 1970-01-01 12:00:00 |