]
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
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/aeb9683efbfff11d0...
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-catego...
http://download.jboss.org/jbosstools/examples/4.3/project-examples-shared...
http://download.jboss.org/jbosstools/examples/4.3/project-examples-jbds90... -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}