Anonymous | Login | 2022-06-26 14:52 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000175 | OMNeT++ | IDE / INI editor | public | 2010-06-24 11:14 | 2011-05-24 12:54 | ||||
Reporter | andras | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | postponed | Resolution | suspended | ||||||
Platform | OS | OS Version | |||||||
Product Version | 4.1 | ||||||||
Target Version | 4.2 | Fixed in Version | |||||||
Summary | 0000175: Error markers in included ini files | ||||||||
Description | When I open an ini file that was meant to be included in other ini file(s), the editor may flag it with errors, which is confusing. The main annoyance is that every time I want to launch the simulation, the IDE will say "Error exist in project X, continue?" The included inifile should somehow be validated as part of a "main" inifile, not by itself. | ||||||||
Steps To Reproduce | Enter the following two ini files, and open sub.ini: main.ini: [Config Base] include sub.ini sub.ini: [Config Ext] extends=Base <-- Error, because the editor doesn't know this file will be used as part of main.ini | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000319) andras (administrator) 2010-06-24 11:58 |
Possible solutions: option 1: Add the possibility to explicitly annotate the ini file with the name of the "main" ini file to be used as validation root, e.g. as #%main: main.ini issues: (1) user has to enter this line explicitly (but: editor could offer inserting it) (2) this line may become obsolete (but: line could be annotated with message: "referenced files does not exist" or "does not include this file") (3) there may be several files this file is included into (and user wants validation as each of them as root); option to specify more than one file on the line? option 2: Automatically validate the file as part of every "main" ini file that includes it (i.e. inifile that does not get included anywhere). issues: it cannot be automatically detected which inifiles are "main" files, as an inifile may be used as "main" inifile in one simulation, and as "included" inifile in another. |
(0000456) andras (administrator) 2011-05-24 12:54 |
In 4.2b3, markers are removed from the ini files when you close the editor. This should largely alleviate the problem. |
![]() |
|||
Date Modified | Username | Field | Change |
2010-06-24 11:14 | andras | New Issue | |
2010-06-24 11:58 | andras | Note Added: 0000319 | |
2010-06-24 13:52 | andras | Target Version | => 4.2 |
2011-05-24 12:54 | andras | Note Added: 0000456 | |
2011-05-24 12:54 | andras | Status | new => postponed |
2011-05-24 12:54 | andras | Resolution | open => suspended |
Copyright © 2000 - 2022 MantisBT Team |