Menu

mise en place et reinginering

2009-03-13
2013-04-26
  • Jérôme Lafosse

    Bonjour,

    Je viens de faire le tutoriel sur votre outils MVC et cela fonctionne.

    Par contre, je souhaite utiliser l'outil pour faire du reinginering, c'est-à-dire
    utiliser un projet que j'ai déjà développé en Struts 2 avec une version très récente de Struts 2.1.6.

    Mon projet n'est pas une application web mais un projet Tomcat. J'ai essayé d'ouvrir le fichier struts.xml avec l'outil Alveole Studio MVC Web Projet Editor mais j'ai une erreur (could not open the editor...).

    Mon but est de faire de la programmation MVC à partir de votre outil (éditeur visuel) mais de pouvoir utiliser les dernières versions de struts et de pouvoir accès à l'ensemble des fonctionnalités.

    Merci pour vos explications.

    Cordialement,
    Jérôme

     
    • Sylvain RIBEYRON

      Hi Jérôme.

      You probably noticed that all the posts on this forum were in English. I hope I will not offend you, but I will answer in English so that most of the people may understand this post. Furthermore, it is a good practice for my english that is not so good...

      To reuse an existing struts.xml file, you first have to import it into a MVC Web Project file. Just right-click on your file, and click "import" on the popup menu. Then select the MVC Web Project import choice, and follow the instructions.

      Note that this part of the plugin is still in beta version, and is not well documented. But It worked pretty well each time I've used it. Don't forget to make a backup of your struts.xml file before doing that...

      Also note that MVC Web Project does not include the very latest version of struts2 jar files, but you may erase the given jar files with the latest ones, following your needs.

      Regards.
      Sylvain.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.