OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000812OMNeT++IDE / otherpublic2015-02-23 10:252017-02-06 10:18
0000812: Make oppfeature dependencies project independent
It would be really nice for the user when the developers could specify feature dependencies for features in other projects.

For example: we require certain modules of INET to make our features work.

We even have project dependencies like that:
Our Simulation -> Some complex Gateway Model -> A Basic Real-Time Ethernet Model -> INET Framework
This would probably require some sort of namespace for the features: e.g. inet.Ethernet and the ability to find features in referenced projects.

Perhaps something like:
<ext-feature ns="inet.*" name="INET Framework" description = "Download at"/> [^]
Would also help. The IDE could then display a nice message: "This feature requires features from INET Framework - Download at" [^]
No tags attached.
Issue History
2015-02-23 10:25tillNew Issue
2015-02-23 15:09andrasNote Added: 0000985
2015-10-12 09:28ammmar1988Issue cloned: 0000865
2016-03-04 10:25rhornigNote Added: 0001169
2016-03-04 10:25rhornigStatusnew => postponed
2016-03-04 10:25rhornigFixed in Version => 5.0
2016-03-04 10:25rhornigResolutionopen => suspended
2016-03-04 10:25rhornigAssigned To => rhornig
2017-01-12 17:05rhornigNote Added: 0001250
2017-01-12 17:05rhornigStatuspostponed => resolved
2017-01-12 17:05rhornigFixed in Version5.0 => 5.1
2017-01-12 17:06rhornigResolutionsuspended => fixed
2017-02-06 10:18rhornigFixed in Version5.1 => 5.1pre3

2015-02-23 15:09   
Makes sense, thank you for the suggestion!
2016-03-04 10:25   
Cross project dependency checking is now possible with the new opp_featuretool's 'isenabled' command. The tool can generate an include file which contains all the defined macros for the enabled features. You still have to watch for feature name clashes + not all features define a macro, but it's possible to check for the features on command line (and in the makefile of course).
2017-01-12 17:05   
This can be implemented by the model using the opp_featuretool by checking if required features are enabled in an other project. This should be implemented in a makefrag file or in a separate top level makefile.