-
Bug
-
Resolution: Done
-
Blocker
-
4.0.0.M2
-
None
-
None
-
Low
The current Usage reporting plugin does not recognize correctly if it's running in a JBDS instance. The texts in the first-start dialog "please allow us to report usage to JBoss Tools team" and preference page do not show Red Hat Inc / JBoss Developer Studio. Furthermore it hits the wrong Google Analytics account.
The reason for it is that the product id is checked against a bad value:
"com.jboss.jbds.product.feaure"
it should be checked against
"com.jboss.jbds.product.product"
Fixing it consists in changing a string constant in JBDSConstants. I attach a patch.
I unfortunately only checked the code by uncommenting the detection and did not install it into a JBDS build. It did this now and discovered the flaw.