[
https://issues.jboss.org/browse/JBDS-3531?page=com.atlassian.jira.plugin....
]
Nick Boldt updated JBDS-3531:
-----------------------------
Description:
In
http://download.jboss.org/jbosstools/10.0/snapshots/builds/devstudio.vers...
we see versionwatch complaining that the version of com.jboss.devstudio.core.feature went
DOWN from 10.0.0 to 9.0.0.
Obviously we need to fix the version diffing engine so it sees more than the first digit
of the version, and therefore sees 10 > 9, rather than 1 < 9.
was:
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevSt...
{code}
/qa/tools/opt/amd64/jdk1.8.0_last/bin/java -DTRACE=true -DSTREAM_NAME=10.0 -jar
/qa/services/http/binaries/RHDS/10.0/snapshots/builds/devstudio.product_master/latest/all/jboss-devstudio-10.0.0.Alpha1-v20150918-1953-B3976-installer-standalone.jar
/home/hudson/static_build_env/jbds/versionwatch/installations/jbds-10.0.0.Alpha1.install.xml
10:48:07 TRACE enabled.
10:48:07 checking if os constraints [Os family unix name null version null arch null jre
null ] match current OS
10:48:07 matched current OS.
10:48:07 checking if os constraints [Os family windows name null version null arch null
jre null ] match current OS
10:48:07 checking if os constraints [Os family null name null version null arch x86 jre
null ] match current OS
10:48:07 no match with current OS!
10:48:08 Custom langpack for eng available.
10:48:08 Initializing RulesEngine
10:48:08 RulesEngine.init()
10:48:08 Initializing builtin conditions for packs.
10:48:08 Pack.getCondition(): null for pack jbds-installer
10:48:08 Pack.getCondition(): null for pack jbds.update
10:48:08 Pack.getCondition(): null for pack jbds.generate
10:48:08 Pack.getCondition(): null for pack jbosseap
10:48:08 [ Starting automated installation ]
10:48:08 java.lang.NullPointerException
10:48:08 java.lang.NullPointerException
10:48:08 at
com.jboss.devstudio.core.installer.PathInputPanelAutomationHelper.runAutomated(PathInputPanelAutomationHelper.java:48)
10:48:08 at
com.izforge.izpack.installer.AutomatedInstaller.installPanel(AutomatedInstaller.java:432)
10:48:08 at
com.izforge.izpack.installer.AutomatedInstaller.doInstall(AutomatedInstaller.java:388)
10:48:08 at com.izforge.izpack.installer.Installer.main(Unknown Source)
10:48:08 [ Automated installation FAILED! ]
{code}
Tested locally on dev01:
{code} /qa/tools/opt/jdk1.8.0_last/bin/java -DTRACE=true -DSTREAM_NAME=10.0 -jar
jboss-devstudio-10.0.0.Alpha1-v20150918-1953-B3976-installer-standalone.jar
/tmp/jbds-10.0.0.Alpha1.install.xml
TRACE enabled.
checking if os constraints [Os family unix name null version null arch null jre null ]
match current OS
matched current OS.
checking if os constraints [Os family windows name null version null arch null jre null ]
match current OS
checking if os constraints [Os family null name null version null arch x86 jre null ]
match current OS
no match with current OS!
Custom langpack for eng available.
Initializing RulesEngine
RulesEngine.init()
Initializing builtin conditions for packs.
Pack.getCondition(): null for pack jbds-installer
Pack.getCondition(): null for pack jbds.update
Pack.getCondition(): null for pack jbds.generate
Pack.getCondition(): null for pack jbosseap
[ Starting automated installation ]
java.lang.NullPointerException
java.lang.NullPointerException
at
com.jboss.devstudio.core.installer.PathInputPanelAutomationHelper.runAutomated(PathInputPanelAutomationHelper.java:48)
at
com.izforge.izpack.installer.AutomatedInstaller.installPanel(AutomatedInstaller.java:432)
at
com.izforge.izpack.installer.AutomatedInstaller.doInstall(AutomatedInstaller.java:388)
at com.izforge.izpack.installer.Installer.main(Unknown Source)
[ Automated installation FAILED! ]
{code}
So, we might have to tweak the XML file - [^jbds-10.0.0.Alpha1.install.xml] as I suspect
something is missing, or else maybe the OS detection is faulty.
versionwatch thinks JBDS 10 is older than JBDS 9 (1 < 9 instead of
10 > 9)
--------------------------------------------------------------------------
Key: JBDS-3531
URL:
https://issues.jboss.org/browse/JBDS-3531
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: build, installer
Affects Versions: 10.0.0.Alpha1
Reporter: Nick Boldt
Assignee: Nick Boldt
Fix For: 10.0.0.Alpha1
Attachments: jbds-10.0.0.Alpha1.install.xml
In
http://download.jboss.org/jbosstools/10.0/snapshots/builds/devstudio.vers...
we see versionwatch complaining that the version of com.jboss.devstudio.core.feature went
DOWN from 10.0.0 to 9.0.0.
Obviously we need to fix the version diffing engine so it sees more than the first digit
of the version, and therefore sees 10 > 9, rather than 1 < 9.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)