Changes

Jump to navigation Jump to search
1,308 bytes added ,  11:46, 11 February 2019
no edit summary
# Follow the instructions in the [https://www.oxygenxml.com/doc/versions/20.1/ug-editorEclipse/topics/install-eclipse.html oXygen Manual] to install the plugin.
# In Eclipse, click on the oXygen icon in the right upper corner to open the plugin. The XML Project you created during the installation of the plugin should be displayed in the ''Navigator'' panel. In this example, it is called ''BaseXProject''.
#:[[File:oxygen-eclipse-plugin.png]]
=Access Database Resources=
# Create a BaseX database, if necessary (see [[Databases]]).
# Start the BaseX [[WebDAV]] service.
 
===Configuration===
 
# In Eclipse, go to menu ''Eclipse'' → ''Preferences''. In the ''Preferences'' dialog, chose the ''oXygen XML Editor'' item, and then the ''Data Sources'' subitem.
# In the Connections panel (in the lower half of the screen), click the ''New'' button ({{Code|+}}).
# Enter "BaseX WebDAV" as connection name.
# Select "WebDAV (S)FTP" in the Data Source dropdown box.
# Fill in the appropriate connection details as follows:
#* Set the WebDAV/FTP URL to <code><nowiki>http://localhost:8984/webdav</nowiki></code>.
#* Set the user name to <code>admin</code>.
#* Set the password to <code>admin</code>.
#: [[File:oxygen-eclipse-plugin-webdav-connection.png]]
# Press ''OK'' to close the dialog.
# In the ''Preferences'' dialog, chose the ''oXygen XML Editor'' → ''Network Connection Settings'' → ''HTTP(S)/WebDAV'' subitem. Activate the ''Enable the HTTP/WebDAV protocols'' check box to enable WebDAV support.
# Click ''Apply and Close'' to close the ''Preferences'' dialog.
# If prompted, restart Eclipse to activate all changes.
 
You can then access your database file(s) via the Data Source Explorer: ''Windows'' → ''Show View'' → ''Data Source Explorer''.
 
[[File:Oxygen-WebDAV-2.png]]
 
=Perform Queries=
 
==One-Time Setup==
===Configuration===
#* Client/server: {{Code|net.xqj.basex.local.BaseXXQDataSource}}
# Click ''OK''.
#: [[File:oxygen-eclipse-plugin-data-source.png]]
administrator, editor
162

edits

Navigation menu