Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349368 - For some reason the socket test from modellib will be generated for HelloWorld
Summary: For some reason the socket test from modellib will be generated for HelloWorld
Status: CLOSED WONTFIX
Alias: None
Product: eTrice
Classification: Modeling
Component: UserInterface (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 16:12 EDT by Thomas Jung CLA
Modified: 2011-12-16 02:48 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Jung CLA 2011-06-14 16:12:12 EDT
Creating a new model with the new project wizard and generating the HelloWorld tutorial model will create the package with the socket test from the modellib. But no reference or import statemant is included within the HelloWorld model. Unused modelparts should be generated.
Comment 1 Henrik Rentz-Reichert CLA 2011-06-15 01:04:40 EDT
The generator picks up all SubSystemClasses in the passed models and generates them and all related ROOM classes recursively.
The Workflow picks up all models found on its class path.
The SocketTest contains a SubSystemClasse and thus is generated whenever the modellib model directory is seen on the class path.

This problem will be addressed as soon as we replace the mwe for the code generation with a better alternative.
You could open a bugzilla for this.
Comment 2 Henrik Rentz-Reichert CLA 2011-12-16 02:45:52 EST
closed resolved bug
Comment 3 Henrik Rentz-Reichert CLA 2011-12-16 02:48:13 EST
tagged as version 0.1.0