Jerry,
Please use the newsgroup/forum to ask questions:
eclipse.tools.emf
I assume you chose to use the Development Time Version when you
loaded the other Ecore models? That's important...
When you created the GenModel, did you tell it to reuse the
GenModel/GenPackages for the other two models? That's important
too.
Please follow up on the forum.
On 14/09/2011 7:49 AM, Jerry Hong wrote:
Hi,
I came across a strange problem with HTTP code
403 while creating a genmodel from a ecore file.
Below are the steps I followed. I have
also attached the needed files so you might like to
regenerate the environment.
-
I created two simplest ecore projects: exSource and
exTarget.
- I created the
corresponding genmodels within these projects and
generated all the codes.
-
I exported exSource and exTarget as jar files and put
them into Eclipse plugin folder. Then I restarted
Eclipse to load them.
- In order to make a
"mapping model" as the ecore2genmodel example
suggests, I created another ecore project: pivot.
- I opened pivot.ecore and
"Loaded Resources" exSourceModel and exTargetModel
(according to their URLs) from "Regestered Packages".
Then I filled it with structure like below.
(attached: 1.png)
6. Everything works fine until
now. Then I tried to create a genmodel from this
pivot.ecore like below. At the final step right after
clicking "Finish" I received this error.
(attached: 2.png)
It's really strange for EMF to try
PUTing. I mean even if it was trying to verify the URL
mentioned in the ecore file, that URL (http://jerryhong.net/exSource)
is reachable and doesn't deserve a 403 code.
I'm wondering if anyone has come
across this problem before. Thank you.
Best regards,
洪嘉瑞 / Jiarui (Jerry) Hong
>http://www.JerryHong.net
_______________________________________________
emf-dev mailing list
emf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/emf-dev
|