[jbosstools-issues] [JBoss JIRA] (JBIDE-19290) Offline script is not working

Fred Bricon (JIRA) issues at jboss.org
Wed Feb 18 12:38:49 EST 2015


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

Fred Bricon resolved JBIDE-19290.
---------------------------------
    Fix Version/s: 4.3.0.Alpha2
       Resolution: Done


Fixed broken logic in master. No need to add specific settings to the command.

You can test it by replacing the path to the local groovy script with the one on github :

groovy https://raw.githubusercontent.com/jbosstools/jbosstools-central/master/examples/plugins/org.jboss.tools.project.examples/offline/go_offline.groovy + args

> Offline script is not working
> -----------------------------
>
>                 Key: JBIDE-19290
>                 URL: https://issues.jboss.org/browse/JBIDE-19290
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: project-examples
>    Affects Versions: 4.3.0.Alpha1
>         Environment: JBDS 9.0.0.Alpha1
>            Reporter: Radim Hopp
>            Assignee: Fred Bricon
>            Priority: Critical
>             Fix For: 4.3.0.Alpha2
>
>
> Groovy command, which can be found in Settings->JBoss Tools->Project Examples->Offline Support is missing -s paramter which was introduced in https://github.com/jbosstools/jbosstools-central/commit/aeb9683efbfff11d072bd8177e6d869ee1770575
> Either the script should provide mechanism to get default settings.xml or provide path to default settings.xml in groovy command in preferences.
> {noformat}groovy "/home/rhopp/workspace-tests/.metadata/.plugins/org.jboss.tools.project.examples/offline/go_offline_3.0.0.Alpha1_v20150213_0945_B3.groovy" http://download.jboss.org/jbosstools/examples/4.3/project-examples-category-jbds-9.0.xml http://download.jboss.org/jbosstools/examples/4.3/project-examples-shared-4.3.0.Alpha1.xml http://download.jboss.org/jbosstools/examples/4.3/project-examples-jbds90.xml -q -e
> Quiet mode : true
> Caught: java.lang.NullPointerException: Cannot get property 'absolutePath' on null object
> java.lang.NullPointerException: Cannot get property 'absolutePath' on null object
>         at GoOfflineScript.goOffline(go_offline_3.0.0.Alpha1_v20150213_0945_B3.groovy:90)
>         at GoOfflineScript.main(go_offline_3.0.0.Alpha1_v20150213_0945_B3.groovy:82)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list