[jbosstools-issues] [JBoss JIRA] (JBIDE-13990) Linux usage stats hardcoded to x86 so no data collected for x86_64

Nick Boldt (JIRA) jira-events at lists.jboss.org
Thu Apr 11 16:18:55 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-13990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766617#comment-12766617 ] 

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


More information about the jbosstools-issues mailing list