Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Error xmi.PackageNotFoundException
[ATL] Error xmi.PackageNotFoundException [message #554670] Tue, 24 August 2010 03:03
Transformed is currently offline TransformedFriend
Messages: 21
Registered: June 2010
Junior Member
HI all,
I have following problem in xmi.PackageNotFoundException

I have following metamodel of CDL
Package {
roleTypes [relation, ofTYpe:RoleType, 0..*],

I have following metamodel of XML
Root -(extends)-> Element;
Elements-(extends)-> Node{
children [relation,ofType:Node,0..*]
name [EString];
value [Esting];

I have following ATL code
rule package2root{
		s : CDL!Package 
		t: XML!Root(
		name <-'cdl:Package')

I have the following CDL model instance
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="" xmlns:cdl="" xmlns:cdl2="" xmlns:pur="java:com.acme.purchasing" xmlns:tns="" xmlns:xsd="" author="gary" name="PurchaseGoods" targetNamespace="" version="0.1">

But it gives me an error like this
Error loading platform:/resource/test2Bpel/CDL Specification/purchaseGood.cdl: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri '' not found. (platform:/resource/test2Bpel/CDL%20Specification/purchaseGood.cdl, 2, 353)

I tried changing the <package> to <Package> also but it did not work.

Suggest me !!
Previous Topic:[ATL] How to launch a ATL transformation on a workflow file
Next Topic:[ATL] how to create a refernce from one rule to another
Goto Forum:

Current Time: Sun Nov 29 07:13:06 GMT 2015

Powered by FUDForum. Page generated in 0.01599 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software