3 Replies Latest reply on Mar 29, 2010 7:54 PM by dgolovin

    first class groovy code gen support option for seam tools etc ?

    wiggy

      had a go an using groovy within a jboss toolsseam project

       

      this has worked well (once i got over the first hurdles), and grrovy brings a lot to conciseness of the build.

       

      however you have run groovy support as another plugin, and seam tools dont have an option to generate groovy versions of files.

       

      Have the tools teams considered offering groovy as generation option?

       

      at present i have to cuts and paste my own files - as if you use the wizards they generate java files instead.

       

      would like to know if anyone else has requested/would like to see similar direct suppport in jboss tools plugin

        • 1. Re: first class groovy code gen support option for seam tools etc ?
          dgolovin

          Yes, JBoss Tools plug-ins is not aware of Groovy now.

           

          William Woodman wrote:

           

          Have the tools teams considered offering groovy as generation option?

          That sounds like a good feature request for JBoss Tools JIRA, feel free to create it with all details about how would you see it

          William Woodman wrote:

           

          would like to know if anyone else has requested/would like to see similar direct suppport in jboss tools plugin

          I remember the only discussion about Groovy I was involved a while ago.

          • 2. Re: first class groovy code gen support option for seam tools etc ?
            wiggy

            Dennis,

             

            thanks for the guidance, i've created the reference JBIDE-6117, I hope this is sufficiently clear.  First time at doing this (normally been an experimental user)

             

            If this is not in sufficient detail for a developer to pick up would appreciate a few on that.  If its insufficient - i'll try and build some extra detail and expand the words to show what i have to do manually right now.

             

            This would be lovely to get this feature enabled, dont know how other community members feel but i think Groovy really has somethiung really clean and simple to add to the seam project space.

             

            Thanks

            • 3. Re: first class groovy code gen support option for seam tools etc ?
              dgolovin

              Thank you for your feature request in JIRA. Actual for this is https://jira.jboss.org/jira/browse/JBIDE-6117.

              First t ask I can see here is enabling seam-gen to generate groovy code instead of java. Now JBoss Tools uses seam-gen resources to generate all artifacts in IDE:

              1. XHTML pages are generated using seam-gen/view seam folder templates and shey should stay the same for Groovy;

              2. java sources generated using seam-gen/src folder templates and thus groovy templates should be implemented;

              3. test sources generated using seam-gen/test folder templates and also needs templates in groovy.