Geronimo
  1. Geronimo
  2. GERONIMO-3665

Create ghell commands for wsgen and wsimport tools

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.2, 2.2
    • Component/s: None
    • Security Level: public (Regular issues)
    • Labels:
      None

      Activity

      Hide
      Jarek Gawor added a comment -

      Committed changes to trunk (revision 676666) and branches/2.1 (revision 676667) that register the wsgen/wsimport commands with GShell. It's kind of a hacky solution but it works.
      Hopefully, in the future there will be an easier way to register new commands with the GShell runtime that will make this hack unnecessary.

      Show
      Jarek Gawor added a comment - Committed changes to trunk (revision 676666) and branches/2.1 (revision 676667) that register the wsgen/wsimport commands with GShell. It's kind of a hacky solution but it works. Hopefully, in the future there will be an easier way to register new commands with the GShell runtime that will make this hack unnecessary.
      Hide
      Joe Bohn added a comment -

      added 2.1.2 and 2.2 as fix versions given that this was proposed as a candidate for 2.1.2

      Show
      Joe Bohn added a comment - added 2.1.2 and 2.2 as fix versions given that this was proposed as a candidate for 2.1.2
      Hide
      Jarek Gawor added a comment - - edited

      What needs to be done to register the commands in java ee assemblies:

      1) Edit etc/gsh-classworlds.conf and add the following line:

       
      load ${gshell.home}/lib/geronimo-jaxws-builder-2.1.jar
      

      2) Edit etc/layout.xml and add the following:

       
             <group>
                 <name>jaxws</name>
                 <nodes>
                     <command>
                         <name>wsgen</name>
                         <id>geronimo-jaxws-builder:wsgen</id>
                     </command>
                     <command>
                         <name>wsimport</name>
                         <id>geronimo-jaxws-builder:wsimport</id>
                     </command>
                 </nodes>
             </group>
      
      Show
      Jarek Gawor added a comment - - edited What needs to be done to register the commands in java ee assemblies: 1) Edit etc/gsh-classworlds.conf and add the following line: load ${gshell.home}/lib/geronimo-jaxws-builder-2.1.jar 2) Edit etc/layout.xml and add the following: <group> <name>jaxws</name> <nodes> <command> <name>wsgen</name> <id>geronimo-jaxws-builder:wsgen</id> </command> <command> <name>wsimport</name> <id>geronimo-jaxws-builder:wsimport</id> </command> </nodes> </group>
      Hide
      Jarek Gawor added a comment -

      Added basic GShell commands to trunk (revision 600633) but they are not registered with gshell yet.

      Show
      Jarek Gawor added a comment - Added basic GShell commands to trunk (revision 600633) but they are not registered with gshell yet.

        People

        • Assignee:
          Jarek Gawor
          Reporter:
          Jarek Gawor
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development