Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15001

Offline groovy script does not work

XMLWordPrintable

    • Hide

      1. open Preferences -> Project Examples -> Offline Support
      2. copy command to clipboard
      3. run in command line

      Show
      1. open Preferences -> Project Examples -> Offline Support 2. copy command to clipboard 3. run in command line

      When I try to run offline groovy script from command line the following exception occurs:

      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      /files/RedHat/Workspaces/JBDS/without/700B2a/.metadata/.plugins/org.jboss.tools.project.examples/offline/go_offline_1.5.0.Beta2_v20130619_1903_B48.groovy: 46: 'help'is not part of the annotation com.beust.jcommander.Parameter -> com.beust.jcommander.Parameter in @com.beust.jcommander.Parameter
       @ line 46, column 3.
           @Parameter(names = ["-h", "--help"], description = "This help", help = true)
           ^
      
      /files/RedHat/Workspaces/JBDS/without/700B2a/.metadata/.plugins/org.jboss.tools.project.examples/offline/go_offline_1.5.0.Beta2_v20130619_1903_B48.groovy: 46: Unexpected type java.lang.Object in @com.beust.jcommander.Parameter
       @ line 46, column 74.
         ription = "This help", help = true)
                                       ^
      
      2 errors
      
      

              fbricon@redhat.com Fred Bricon
              rawagner@redhat.com Rastislav Wagner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: