| Summary: | epsilon.loadModel readOnLoad failure | ||
|---|---|---|---|
| Product: | [Modeling] Epsilon | Reporter: | Chris Holmes <holmeschrisk> |
| Component: | Core | Assignee: | Dimitris Kolovos <dkolovos> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
A problem with the proposed solution is that then any wrong/mistyped filenames would be silently accepted. As such, I'd be inclined to keep the existing behaviour. Closing as invalid. |
If epsilon.loadModel attribute 'readOnLoad' is set to 'true' and there is no model to read the task fails (crashes). The task should create (but not store unless directed to do so) an empty model in memory and continue processing. Bug demonstrable with Epsilon 0.8.9. Example task: <epsilon.loadModel name="${MessageSet}" type="EMF"> <parameter name="expand" value="true"/> <parameter name="modelFile" file="${TargetFile}"/> <parameter name="metamodelUri" value="${TargetMessageSetUri}"/> <parameter name="readOnLoad" value="true"/> <parameter name="storeOnDisposal" value="true"/> </epsilon.loadModel>