Server: Running the Server/Daemon
Server: Installation
- If you downloaded the full version of the CppPlugin, then make sure that the following directories exist in your
plugins directory.
/home/user/eclipse/plugins/org.eclipse.cdt.dstore.extra.server
/home/user/eclipse/plugins/org.eclipse.cdt.dstore.core
/home/user/eclipse/plugins/org.eclipse.cdt.dstore.miners
/home/user/eclipse/plugins/org.eclipse.cdt.cpp.miners
/home/user/eclipse/plugins/org.eclipse.cdt.cpp.miners.parser
/home/user/eclipse/plugins/com.ibm.debug
/home/user/eclipse/plugins/org.eclipse.cdt.debug.gdbPicl
- If you only downloaded the server version then:
- choose a directory on your server machine to install the DataStore server
/home/user/dstore/
- copy the zip file to the server machine in the chosen location
- After you unzip the server package, you should have the following directories:
/home/user/dstore/org.eclipse.cdt.dstore.extra.server
/home/user/dstore/org.eclipse.cdt.dstore.core
/home/user/dstore/org.eclipse.cdt.dstore.miners
/home/user/dstore/org.eclipse.cdt.cpp.miners
/home/user/dstore/org.eclipse.cdt.cpp.miners.parser
/home/user/dstore/com.ibm.debug
/home/user/dstore/org.eclipse.cdt.debug.gdbPicl
Running a DSTORE SERVER
Running a DSTORE DAEMON
Server: Installing/Running the Server/Daemon MANUALLY
If for some reason the scripts above failed to run the server/daemon, then try runnning the server/daemon manually.
The following assumes you downloaded the full CppPlugin. If you instead downloaded only the server version, then replace all references to /home/user/eclipse/plugins/ with /home/user/dstore/
Server: Installation
- Make sure that the following directories exist in your
plugins directory.
/home/user/eclipse/plugins/org.eclipse.cdt.dstore.extra.server
/home/user/eclipse/plugins/org.eclipse.cdt.dstore.core
/home/user/eclipse/plugins/org.eclipse.cdt.dstore.miners
/home/user/eclipse/plugins/org.eclipse.cdt.cpp.miners
/home/user/eclipse/plugins/org.eclipse.cdt.cpp.miners.parser
/home/user/eclipse/plugins/com.ibm.debug
/home/user/eclipse/plugins/org.eclipse.cdt.debug.gdbPicl
- Define the environment variable
A_PLUGIN_PATH as follows:
export A_PLUGIN_PATH=/home/user/eclipse/plugins
- Set your CLASSPATH as follows:
export CLASSPATH=/home/user/eclipse/plugins/org.eclipse.cdt.dstore.extra.server/
extra_server.jar:/home/user/eclipse/plugins/org.eclipse.cdt.dstore.core/dstore_c
ore.jar:/home/user/eclipse/plugins/org.eclipse.cdt.dstore.miners/dstore_miners.j
ar:/home/user/eclipse/plugins/org.eclipse.cdt.cpp.miners/cpp_miners.jar:/home/us
er/eclipse/plugins/org.eclipse.cdt.cpp.miners.parser/miners_parser.jar:$CLASSPATH
Running a DStore Server
- Change directory to
/home/user/eclipse/plugins/org.eclipse.cdt.dstore.core
- Type the following to start a DStore Server:
java -DA_PLUGIN_PATH=$A_PLUGIN_PATH org.eclipse.cdt.dstore.core.server.Server [port]
NOTE: By default the port is 4033.
Running a DStore Daemon
- Make sure that you are running as root. If the daemon is not run under root, it will be unable to authenticate connecting users.
- Type the following to start a DStore Daemon:
java -DA_PLUGIN_PATH=$A_PLUGIN_PATH org.eclipse.cdt.dstore.core.server.ServerLauncher
|