Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "XQDT/Installation"

Line 1: Line 1:
 
=== Requirements  ===
 
=== Requirements  ===
In order to install the latest version of XQDT, you simply need [http://www.eclipse.org/downloads/ Eclipse 3.6 Classic] (or superior).
+
 
 +
In order to install the latest version of XQDT, you simply need [http://www.eclipse.org/downloads/ Eclipse 3.6 Classic] (or superior).  
  
 
=== XQDT Installation  ===
 
=== XQDT Installation  ===
Open your Eclipse workspace, go to the Help menu and then click on  the "Install new software..." link.
 
The install popup should open. Click on the "Add" button to add the XQDT update site.
 
Update site URL: [http://download.eclipse.org/webtools/incubator/repository/xquery/milestones/ http://download.eclipse.org/webtools/incubator/repository/xquery/milestones/].
 
[[Image:Xqdt_repository.png‎]]
 
  
Select the "XQuery Development Tools Feature" item. In this tutorial, we want to run [http://www.zorba-xquery.com Zorba XQuery Processor], therefore we also select the "Zorba XQDT Adapter" feature.
+
Open your Eclipse workspace, go to the Help menu and then click on the "Install new software..." link. The install popup should open. Click on the "Add" button to add the XQDT update site. Update site URL: [http://download.eclipse.org/webtools/incubator/repository/xquery/milestones/ http://download.eclipse.org/webtools/incubator/repository/xquery/milestones/]. [[Image:Xqdt repository.png]]
 +
 
 +
Select the "XQuery Development Tools Feature" item. In this tutorial, we want to run [http://www.zorba-xquery.com Zorba XQuery Processor], therefore we also select the "Zorba XQDT Adapter" feature.
 +
 
 +
[[Image:Xqdt features.png]]
 +
 
 +
Click next. The selected features are displayed. Click next again. The next screen displays the licensing of XQDT which is [http://www.eclipse.org/legal/epl-v10.html EPL]. Review and accept the license agreement. Click finish.
 +
 
 +
Now, XQDT is being installed. You will be asked to restart Eclipse.  
  
[[Image:Xqdt_features.png]]
+
[[Image:Xqdt install.png]]  
  
Click next. The selected features are displayed. Click next again.
+
=== Setup an XQuery engine  ===
The next screen displays the licensing of XQDT which is [http://www.eclipse.org/legal/epl-v10.html EPL].
+
Review and accept the license agreement. Click finish.
+
  
Now, XQDT is being installed. You will be asked to restart Eclipse.
+
You now have XQDT installed. Last step before writing an XQuery project, you need configure an XQuery processor. We will use Zorba. Go to Preferences > XQuery > Interpreters. Click on the "Add..." button. In the popup menu, select "Zorba XQuery Engine" as interpreter type and set the path of your zorba executable.  
  
[[Image:Xqdt_install.png]]
+
[[Image:Xqdt zorba.png]]  
  
=== Setup an XQuery engine ===
+
Click OK.  
You now have XQDT installed. Last step before writing an XQuery project, you need configure an XQuery processor. We will use Zorba.
+
Go to Preferences > XQuery > Interpreters. Click on the "Add..." button.
+
In the popup menu, select "Zorba XQuery Engine" as interpreter type and set the path of your zorba executable.
+
  
[[Image:Xqdt_zorba.png]]
+
Congratulation! You are all set. You can create a new XQuery project and run it with Zorba.  
  
Click OK.
+
[[Image:Xqdt workspace.png]]
  
Congratulation! You are all set. You can create a new XQuery project and run it with Zorba.
+
=== Support for Other XQuery Processors  ===
  
[[Image:Xqdt_workspace.png]]
+
There are many resource available on the web on how to plug different XQuery Processors to XQDT:  
  
=== Support for Other XQuery Processors ===
+
*[[http://webspherecommunity.blogspot.com/2010/02/simple-xquery-execution-in-eclipse.html IBM WebSphere]]
 +
*[[http://developer.marklogic.com/learn/xqdt-setup Marklogic]]

Revision as of 08:38, 24 May 2011

Requirements

In order to install the latest version of XQDT, you simply need Eclipse 3.6 Classic (or superior).

XQDT Installation

Open your Eclipse workspace, go to the Help menu and then click on the "Install new software..." link. The install popup should open. Click on the "Add" button to add the XQDT update site. Update site URL: http://download.eclipse.org/webtools/incubator/repository/xquery/milestones/. Xqdt repository.png

Select the "XQuery Development Tools Feature" item. In this tutorial, we want to run Zorba XQuery Processor, therefore we also select the "Zorba XQDT Adapter" feature.

Xqdt features.png

Click next. The selected features are displayed. Click next again. The next screen displays the licensing of XQDT which is EPL. Review and accept the license agreement. Click finish.

Now, XQDT is being installed. You will be asked to restart Eclipse.

Xqdt install.png

Setup an XQuery engine

You now have XQDT installed. Last step before writing an XQuery project, you need configure an XQuery processor. We will use Zorba. Go to Preferences > XQuery > Interpreters. Click on the "Add..." button. In the popup menu, select "Zorba XQuery Engine" as interpreter type and set the path of your zorba executable.

Xqdt zorba.png

Click OK.

Congratulation! You are all set. You can create a new XQuery project and run it with Zorba.

Xqdt workspace.png

Support for Other XQuery Processors

There are many resource available on the web on how to plug different XQuery Processors to XQDT:

Back to the top