Difference between revisions of "WebProtegeDeveloperHowTo"

From Protege Wiki
Jump to: navigation, search
(incremental save of new work)
(incremental save of new work)
Line 4: Line 4:
  
 
== Checkout, compile, and run WebProtege using Eclipse ==
 
== Checkout, compile, and run WebProtege using Eclipse ==
 +
 +
Note that WebProtege uses the Google Web Toolkit (http://code.google.com/webtoolkit/) and these instructions assume that you have already installed GWT.
  
 
=== Checkout the source code ===
 
=== Checkout the source code ===
Line 13: Line 15:
 
# Click the Finish button.
 
# Click the Finish button.
 
# In the New Project dialog, select Java Project, and click Next.
 
# In the New Project dialog, select Java Project, and click Next.
# In the resulting New Java Project dialog, give the project a name and configure the rest of the options roughly as follows (project options can be changed later):
+
# In the resulting New Java Project dialog, give the project a name and configure the rest of the options roughly as follows (project options can be changed later):<br /><br />[[Image:WebProtege-new-java-project.jpg|none]]<br />
 +
# Click the Finish button.<br /><br />
 +
 
 +
At this point, Eclipse will check out the source code and create a new Java project for WebProtege.  Once the checkout is complete, you will notice that there are many compilation errors.  We will fix these later.  For now, '''close the Eclipse development environment''' and proceed with the next steps.

Revision as of 17:20, April 15, 2008

Jennifer & Tania's selp-help page for developing WebProtege :)

Checkout, compile, and run WebProtege using Eclipse

Note that WebProtege uses the Google Web Toolkit (http://code.google.com/webtoolkit/) and these instructions assume that you have already installed GWT.

Checkout the source code

  1. Open Eclipse and go to the SVN Respository Exploring perspective.
  2. Navigate to the top-level "web-protege-eclipse" directory in the Protege Subversion repository (URL for Protege's SVN is: http://smi-protege.stanford.edu/repos/protege).
  3. Right-click on web-protege-eclipse and choose Checkout...
  4. Choose the following options in the Checkout from SVN dialog:

    WebProtege-checkout-from-svn.jpg

  5. Click the Finish button.
  6. In the New Project dialog, select Java Project, and click Next.
  7. In the resulting New Java Project dialog, give the project a name and configure the rest of the options roughly as follows (project options can be changed later):

    WebProtege-new-java-project.jpg

  8. Click the Finish button.

At this point, Eclipse will check out the source code and create a new Java project for WebProtege. Once the checkout is complete, you will notice that there are many compilation errors. We will fix these later. For now, close the Eclipse development environment and proceed with the next steps.