Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329825 - Imports don't show an error when mtl file is moved to another package
Summary: Imports don't show an error when mtl file is moved to another package
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 11:17 EST by Glenview Jeff CLA
Modified: 2011-03-30 10:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glenview Jeff CLA 2010-11-09 11:17:06 EST
Build Identifier: M20100211-1343

Ideally as in Java, if you move a package, the imports would be updated.  However, since they don't, I was surprised to find that there were no errors shown in my main mtl file after I moved the imported mtl to another package.

Reproducible: Always

Steps to Reproduce:
1. Create a simple Acceleo project with an mtl and a main mtl that includes the other mtl.
2. Move the non-main mtl to a sub-package.
3. Note that the import in the main mtl file doesn't show an error at the import line even though it's pointing to the wrong path and will not execute the non-main mtl.
Comment 1 Stephane Begaudeau CLA 2011-03-30 10:25:10 EDT
Fix contributed on HEAD. It will be available in Acceleo 3.1 M7.