Please use the newsgroup/forum to ask questions:
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
Please follow up on the forum.
On 14/09/2011 7:49 AM, Jerry Hong wrote:
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
- 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.
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.
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.
洪嘉瑞 / Jiarui (Jerry) Hong
emf-dev mailing list