Ok, well I'm probably not the only person to have a problem with this... 1) It was not disclosed on mailing list. 2) I don't want my build slowed down by network traffic to let you know what goals I'm using 3) Every open-source project that I can think of that collects usage statistics (Netbeans, Eclipse) provides opt-in/opt-out choice
Do any other Sonatype products do this? Does Sonatype know about this? On Tue, Jun 8, 2010 at 4:20 PM, Marvin Froeder <[email protected]> wrote: > > > On Tue, Jun 8, 2010 at 4:48 PM, Matt <[email protected]> wrote: >> >> What is the meaning of this class? >> >> >> http://svn.sonatype.org/flexmojos//trunk/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/common/UsageMonitor.aj >> >> It sure looks like you are collecting usage statistics of the plugin. >> Certainly haven't ever seen this before and seems rather strange for >> an open-source project. Am I just misreading this? > > No. > >> >> Why hide the >> package name in a byte array? > > Just don't wanna make that obvious, mainly to prevent people from making > fake hits on the statistics. > >> >> // prevent some asynchronous issues related to new maven 3 >> parallel support >> if ( getClass().getPackage().getName().startsWith( new >> String( new byte[] { 111, 114, 103, 46, 115, 111, 110, >> 97, >> 116, 121, 112, 101, 46, 102, 108, 101, 120, 109, >> 111, >> 106, 111, 115 } ) ) ) >> { >> ( (JGoogleAnalyticsTracker) >> tracker ).trackAsynchronously( focusPoint ); >> } >> else >> { >> ( (JGoogleAnalyticsTracker) >> tracker ).trackSynchronously( focusPoint ); >> } >> >> ... -> >> y: Array[Byte] = Array(111, 114, 103, 46, 115, 111, 110, 97, 116, 121, >> 112, 101, 46, 102, 108, 101, 120, 109, 111, 106, 111, 115) >> >> scala> new String(y) >> res0: java.lang.String = org.sonatype.flexmojos >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Flex Mojos" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/flex-mojos >> >> http://flexmojos.sonatype.org/ > > -- > You received this message because you are subscribed to the Google > Groups "Flex Mojos" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
