Skip to content

Commit

Permalink
JBIDE-21654 add aeri support for jboss tools
Browse files Browse the repository at this point in the history
Why:

 * want to get error reports similar to what aeri
   gets for eclipse.org

This change addreses the need by:

 * enabling extension point for aeri in Mars.2
 * added to usage plugin with optional dependencies
   for biggest impact.

Resolves: JBIDE-21654
  • Loading branch information
maxandersen committed Feb 17, 2016
1 parent 30e666d commit 3e9b83b
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 2 deletions.
4 changes: 3 additions & 1 deletion usage/plugins/org.jboss.tools.usage/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ Export-Package: org.jboss.tools.usage.branding,
org.jboss.tools.usage.util.reader
Require-Bundle: org.eclipse.osgi;bundle-version="[3.5.0,4.0.0)",
org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)",
org.eclipse.ui;bundle-version="[3.5.0,4.0.0)"
org.eclipse.ui;bundle-version="[3.5.0,4.0.0)",
org.eclipse.epp.logging.aeri.core;bundle-version="1.100.0";resolution:=optional;x-installation:=greedy,
org.eclipse.epp.logging.aeri.ide;bundle-version="1.100.0";resolution:=optional;x-installation:=greedy
Bundle-Activator: org.jboss.tools.usage.internal.JBossToolsUsageActivator
Bundle-Vendor: %bundle-vendor
Bundle-ActivationPolicy: lazy
Expand Down
3 changes: 2 additions & 1 deletion usage/plugins/org.jboss.tools.usage/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ bin.includes = .,\
.classpath,\
.project,\
OSGI-INF/,\
.options
.options,\
icons/
src.includes = about.html,\
pom.xml
source.. = src/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions usage/plugins/org.jboss.tools.usage/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,30 @@
class="org.jboss.tools.usage.internal.preferences.UsageReportPreferenceInitializer">
</initializer>
</extension>

<extension
point="org.eclipse.epp.logging.aeri.ide.servers">
<server
id="org.jboss.tools"
class="org.eclipse.epp.internal.logging.aeri.ide.server.mars.ServerConnection"
icon16="icons/obj16/jbosstools.png"
icon32="icons/obj32/jbosstools.png"
icon64="icons/obj64/jbosstools.png"
name="JBoss Tools"
description="JBoss Tools wishes to get notified about errors that occur in - or may affect the usability of - JBoss Tools. See &lt;a href=&quot;http://tools.jboss.org/usage/&quot;&gt;JBoss Usage Reporting&lt;/a&gt; For details on privacy and data usage."
>
<link
href="https://www.redhat.com"
rel="provider"
title="Red Hat, Inc.">
</link>
<!-- test that redirects to https://redhat.ctrlflow.com/rest/2.0/community/discovery" -->
<link
href="http://xam.dk/aeri/rest/2.0/community/discovery"
rel="discovery"
title="Discovery URL">
</link>
</server>
</extension>

</plugin>

0 comments on commit 3e9b83b

Please sign in to comment.