Anonymous | Login | 2022-06-26 13:38 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 | ||||
0000027 | OMNeT++ | examples | public | 2008-12-07 13:15 | 2011-05-27 09:41 | ||||
Reporter | baumgart | ||||||||
Assigned To | rhornig | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 4.0b8 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000027: Generated Source-sink example with src folder doesn't contain ned-path | ||||||||
Description | If you create a new OMNeT++-project with the IDE and select "Source-sink example with src folder" the generated project can't be started from the command line, because the ned-path is incomplete (started from the simulations/ directory with ../src/SimpleProject). Starting from the IDE works fine. | ||||||||
Additional Information | Ubuntu 8.04 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000073) mbergner (reporter) 2008-12-08 10:08 |
This is quite annoying as you always need the IDE to run simulations. You can solve this problem by doing a NEDPATH="/your:/paths" (+maybe LD_LIBRARY_PATH set correctly) ./binary -f /path/to/file.ini but it would be nice to be able to create a batch/shell script, that sets these variables automatically and keeps them updated as you expand the simulation. That way, you can run everything from the cli and from the IDE |
(0000074) baumgart (reporter) 2008-12-08 10:16 |
Probably it would be more convenient to store the proper ned-path in the omnetpp.ini file. |
(0000463) rhornig (administrator) 2011-05-27 09:41 |
Added a *VERY SIMPLE* 'run' script to the simulation directory that adds the -n NEDPATH to the command line is . It is NOT kept in sync with the IDE as this cannot be done reliably. This is just an example, how a starter script should look like. Adding the 'ned-path' in the ini would also solve this problem, but we opted against this as it would interfere with the ned path settings from the IDE (without the user knowing that she should also change the path in the INI file). We have chosen the 'least surprise' approach. |
![]() |
|||
Date Modified | Username | Field | Change |
2008-12-07 13:15 | baumgart | New Issue | |
2008-12-08 10:08 | mbergner | Note Added: 0000073 | |
2008-12-08 10:16 | baumgart | Note Added: 0000074 | |
2009-10-09 15:34 | rhornig | Assigned To | => rhornig |
2009-10-09 15:34 | rhornig | Status | new => confirmed |
2011-05-20 10:19 | rhornig | Assigned To | rhornig => |
2011-05-20 10:19 | rhornig | Assigned To | => rhornig |
2011-05-27 09:41 | rhornig | Note Added: 0000463 | |
2011-05-27 09:41 | rhornig | Status | confirmed => resolved |
2011-05-27 09:41 | rhornig | Fixed in Version | => 4.2b3 |
2011-05-27 09:41 | rhornig | Resolution | open => fixed |
Copyright © 2000 - 2022 MantisBT Team |