Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312517 - [ETL] Some classes are not recognized
Summary: [ETL] Some classes are not recognized
Status: CLOSED FIXED
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Dimitris Kolovos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 20:18 EDT by José Miguel P. CLA
Modified: 2012-02-06 10:59 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 José Miguel P. CLA 2010-05-11 20:18:00 EDT
Build Identifier: 20100218-1602

For istance. I have this model.

<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:pimnat="afpl.nat.pim">
  <pimnat:Policy id="fw2">
    <rule>
      <filter interface="eth1" direction="out" action="deny">
        <matches ipsrc="10.1.1.0/24" ipdst="10.10.10.2" protocol="*" prtsrc="*" prtdst="*"/>
      </filter>
    </rule>
    <rule>
      <filter interface="eth2" direction="in" action="deny">
        <matches ipsrc="10.1.1.0/24" ipdst="10.1.1.3" protocol="tcp" prtsrc="*" prtdst="23"/>
      </filter>
    </rule>
  </pimnat:Policy>
</xmi:XMI>

In the metamodel I have a class called Rule, but when I executed the next sentences:

rule trasnform_policie2
	transform f: Source!Rule
	to p : Target!Filter_Rule{
	
	f.println();
	"hello".println();
}

The execution doesn't found any Source!Rule. In the metamodel this class exists, However I have tried and this can found other classes like Source!Policy

I think this doesn't hapen with all models/metamodels.

Reproducible: Always

Steps to Reproduce:
1. Do a model to model trasnformation using ETL.
2. 
3.
Comment 1 Dimitris Kolovos CLA 2010-05-14 15:16:03 EDT
Fixed in the SVN. Could you please update and verify?
Comment 2 Dimitris Kolovos CLA 2010-05-14 15:18:10 EDT
False alarm :) Not quite fixed.
Comment 3 Dimitris Kolovos CLA 2010-05-14 15:21:12 EDT
Fixed now.
Comment 4 José Miguel P. CLA 2010-05-14 17:39:59 EDT
I have checked and It's working perfect now.
Thank you very much!!
Comment 5 Dimitris Kolovos CLA 2010-05-30 15:49:04 EDT
Changing status to RESOLVED
Comment 6 Dimitris Kolovos CLA 2010-11-25 08:14:03 EST
Fixed in 0.9.0.