Setting up logging/reporting with UIHandler in a Netbeans Platform Application

View: New views
1 Messages — Rating Filter:   Alert me  

Setting up logging/reporting with UIHandler in a Netbeans Platform Application

by Alterscape :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to set up a NetBeans Platform Application to report UI
gestures to a server I control, using the UI Gestures Collector / UI
Handler Library / Exceptions Collector  modules, based on the
documentation at http://logger.netbeans.org/.  I've included these two
modules from the NB6.7rc3 paltform as libraries in my Platform
Application project. Looking at
org.netbeans.modules.uihandler.Installer, it appears that the
preferences for the UI handler behavior should be stored in the root
NBPreferences, and the NBPreferences for the Installer class. However,
both when test-running the application from the IDE, and when running
the app from a built distribution, I can't find a preferences file
containing any of the keys references in the Installer.  Also, the "Do
you want to report UI gestures?" popup window does not appear when
starting my app for the first time after a clean-and-build, and I
don't see any of the uihandler JARs in my public-package-jars
directory.  I'm not including the UIHandler modules as dependencies in
any of my modules.  I suspect I may be improperly setting up something
here.

 Ideally, I want to specify a custom "Do you want to contribute UI
gestures data?" window for display on first launch, and specify a
custom URL for gestures reporting.  Any ideas how to make this happen
from where I am now?

--
Ryan Spicer