[
https://issues.jboss.org/browse/JBIDE-13990?page=com.atlassian.jira.plugi...
]
Nick Boldt commented on JBIDE-13990:
------------------------------------
OK, so scan the output from *getOSVersion()* for the regex "amd64|x86_64".
If found, it's 64. If not, assume 32.
At least you'll get SOME 64-bit data that way.
Linux usage stats hardcoded to x86 so no data collected for x86_64
------------------------------------------------------------------
Key: JBIDE-13990
URL:
https://issues.jboss.org/browse/JBIDE-13990
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: usage
Affects Versions: 4.0.1.Final, 4.1.0.Alpha2
Reporter: Nick Boldt
Assignee: Andre Dietisheim
[~maxandersen] found this bug today when looking at why we have no 64-bit Linux usage
data:
{code:title=https://github.com/jbosstools/jbosstools-base/blob/master/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/EclipseUserAgent.java#L35}
private static final String USERAGENT_LINUX = "{0}/{1} (X11; U; Linux i686;
{3})"; //$NON-NLS-1$
{code}
Suggestion: we should replace i686 with \{2\}.
--
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