Changes

Jump to navigation Jump to search
336 bytes added ,  15:35, 24 January 2019
no edit summary
* In the ''New Project'' dialog choose ''Empty Project'' from the left-hand column and click the ''Next'' button.
* Enter a name and location for your project.
* In the project view, create a new XQuery file, either by right-clicking on the project name and choosing ''New''→''XQuery File'' or by selecting ''New''→''XQuery File'' from the File menu. Enter a file name and click ''OK''.
* Type in your query.
* Click the green ''Run'' button below the IntelliJ IDEA menu bar.
** <code>Name = BaseX</code>
** <code>Implementation = BaseX</code> (should be preset!)
** <code>Implementation = BaseX</code>
** <code>JAR File = basex/BaseX.jar</code>
** <code>Hostname = localhost</code>
* The ''Query Processor'' dropdown box in the ''Run/Debug Configurations'' dialog should now also display "BaseX 9.1.1 (BaseX)". If not, select it from the dropdown box.
* Click ''Apply'' and then ''OK'' to close the ''Run/Debug Configurations'' dialog.
 * In the project view, create a new XQuery file, either by right-clicking on the project name and choosing ''New''→''XQuery File'' or by selecting ''New''→''XQuery File'' from the File menu. Enter a file name and click ''OK''.
* Type in your query.
* Click on the green ''RunAdd Configuration'' button below the IntelliJ IDEA menu baronce again.* In the ''Edit ConfigurationRun/Debug Configurations'' dialog choose one of click the two data source from {{Code|+}} button to create a new configuration based on a template.* Chose the dropdown box"XQuery" template you configured earlier.* Enter a name, either e.g. "BaseX" or into the ''Name'' field.* The query processor should be preset to "BaseX 9.1.1 (native embeddedBaseX)". If you select "BaseX"* In the ''Script File'' field enter the path to your query file.* Click ''Apply'' and then ''OK'' to close the ''Run/Debug Configurations'' dialog.* Now, make sure that BaseX is up and runningthe green ''Run'' button should be available below the IntelliJ IDEA menu bar.
* Click ''Run'' to execute your query.
administrator, editor
162

edits

Navigation menu