Difference between revisions of "Protege 5 Development Environment"

From Protege Wiki
Jump to: navigation, search
(Setting Up the Protege 4 Server Development Environment)
(Setting Up the Protege 4 Server Development Environment)
Line 10: Line 10:
 
Some of the following directions will seem a little strange because at the moment the server is started by starting the junits.  This will be fixed presently.
 
Some of the following directions will seem a little strange because at the moment the server is started by starting the junits.  This will be fixed presently.
 
If you are using eclipse this will become your eclipse project later. In the org.protege.owl.server.junit directory copy the junit.properties.template file to junit.properties and adjust the database connection properties as needed.  MySQL and PostGreSQL databases should work.  Now there are a couple of ant tasks that are available:
 
If you are using eclipse this will become your eclipse project later. In the org.protege.owl.server.junit directory copy the junit.properties.template file to junit.properties and adjust the database connection properties as needed.  MySQL and PostGreSQL databases should work.  Now there are a couple of ant tasks that are available:
 
+
<ul>
 +
<li><b>install</b> installs the Protege client and server in the subdirectory build/Protege.</li>
 +
<li><b>run.server</b> builds and runs the server.  As part of this target the install target is also built.</li>
 +
<li><b>debug.server</b> builds and runs the server with debugging turned on at port 8500.
 +
</ul>
  
 
== Setting up Eclipse ==
 
== Setting up Eclipse ==

Revision as of 12:32, June 22, 2010

Setting Up the Protege 4 Server Development Environment

Install From Svn and Server Startup

First checkout the development tree

     svn checkout http://smi-protege.stanford.edu/repos/protege/protege4/misc/society/protege.server

Some of the following directions will seem a little strange because at the moment the server is started by starting the junits. This will be fixed presently. If you are using eclipse this will become your eclipse project later. In the org.protege.owl.server.junit directory copy the junit.properties.template file to junit.properties and adjust the database connection properties as needed. MySQL and PostGreSQL databases should work. Now there are a couple of ant tasks that are available:

  • install installs the Protege client and server in the subdirectory build/Protege.
  • run.server builds and runs the server. As part of this target the install target is also built.
  • debug.server builds and runs the server with debugging turned on at port 8500.

Setting up Eclipse