[jbosstools-issues] [JBoss JIRA] (JBIDE-15001) Offline groovy script does not work

Fred Bricon (JIRA) jira-events at lists.jboss.org
Tue Jun 25 19:03:20 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon resolved JBIDE-15001.
---------------------------------

    Resolution: Done


Too much hassle to make it work with Groovy 2.0.x. I changed the label to explicitely require groovy 2.1.x. Since this feature is really geared towards power users, I don't think it'll matter.

Fixed in commit https://github.com/jbosstools/jbosstools-central/commit/a562d72a25af673a3180e1d7b2a7bb935963a984 
                
> Offline groovy script does not work
> -----------------------------------
>
>                 Key: JBIDE-15001
>                 URL: https://issues.jboss.org/browse/JBIDE-15001
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: project-examples
>    Affects Versions: 4.1.0.Beta2
>         Environment: Groovy Version: 2.0.5 JVM: 1.6.0_27 Vendor: Sun Microsystems Inc. OS: Linux
>            Reporter: Rastislav Wagner
>            Priority: Blocker
>              Labels: respin-b
>             Fix For: 4.1.0.Beta2
>
>
> When I try to run offline groovy script from command line the following exception occurs:
> {code}
> 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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list