How to undeploy emml script?

milandoj
User offline. Last seen 1 year 17 weeks ago. Offline
Joined: 05/05/2010
Points: 61

Hello everybody!

Im using the reference runtime implementation for running emml script and Im confused with the folowing.

In runtime I create emml script and I save it in emml/web-inf/classes directory. The mashup is working when I try http://localhost:8080/emml/mashup.

But when I overwrite the mashup (I create new mashup script with same name-I do everything in runtime, no restarting of Tomcat), and I try to get the new mashup, http://localhost:8080/emml/mashup, I still get result from the old mashup.

So, is there possibility to solve this problem? Somehow to undeploy or bettter say UPDATE the mashup script, but in runtime? 

Thanks in advance!

best regards,
Milan

0
Your rating: None
raj
raj's picture
User offline. Last seen 1 week 4 days ago. Offline
Joined: 09/22/2008
Points: 4

 Hi Milan,

OMA 1.0 reference implementation does not currently support HotDeploy of Mashup scripts. We will work towards providing a hot-deploy in our next release but there is no time-line on that yet.

thanks,

raj

raj.  chief masher @ jackbe

milandoj
User offline. Last seen 1 year 17 weeks ago. Offline
Joined: 05/05/2010
Points: 61
Thanks for the answer.
 
So, It looks that OMA 1.0 reference implementation is only useful for prototype applications. Even for that is also poor.
When create emml script, and I cant access it through localhost:8080/emml/myScript.
But if I change it, or delete it, its still accessible. I think it should be as fast as possible solved the hot-deploy concept, otherwise EMML will not be spread how it is expected.
 
I look forward the new release of the reference implementation.
 
Best wishes,
Milan