Skip to main content



      Home
Home » Modeling » MoDisco » Method AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion
Method AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion [message #893150] Mon, 02 July 2012 18:20 Go to next message
Eclipse UserFriend
Hi,

I have developed a Dicoverer for struts-config files. I have used the MoDisco WebApp Discoverer as guideline. When I use the method getDescXmlVersion to determinate the version of dtd or xsd file to define the struts-config file the return version is a empty string. I look the code and I see that the string use to look for name dtd file is "http:/java.sun.com". It is correct change this string by de variable dtdUrl.

Thank you very much,
Best regard, Víctor Pavón.
Re: Method AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion [message #893432 is a reply to message #893150] Wed, 04 July 2012 03:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi Pavon,

you are right, the "http:/java.sun.com" string should not appear in AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion(). The dtdUrl parameter must be used instead, like in the other parts of the method. If you have some time to fill a bugzilla in MDT-MoDisco, it would be welcome.

About developping one Struts discoverer,you may have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=308176. Some old discoverer was written against 0.8 MoDisco framework but there is still work to do to achieve and contribute some complete discoverer. May be some parts of the attached code will be of interest for you.

Regards,
Fabien
Re: Method AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion [message #893887 is a reply to message #893432] Thu, 05 July 2012 16:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Fabien,

I fill a bugzilla this is https://bugs.eclipse.org/bugs/show_bug.cgi?id=384408.

Thank you very much for the information about StrutsConfig discoverer.

Best Regard
Victor

Re: Method AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion [message #931854 is a reply to message #893887] Wed, 03 October 2012 11:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi Fabien,

I have been watching the meta-models for the struts config archives, which are defined on struts-config discoverer. And I have a doubt, did you generate de meta-model converting .dtd into .xsd and then use EMF? or did you create the meta-models manually?

Best regard, Victor.
Re: Method AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion [message #941438 is a reply to message #931854] Fri, 12 October 2012 10:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi Victor,

emf struts-config definitions were produced by automatic conversion dtd->xsd

regards,
Fabien.
Re: Method AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion [message #948647 is a reply to message #941438] Thu, 18 October 2012 04:15 Go to previous messageGo to next message
Eclipse UserFriend
Hi Fabien,

thank you for your answer. I have finished the development of StrutsConfig discoverer and its work with MoDisco 0.10, it is possible publish it in MoDisco? If it is possible what I have to do?

regard,
Victor.
Re: Method AbstractDeploymentDescriptorDiscoverer.getDescXmlVersion [message #953901 is a reply to message #948647] Mon, 22 October 2012 12:21 Go to previous message
Eclipse UserFriend
Hello Victor,

Thanks for your interesting proposition of contribution.
The detailed instructions about the MoDisco contribution rules are available from http://wiki.eclipse.org/MoDisco#How_to_contribute_your_code.3F.
I encourage you to strictly comply to all of them, so that the contribution process can then be as straightforward as possible.

Best regards,

Hugo
Previous Topic:KDM model edit and editor plugins missing
Next Topic:kdm to uml (still) fails
Goto Forum:
  


Current Time: Thu May 22 07:23:29 EDT 2025

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

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

Back to the top