Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[henshin-dev] Create GenModel problem: PUT failed with HTTP response code 403?

Hi,

I came across a strange problem with HTTP code 403 while creating a genmodel from a ecore file. I know this isn't a Henshin problem but after solving this problem I'll go ahead to an exogenous transformation. So I'm really appreciated if someone here can help me with this.

Below are the steps I followed. I have also attached the needed files so you might like to regenerate the environment.
  1. I created two simplest ecore projects: exSource and exTarget.
  2. I created the corresponding genmodels within these projects and generated all the codes.
  3. I exported exSource and exTarget as jar files and put them into Eclipse plugin folder. Then I restarted Eclipse to load them.
  4. In order to make a "mapping model" as the ecore2genmodel example suggests, I created another ecore project: pivot.
  5. 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.
image.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.
image.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

Attachment: Projects_Export.zip
Description: Zip archive


Back to the top