Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Management eol of the systray #1343

Merged
merged 7 commits into from
Jan 24, 2017
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ OpenGrok - a wicked fast source browser
5. OpenGrok setup
6. Optional Command Line Interface Usage
7. Change web application properties or name
8. OpenGrok systray
9. Information for developers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copyright

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

10. Tuning OpenGrok for large code bases
11. Authors
Expand Down Expand Up @@ -694,31 +693,6 @@ Deploy the modified .war file in tomcat:

* just copy the source.war file to TOMCAT_INSTALL/webapps directory.

8. OpenGrok systray
-------------------

The indexer can be setup with agent and systray GUI control application.
This is optional step for those who wish to monitor and configure OpenGrok
from their desktop using systray application.

An example opengrok-agent.properties file is provided, which can be used when
starting special OpenGrok Agent, where you can connect with a systray GUI
application.

To start the indexer with configuration run:

$ java -cp ./opengrok.jar org.opensolaris.opengrok.management.OGAgent \
--config opengrok-agent.properties

Then from the remote machine one can run:

$ java -cp ./opengrok.jar \
org.opensolaris.opengrok.management.client.OpenGrokTrayApp

assuming configuration permits remote connections (i.e. not listening on
localhost, but rather on a physical network interface).

This agent is work in progress, so it might not fully work.

9. Information for developers
-----------------------------
Expand Down
9 changes: 1 addition & 8 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,6 @@ Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.

<property name="mvn.repository" value="http://repo1.maven.org/maven2"/>

<available property="compileSystrayClient" classname="java.awt.TrayIcon"/>

<target name="-exclude-client" unless="compileSystrayClient">
<echo>JDK doesn't have java.awt.TrayIcon, excluding building of systray client ... </echo>
<property name="excludes" value="org/opensolaris/opengrok/management/client/**"/>
</target>

<property name="jflex-version" value="1.6.1"/>

<path id="lib.search.path">
Expand Down Expand Up @@ -325,7 +318,7 @@ Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
</target>

<!-- injecting jacoco, too -->
<target name="-pre-init" depends="-touch-manifest, -exclude-client, -set-jacocoagent"/>
<target name="-pre-init" depends="-touch-manifest, -set-jacocoagent"/>

<!--
Initialize a property holding a list of jar files on which
Expand Down
1 change: 0 additions & 1 deletion nbproject/configs/Agent.properties

This file was deleted.

1 change: 0 additions & 1 deletion nbproject/configs/Tray.properties

This file was deleted.

8 changes: 0 additions & 8 deletions opengrok-indexer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
<directory>../src/org/opensolaris/opengrok/index/</directory>
<excludes><exclude>*.java</exclude></excludes>
</resource>
<resource>
<targetPath>org/opensolaris/opengrok/management/</targetPath>
<directory>../src/org/opensolaris/opengrok/management/</directory>
<includes>
<include>*.properties</include>
<include>**/*.gif</include>
</includes>
</resource>
<resource>
<targetPath>org/opensolaris/opengrok/history/</targetPath>
<directory>../src/org/opensolaris/opengrok/history/</directory>
Expand Down
Loading